Collection.exported
Emitted each time a Collection is exported.
Collection.export emits Collection.exported when it completes on a Collection.
| Property | Value |
|---|---|
| Emitted by | Collection.export |
| Noun | Collection |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what Collection.export returns.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Collection.exported. |
at | datetime | required | When it happened. |
seq | integer | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. | |
data | json | required | The Thing as the Action left it. |
data.file | File | The exported File, for a one-time export. | |
data.collection | Collection | required | The Collection exported. |
data.collection.id | string | required | The stable identifier, which never changes. |
data.collection.type | list of Noun | required | The Nouns this Thing is an instance of. |
data.collection.state | string | The current state in its lifecycle. | |
data.collection.outside | json | The ids this Thing has in outside tools, one per Integration, so a re-run matches instead of duplicating. | |
data.collection.query | json | The saved query that defines a dynamic Collection. |
Example
{
"$id": "https: //api.sb/ kilnbakery.com/ events/ event_1",
"$type": "Event",
"name": "Collection.exported",
"at": "2026-10-22T12: 00: 00Z",
"data": {
"file": {
"$id": "https: //api.sb/ kilnbakery.com/ files/ file_1",
"$type": "File",
"contentType": "Example content type",
"size": 1
},
"collection": {
"$id": "https: //api.sb/ kilnbakery.com/ collections/ collection_1",
"$type": "Collection",
"id": "Example id",
"type": [
"noun_1"
],
"state": "Example state",
"outside": {},
"query": {}
}
},
"seq": 1
}