Skip to content
Documentation menu
docs / api / get-v1-jobs-id
Optimisation and jobs

GET/v1/jobs/{id}

Access and price

AuthAn API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Not metered: it draws no quota and no credit. Needs a full key; a browser (maps) key is refused.
PriceNot metered: no quota, no credit.

What it does

Read one job (quota-free).

An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Not metered: it draws no quota and no credit.

Call it

bash
curl -fsS -X GET "https://api.mapmap.ai/v1/jobs/{id}" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Parameters

NameInTypeRequiredDescription
idpathstringyesJob id from the submission's 202

Responses

200The job: status, and result inline once it is succeeded
FieldTypeRequiredDescription
created_atstringyesRFC 3339 UTC submission time.
errorstringnoWhy the job failed, once status is failed.
finished_atstringnoRFC 3339 UTC time the job finished, either way.
idstringyesOpaque job id (UUID v4), as returned by the submission.
kindstringyesoptimise, replan, matrix or coverage.
refundedbooleanyesWhether a failure refunded the submission's units and pence.
resultnot statednoThe answer, inline, once status is succeeded. Exactly the body the synchronous endpoint would have returned.
result_urlstringyesWhere to fetch this job (and its result), the same URL the webhook carries.
started_atstringnoRFC 3339 UTC time a worker picked the job up.
statusstringyesqueued, running, succeeded or failed.
units_chargedintegeryesMetered units the submission drew. Zero after a failure refund would be a lie, this is what was CHARGED, and refunded says whether it came back.
webhook_statusstringnodelivered or delivery_failed once a webhook was attempted.

Example: A response assembled from this schema's own field examples, enums, defaults and types; not a recorded call

json
{
  "created_at": "string",
  "id": "string",
  "kind": "string",
  "refunded": false,
  "result_url": "string",
  "status": "string",
  "units_charged": 0
}
401Missing or invalid API key. Also: No key, or a missing, malformed, unknown, revoked or expired one (unauthorized)

application/problem+json · Problem

403A browser (maps-scoped) key on a route that needs a full-scope key (scope-insufficient)

application/problem+json · Problem

404No such job for this caller; including a job that belongs to somebody else, and one whose result has passed its retention TTL

application/problem+json · Problem

504The request did not finish within the gateway's request deadline (request-timeout)

application/problem+json · Problem

Error bodies follow the shared problem model documented on API conventions.

Also under Optimisation and jobs

Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId get_job