---
title: "Set Speed"
method: PUT
path: "/optimisation/speed"
tags: ["optimisation"]
---

# Set Speed

`PUT /optimisation/speed`

## 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/speed`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Request body

- SpeedIn: The most a candidate's p95 latency may be as a multiple of the current model's (1.00: no slower, up to 1.50: 50% slower), for the workspace (no `task_id`: its default) or one task in it; null clears it.
  - `workspace_id` string, uuid, required
  - `task_id` string, uuid, nullable
  - `max_p95_ratio` 1 | 1.1 | 1.25 | 1.5, nullable, required

## Response `200`

Successful Response

- SpeedSetting: The speed setting in force at a scope (`source`: its own row, the workspace's or the no-slower default) and who set that row, when.
  - `workspace_id` string, uuid, required
  - `task_id` string, uuid, nullable, required
  - `max_p95_ratio` number, required
  - `source` 'task' | 'workspace' | 'default', 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)
