Skip to content

Collection.export

POST /{namespace}/collections/{collection}/export

Export writes a Collection’s records to a file or the Startup’s warehouse, once or on a schedule.

Mode
do
Event
Collection.exported

Inputs

InputTypeRequiredDescription
collectionCollectionrequiredThe Collection to export.
tostringrequiredA file format, or the warehouse Integration that receives it.
cadencestringHow often it repeats; omitted, it runs once.

Outputs

OutputTypeRequiredDescription
fileFileThe exported File, for a one-time export.
collectionCollectionrequiredThe Collection exported.

Effects

  • Emits Collection.exported.
  • Performed by the Data Engineer.
  • Two-way: it runs at once, in the try, send and do modes.
  • Masks fields the caller’s Permissions hide.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Collection.export

When it waits

GateDefault
Decision classLow: two-way, nothing at stake
Delay windowNone: it runs once review passes.
LimitThe call Limit of the Permission it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.