İçeriğe geç

/v1/exports (POST)

POST
/v1/exports
curl --request POST \
--url https://api.reindeer.example.tr/v1/exports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "partitions": [ "example" ], "from_day": "2026-04-15", "to_day": "2026-04-15" }'

Scope exports:create. An export waits for an approver when it names no partition and no day, when it holds more records than limits.large_export, when the principal’s unapproved exports of the last 24 hours plus this one pass that limit, or when the unapproved exports of all principals of the last 24 hours plus this one pass limits.tenant_export or half of the live corpus. The decision is made from what the export covers, not from the shape of the filter.

Idempotency-Key
string
<= 255 characters
Media typeapplication/json
object
partitions
Array<string>
from_day
string format: date
to_day
string format: date

Example generated

{
"partitions": [
"example"
],
"from_day": "2026-04-15",
"to_day": "2026-04-15"
}

Ready

Awaiting approval