Send one bounded, tenant-scoped fleet batch
POST /v1/tracking/locations/batch · Authorization: Bearer
/v1/tracking/locations/batchSend 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
| Field | Type | Required | Notes |
|---|---|---|---|
events | TrackingFleetBatchEvent[] | yes |
{
"events": []
}Request example
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
| Field | Type | Required | Notes |
|---|---|---|---|
accepted_count | integer | yes | |
duplicate_count | integer | yes | |
history_written_count | integer | yes | |
rejected_count | integer | yes | |
results | TrackingFleetBatchEventResult[] | yes |
Errors
| Status | Meaning |
|---|---|
401 | Authentication failed |
403 | Required scope is missing |
404 | Resource not found or is not visible to this tenant |
409 | Conflict or idempotency error |
422 | Validation Error |
503 | Public 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.
