---
title: "Get Map Result"
method: GET
path: "/map/{jobId}"
tags: ["Map"]
---

# Get Map Result

`GET /map/{jobId}`

## Request

- Base URL: `https://api.anakin.io/v1`
- URL: `https://api.anakin.io/v1/map/{jobId}`
- Auth: API key in header `X-API-Key`

Fetch the status and results of a map job started by Map a Site's URLs.

## Path parameters

- `jobId` string, required

## Response `200`

Current job status and, once completed, the discovered links

- MapResult
  - `id` string: Job ID.
  - `url` string: The URL that was mapped.
  - `status` 'pending' | 'processing' | 'completed' | 'failed'
  - `links` string[]: Internal URLs discovered.
  - `totalLinks` integer: Count of internal URLs discovered.
  - `externalLinks` string[]: External URLs discovered (only when includeExternalLinks was true).
  - `totalExternalLinks` integer: Count of external URLs discovered.
  - `durationMs` integer: Mapping duration in milliseconds.
  - `error` string: Populated only when status is failed.

## Other responses

- `401`: Missing or invalid API key
- `404`: Unknown jobId

---

[API](https://skmtc.dev/anakin/apis/anakin-api.md) · [All operations](https://skmtc.dev/anakin/apis/anakin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anakin/apis/anakin-api/revisions/5eda91e679e5?raw)
