cURL
curl --request GET \ --url https://api.firecrawl.dev/v2/agent/{jobId} \ --header 'Authorization: Bearer <token>'
{ "success": true, "status": "processing", "data": {}, "model": "spark-1-pro", "error": "<string>", "expiresAt": "2023-11-07T05:31:56Z", "creditsUsed": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Agent 任务的 ID
成功的响应
processing
completed
failed
提取的数据(仅在状态为 completed 时可用)
本次 Agent 运行所使用的模型预设
spark-1-pro
spark-1-mini
错误信息(仅当状态为失败时出现)