---
title: "Set Task Rl"
method: PUT
path: "/optimisation/tasks/{task_id}/rl"
tags: ["optimisation"]
---

# Set Task Rl

`PUT /optimisation/tasks/{task_id}/rl`

## Request

- Base URL: `https://api.os3robotics.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.os3robotics.com/optimisation/tasks/{task_id}/rl`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Set the task's verifier and GRPO budget in the workspace, or clear them: an owner or
admin. The task set must hold held-out test tasks.

## Path parameters

- `task_id` string, uuid, required

## Request body

- TaskRlIn: The task's verifier in the workspace: a sealed RL task set of the workspace whose held-out test tasks decide the task's trained specialists and whose train tasks reinforcement fine-tuning trains them on after supervised fine-tuning; and the H100-hours each GRPO run of the task may take (none: no GRPO, reinforcement fine-tuning only). `dataset_version_id` null clears it. `train_dataset_version_id`: the RL runs' training set instead of the verifier's train tasks, a composite of RL task sets that keeps the verifier as a source marked solved at a stated solved_share (POST /datasets/{id}/versions), so RL on new tasks keeps the ones it solves.
  - `workspace_id` string, uuid, required
  - `dataset_version_id` string, uuid, nullable, required
  - `grpo_h100_hours` union
    - number
    - string
  - `train_dataset_version_id` string, uuid, nullable

## Response `200`

Successful Response

- TaskRl: The task's verifier in the workspace, its GRPO budget per run and its RL training set (null: the verifier's train tasks), and who set them, when (all null without one).
  - `workspace_id` string, uuid, required
  - `task_id` string, uuid, required
  - `dataset_version_id` string, uuid, nullable, required
  - `grpo_h100_hours` number, nullable, required
  - `train_dataset_version_id` string, uuid, nullable, required
  - `set_by` string, nullable, required
  - `set_at` string, date-time, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/os3robotics/apis/os3-api.md) - [All operations](https://skmtc.dev/os3robotics/apis/os3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/os3robotics/apis/os3-api/revisions/af32cd4f14bb?raw)
