stop grpo run
stop_grpo_runStop an active GRPO run immediately to halt unexpected spending and release its wallet hold. Use when results or costs diverge from expectations.
Instructions
Stop an ACTIVE online-RL (GRPO) run and release its wallet hold immediately — use it to cut a run short when spend or results aren't what you expected. POST /v1/grpo/runs/{id}/stop (API-key scope: platform:write). Returns: 200 { ok: true }. The run flips to STOPPED; the reward server refuses further scoring and the orchestrator exits on its next sweep. Notes: Idempotency: a run that is not ACTIVE (already stopped/completed) or not in the workspace returns 404 'Run not found or not active'. Money: the commitment hold is released right away; already-metered spend stays billed. Feature-flag gated (fineTuning flag off → 404). OWNER/ADMIN key required (403). No body is read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The GRPO run id. Must be ACTIVE and belong to the workspace. |