FeedSubscription
object type
Delivery is pull only v1: list runs via feedSubscriptionRuns, then mint a short-lived presigned download with mintFeedRunDownload — the BI tool authenticates as its OWN ApiKey session and there are zero stored credentials (the presigned ticket IS the custody; a push feed-ready event is a named growth). The per-org weld: organizationId names the ONE exported org (in-group live-gated); org-parented dataset rows filter to it, group-parented catalog masters (Style/Product) export whole — the shared catalog IS each org's catalog. Group-parented (parentId === rootId); born active with nextDueAt = the birth instant (the next hourly tick runs it); at most 10 active feeds per group (the webhook cap class); 5 consecutive failed runs fire the automatic active → suspended flip; reactivate serves both inactive → active and suspended → active (fix the feed via update, then reactivate; no catch-up runs — the next run is the next cadence step). Runs prune to the newest 8 per feed (bounded custody). Owner-gated end to end (the mintApiKey posture — data-OUT is exfiltration-adjacent); NOT searchable (integration config — reached via the owner-gated list).
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The human-readable id, shaped like FD-… — stable for the record’s life. |
type | String String! | The kind of record — always FeedSubscription here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The record’s current state — one of active, inactive, suspended or doomed. |
parentId | ID ID! | The parent = the org group; parentId === rootId always. |
rootId | ID ID! | The id of your organization group — every record of yours carries the same one. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID ID! | The id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten. |
refCaptions | RefCaption [RefCaption!]! | The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption. |
organizationId | ID ID! | The per-org weld: the ONE org this feed exports — must be an in-group live Organization (gated at create AND edit); org-parented dataset rows filter to it; group-parented catalog masters export whole (the shared catalog IS each org’s catalog). |
dataset | String String! | What exports — one canned construct type. Mutable (routing, not authority). |
cadence | String String! | How often — daily · weekly · monthly. nextDueAt steps by the cadence from each RUN instant (a late run does not compound); a cadence edit applies from the next run (the stored due stands). |
format | String String! | The file serialization — jsonl (one stored record per line, storage attrs stripped; lossless, the default posture) or csv (the flat scalar fields, header = the union; nested fields omitted — the disclosed lossy trade for flat masters). |
nextDueAt | String String! | When the next run is due (stored — the hourly sweeper compares against it, never re-derives from history; birth = the create instant, so the first tick runs it). |
lastRunAt | String | The last successful run’s instant (null until the first success). |
lastRunKey | String | The last successful run’s object key under the group’s feeds/ prefix (the newest pull coordinate; feedSubscriptionRuns lists the retained window). |
consecutiveFailures | Int Int! | Consecutive failed runs (the exporter’s counter — reset by the first success after failures). At 5 the automatic suspend fires. |
lastFailureAt | String | The last failed run’s instant (failure-path-only; stands as history after recovery until the next failure overwrites). |
lastFailureCode | String | The last failure’s short named token (rows_over_cap · serialize_fault · s3_fault); never row data. |
suspendedAt | String | Stamped by the automatic suspend flip; cleared by reactivate. |