Openapi
Streams small authorized selections immediately and queues larger selections as expiring private artifacts.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidapplication/jsonfileName*string1 <= length <= 240idempotencyKey*string1 <= length <= 200nodeIds*array<>1 <= items <= 200Returns an asynchronous ZIP job when the direct streaming threshold is exceeded. Small selections return application/zip.
application/jsoncompletedItems*integer0 <= valuedeliveryMode*string"direct""async"downloadUrl*|urierrorMessage*string|nullexpiresAt*string|nullfileName*stringid*stringuuidorganizationId*organizationIdSchemauuidstatus*string"queued""processing""ready""failed""expired"totalBytes*integer0 <= valuetotalItems*integer0 <= valuecurl -X POST 'https://app.localhost/api/v1/organizations/123/files/zip-exports' \ -H 'Content-Type: application/json' \ -d '{ "fileName": "string", "idempotencyKey": "string", "nodeIds": [ "1fec5c47-ed9e-48d9-bbf0-25eb7569ebe8" ]}'{ "completedItems": 0, "deliveryMode": "direct", "downloadUrl": "http://example.com", "errorMessage": "string", "expiresAt": "string", "fileName": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "status": "queued", "totalBytes": 0, "totalItems": 0}