Get where the project's record is delivered, and how far it has got

Never with the store's secret, which cannot be read back.

GET/v1/records/delivery

Never with the store's secret, which cannot be read back.

A key with the permissions:records scope.

Request

curl "https://api.pod.mapier.ai/v1/records/delivery?project=example" \
  -H "Authorization: Bearer $POD_API_KEY"

Parameters

NameInTypeRequiredWhat it is
projectquerystringYesThe project the call is about. Every route is scoped to one.
Pod-OrganisationheaderstringNoThe organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden.

Answer

200. The delivery.

200
{
  "store": {
    "kind": "s3",
    "endpoint": "https://app.example.com",
    "region": "example",
    "bucket": "example",
    "prefix": "example",
    "path_style": false,
    "access_key_id": "example"
  },
  "format": "ocsf",
  "lock_days": null,
  "series": "example",
  "from": "2026-11-23T12:00:00.000Z",
  "delivered_through": "2026-11-23T12:00:00.000Z",
  "files": 0,
  "last_manifest": null,
  "state": "delivering",
  "failures": 0,
  "last_error": null,
  "next_try_at": null,
  "window_seconds": 1,
  "created_at": "2026-11-23T12:00:00.000Z",
  "created_by": "example",
  "updated_at": "2026-11-23T12:00:00.000Z",
  "updated_by": "example"
}
FieldTypeAlwaysWhat it is
storeRecordStoreYesA bucket of the customer's, reached over the S3 API: AWS S3, Google Cloud Storage's XML API with HMAC keys, or any store that speaks it. Reached over HTTPS only, and only at public addresses.
format"ocsf" | "otlp"Yesocsf: OCSF events as JSON lines. otlp: OpenTelemetry log records as OTLP JSON.
lock_daysinteger | nullYes
seriesstringYesThe folder of the bucket this series of files goes under.
fromstringYesRFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z.
delivered_throughstringYesThe end of the last window delivered.
filesintegerYesManifests delivered in this series. At least 0.
last_manifeststring | nullYes
state"delivering" | "failing"Yes
failuresintegerYesAt least 0.
last_errorstring | nullYes
next_try_atstring | nullYes
window_secondsintegerYesAt least 1.
created_atstringYesRFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z.
created_bystringYesWho made a change. An identity account id for a person, or a key id (key_…) for an API key.
updated_atstringYesRFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z.
updated_bystringYesWho made a change. An identity account id for a person, or a key id (key_…) for an API key.

Errors

The refusals this call is known for: unauthorized, forbidden, not_found. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.