Skip to main content
GET
获取智能体任务状态

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

jobId
string<uuid>
必填

Agent 任务的 ID

响应

200 - application/json

成功的响应

success
boolean
status
enum<string>
可用选项:
processing,
completed,
failed
data
object

提取的数据(仅在状态为 completed 时可用)

model
enum<string>
默认值:spark-1-pro

本次 Agent 运行所使用的模型预设

可用选项:
spark-1-pro,
spark-1-mini
error
string

错误信息(仅当状态为失败时出现)

expiresAt
string<date-time>
creditsUsed
number