Skip to main content
POST
Create a campaign from a Hugging Face dataset

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.

Body

application/json
repo_id
string
required

Hugging Face dataset repo id (namespace/name).

Example:

"youruser/robot-dataset"

engine
string
required

Augmentation engine id (embodiment + pipeline).

Response

Campaign created

campaign_id
string
Example:

"camp_1f2e3d4c5b6a"