GET Get Job Status

Poll for status and retrieve results for a Holocron task

GEThttps://api.anakin.io/v1/holocron/jobs/{id}

Retrieve the status and results of a Holocron task. Poll this endpoint until the job reaches completed or failed. See the Polling Jobs guide for recommended patterns.


Path Parameters

ParameterTypeDescription
id requiredstringThe job ID returned from POST /v1/holocron/task

Response — Processing

200 OK
{
  "status": "processing"
}

Response — Completed

200 OK
{
  "status": "completed",
  "data": {
    "name": "Jane Doe",
    "headline": "Software Engineer at Acme Corp",
    "location": "San Francisco, CA",
    "connections": 500
  },
  "credits_used": 2,
  "execution_ms": 8420
}

Response — Failed

200 OK
{
  "status": "failed",
  "error": {
    "code": "EXECUTION_FAILED",
    "message": "The target page could not be loaded."
  },
  "credits_used": 0
}

Response Fields

FieldTypeDescription
statusstringprocessing, completed, or failed
dataobjectStructured result data (present when completed)
credits_usednumberCredits charged for this job. 0 on failure (credits are refunded)
execution_msnumberTotal execution time in milliseconds
errorobjectError details (present when failed)

Job Statuses

StatusDescription
processingJob is queued or actively running
completedJob finished successfully — data is populated
failedJob encountered an error — credits were refunded

Code Examples

curl https://api.anakin.io/v1/holocron/jobs/7c3f1a2b-4d5e-6f7a-8b9c-0d1e2f3a4b5c \
  -H "X-API-Key: your_api_key"

For polling patterns, see the Polling Jobs reference.