Skip to main content
POST
/
api
/
v1
/
training
/
runs
Create Dedicated Run
curl --request POST \
  --url https://api.primeintellect.ai/api/v1/training/runs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "config": {},
  "imageTag": "main",
  "name": "<string>",
  "teamId": "<string>",
  "wandbApiKey": "<string>",
  "hfToken": "<string>"
}
'
{
  "runId": "<string>",
  "jobId": "<string>",
  "tokenValue": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.primeintellect.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
config
Config · object
required

Full prime-rl-style TOML, parsed to a dict. Same shape as prime-rl/examples/*/rl.toml; the platform splits it into trainer / orchestrator / inference subconfigs and bakes each into the corresponding pod's startup command.

imageTag
string
default:main

prime-rl container image tag

name
string | null

Optional human-readable run name

teamId
string | null

Owning team (defaults to caller's user)

wandbApiKey
string | null

W&B key. Materialised into the run's k8s Secret only — never stored on the RFTRun row.

hfToken
string | null

HF token for gated/private model downloads.

Response

Successful Response

runId
string
required
jobId
string
required
tokenValue
string
required

PRIME_API_KEY for this run. Returned once — the platform stores only the token id.