Start a GRPO run
Start an online-RL run with a validated reward and hard budgets. Requires an owner/admin key. Refusals are explicit: unaligned or drift-flagged reward judges, a prompt population below the floor, missing platform-GPU configuration, or insufficient balance. The reward budget is enforced ledger-true: the reward server refuses scoring calls past it.
Authorizations
Your workspace API key, e.g. sk_sovereign_..., sent as Authorization: Bearer <key>.
Body
This body is camelCase (promptCount, rewardBudgetUsd), unlike the snake_case loop endpoints. Types and presence are validated at the route; numeric bounds live in the shared service, the same source of truth the dashboard uses.
The validated reward. Agentic runs (environment set) require a trace-unit aligned criterion.
The base model to train.
How many logged prompts feed the run.
x >= 1Hard ceiling on judge/reward spend. The reward server refuses scoring calls past it (ledger-true kill switch).
Wall-clock GPU budget, enforced by the orchestrator.
Sample training prompts from traffic with this tag.
Completions sampled per prompt per step (the G in GRPO).
Train on the workspace's GRPO-candidate queue (prompts offline RAFT gave up on) instead of a tag sample.
Platform-provisioned GPU: rate and markup are frozen at start and billed hourly while ACTIVE. Omit for a BYO-GPU run (no GPU billing).
Agentic runs: permit calls to tools not declared read-only. Default false.
Agentic mode: run episodes against the declared tool environment (see /v1/env/tools).
vLLM colocated rollouts. Forced on for agentic runs.
QLoRA 4-bit training.
Parameter-count override for models whose name doesn't carry it.
The platform provisions the GPU box (auto-sized). Refused when platform provisioning isn't configured.
Candidate-queue runs: fraction of the training slice drawn from regular successful traffic.
0 <= x <= 0.9Holdout size for the bake-off; use 50+ for a real claim.
Per-rollout generated-token budget. Agentic default 8192; single-turn 1024.
Task objects: {goal, image?, recorded?, verifier?: [{command, timeout_sec}]}. Max 10000. The unit of agentic work; benchmark suites import here.
10000Opt-in per run: an "improved" bake-off verdict triggers deploy, then a canary on this alias under the online gate.
Response
Started. The run id appears in GET /v1/grpo/runs.
Internal orchestration handle.