APIAgent
GET /v1/agent/job/{id}
Get the status and result of an agent run
Returns status and result of a single agent run by ID.
https://api.webcrawlerapi.com/v1/agent/job/{id}Format: JSON
Method: GET
Path Parameters
id- (required) Agent run ID returned by POST /v1/agent.
curl example
curl --request GET \
--url https://api.webcrawlerapi.com/v1/agent/job/ar_abc123 \
--header 'Authorization: Bearer <YOUR_API_KEY>'Response
{
"id": "ar_abc123",
"status": "done",
"prompt": "Extract product names, prices, and descriptions",
"model": "google/gemini-3.1-flash-lite-preview",
"urls": ["https://example.com/products"],
"max_spend_usd": 0.5,
"balance_used_usd": 0.03,
"data": [
{
"name": "Widget Pro",
"price": 29.99,
"description": "A high-quality widget"
}
],
"success": true,
"created_at": "2025-01-01T00:00:00Z",
"updated_at": "2025-01-01T00:01:30Z"
}Response fields
id— unique identifier of the agent runstatus—queued,processing,done, orfailedprompt— prompt from the original requestmodel— LLM model usedurls— seed URLs providedmax_spend_usd— spending cap set for this runbalance_used_usd— actual amount spentdata— extracted result data (present whenstatusisdone)success—truewhen run completed with non-empty dataerror— error message if run failederror_reason— machine-readable error reasontrace— agent reasoning trace (if available)llm_requests— list of individual LLM calls made during the runcreated_at— ISO 8601 timestampupdated_at— ISO 8601 timestamp
Error Responses
401 Unauthorized- Invalid or missing API key404 Not Found- Run not found or does not belong to your organization500 Internal Server Error- Server-side error