QVeris
运行任务
文档目录

ExecuteResponse

Response from the Execute Tool API.

属性

billing?

optional billing?: CompactBillingStatement

Structured pre-settlement billing statement when available

cost?

optional cost?: number

Legacy fallback estimate; use usage audit or credits ledger for final charge

created_at?

optional created_at?: string

Timestamp of execution (ISO 8601 format)

elapsed_time_ms?

optional elapsed_time_ms?: number

Execution duration in milliseconds (alternative field)

error_message?

optional error_message?: string | null

Error message if execution failed. Common reasons: insufficient balance, quota exceeded, invalid parameters.

execution_id

execution_id: string

Unique identifier for this execution record

execution_time?

optional execution_time?: number

Execution duration in seconds

parameters?

optional parameters?: Record<string, unknown>

The parameters that were passed to the tool

pre_settlement_bill?

optional pre_settlement_bill?: Record<string, unknown>

Legacy/full pre-settlement bill snapshot when returned directly

remaining_credits?

optional remaining_credits?: number

User's remaining credits after this execution

result?

optional result?: ExecuteResult

The execution result. Contains either data (if within size limit) or truncation info.

success

success: boolean

Whether the execution completed successfully

tool_id?

optional tool_id?: string

The tool that was executed


这个页面对你有帮助吗?