跳转到主要内容
GET
/
agent
/
{jobId}
获取智能体任务状态
curl --request GET \
  --url https://api.firecrawl.dev/v2/agent/{jobId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "status": "processing",
  "data": {},
  "error": "<string>",
  "expiresAt": "2023-11-07T05:31:56Z",
  "creditsUsed": 123
}

授权

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 时可用)

error
string

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

expiresAt
string<date-time>
creditsUsed
number