Skip to main content
POST
Complete the upload (assemble + create the campaign)

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

upload_id
string
required

Body

application/json
campaign_name
string | null

Optional display name for the created campaign.

Response

The campaign created over the uploaded dataset (health already computing).

campaign_id
string
Example:

"camp_1f2e3d4c5b6a"