Skip to main content
POST
Deliver the kept episodes (THE billing gate)

Authorizations

Authorization
string
header
required

Either a Supabase user access token (from a password login, or the passwordless magic-link flow) or a long-lived forge_sk_… API key. Both are sent as Authorization: Bearer <value> and resolve to the same owner, so every endpoint accepts either. Session tokens expire in ~1h; API keys do not expire and are the credential for MCP clients, CI, and partner integrations.

Path Parameters

campaign_id
string
required

Body

application/json
target_repo
string | null

Optional Hugging Face repo (namespace/name) to publish to. Omit (or send empty) to only export server-side for the tar.gz download.

Example:

"your-org/augmented-dataset"

Response

Delivery started (billing already settled). billed_episodes is how many episodes THIS call billed, 0 when everything entering the export was already paid for on an earlier delivery (or for the free local dev tenant).

status
string
Example:

"exporting"

target_repo
string | null
billed_episodes
integer

Episodes newly billed by this delivery (1 credit each).