Skip to content
Developer documentation

Send one bounded, tenant-scoped fleet batch

POST /v1/tracking/locations/batch · Authorization: Bearer

Send one bounded, tenant-scoped fleet batch

POST /v1/tracking/locations/batch · Authorization: Bearer

POST/v1/tracking/locations/batch

Send one bounded, tenant-scoped fleet batch

Ingests 1-100 telemetry events for one or more sessions owned by the authenticated tenant/key in one request. Each event keeps its own session_id and client_event_id. Quota admission is one atomic micro-transaction on the dedicated quota pool; durable storage of all admitted events is one database transaction. A quota/revocation rejection debits nothing. A storage failure rolls back every event row, but an already-committed quota admission is a rate-limit event, not a billing charge. Per-event validation/ownership failures are returned in results while valid sibling events commit (partial per-event success, atomic storage failure). Requires tracking:write.

Credential
Authorization: Bearer
Plane
https://api.bardiyamap.com
Operation id
sendFleetBatch

Parameters

This operation takes no parameters.

Request body

application/json · required

FieldTypeRequiredNotes
eventsTrackingFleetBatchEvent[]yes
json
{
  "events": []
}
Minimal valid body

Request example

shell
curl -X POST "https://api.bardiyamap.com/v1/tracking/locations/batch" \
  -H "Authorization: Bearer $BARDIYA_TRACKING_KEY" \
  -H "Content-Type: application/json" \
  --data '{"events":[]}'

Response 200 · TrackingFleetBatchIngestResponse

FieldTypeRequiredNotes
accepted_countintegeryes
duplicate_countintegeryes
history_written_countintegeryes
rejected_countintegeryes
resultsTrackingFleetBatchEventResult[]yes

Errors

StatusMeaning
401Authentication failed
403Required scope is missing
404Resource not found or is not visible to this tenant
409Conflict or idempotency error
422Validation Error
503Public transport is temporarily unavailable

Error bodies use the shared envelope documented in Errors: { "error": { "code", "message", "details", "request_id" } }.

POST /v1/tracking/locations/batch is part of the Tracking group. Values on this page are generated from contract version 1.1.0.