GET Get Map Result

Poll for map job status and retrieve discovered URLs

GEThttps://api.anakin.io/v1/map/{id}

Retrieve the status and results of a map job. Use this to poll for completion after submitting a map request.


Path Parameters

ParameterTypeDescription
id requiredstringThe job ID returned from the submit endpoint

Response

200 OK
{
  "id": "job_abc123xyz",
  "status": "completed",
  "url": "https://example.com",
  "links": [
    "https://example.com/about",
    "https://example.com/blog",
    "https://example.com/blog/post-1",
    "https://example.com/contact",
    "https://example.com/pricing"
  ],
  "totalLinks": 5,
  "createdAt": "2024-01-01T12:00:00Z",
  "completedAt": "2024-01-01T12:00:03Z",
  "durationMs": 3000
}

Response Fields

FieldTypeDescription
statusstringpending, processing, completed, or failed
urlstringThe original URL submitted for discovery
linksstring[]Array of discovered URLs. Only present when completed.
totalLinksnumberTotal count of discovered URLs.
errorstringError message. Only present when failed.
durationMsnumberProcessing time in milliseconds.

Code Examples

curl -X GET https://api.anakin.io/v1/map/job_abc123xyz \
  -H "X-API-Key: your_api_key"

For polling patterns, see the Polling Jobs reference.