Skip to content
Documentation menu
docs / api / post-v1-probe
Feedback and map issues

POST/v1/probe

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

Probe ingest endpoint. Consent-gated, aggregate-only, metered as a free contribution.

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 POST "https://api.mapmap.ai/v1/probe" \
  -H "Authorization: Bearer $MAPMAP_KEY" \
  -H "Content-Type: application/json" \
  -d @request.json

Request body

application/json

A gzipped-or-plain JSON probe batch (probe_format: 1): per-segment aggregates, coarse events, and an optional ~5 km geohash origin/destination record. Never a trajectory.

The OpenAPI document declares this body as a free-form JSON object with no field list, so there is nothing here to generate a table from. The prose above is what the gateway states about it; the raw document is the authority.

Responses

202Batch accepted and appended to the probe store
FieldTypeRequiredDescription
acceptedbooleannoAlways true on a 202.
eventsintegernoEvents stored.
segmentsintegernoSegment aggregates stored.
segments_below_floorintegernoSegment aggregates dropped for carrying too few observations.

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

json
{
  "accepted": false,
  "events": 0,
  "segments": 0,
  "segments_below_floor": 0
}
400Malformed batch, wrong probe_format, or a raw-coordinate-looking OD cell

application/problem+json · Problem

401Missing or invalid API key. Also: No key, or a missing, malformed, unknown, revoked or expired one (unauthorized)

application/problem+json · Problem

403The key is not opted in to probe contribution. Also: A browser (maps-scoped) key on a route that needs a full-scope key (scope-insufficient)

application/problem+json · Problem

413The request declares a body larger than 1048576 bytes (plain text, not problem+json)

text/plain

501Probe collection is not enabled (SN_PROBE_DIR unset)

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 Feedback and map issues

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