---
title: "Steer a thread's active turn"
description: Injects user input mid-turn.
api_method: POST
api_path: "/v1/agent-runs/{runId}/threads/{threadId}/steer"
canonical_url: https://wiblo.app/docs/developers/api/agent-threads/steer-agent-thread
last_updated: 2026-07-28T17:31:44+02:00
md_url: https://wiblo.app/docs/developers/api/agent-threads/steer-agent-thread.md
---

# Steer a thread's active turn

`POST /v1/agent-runs/{runId}/threads/{threadId}/steer`

Injects user input mid-turn. Provider-native where supported; when the provider can't steer the message is queued for the next turn and surfaced as a `system.notice` event. Acknowledges command acceptance only (`steered` / `queued`); final state arrives through the event stream. Per-user rate-limited at 30/60s.

## Path parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `runId` | `string` | Yes |  |
| `threadId` | `string` | Yes |  |

## Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | `CreateAgentRunMessage` | Yes |  |

### The CreateAgentRunMessage object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | No |  |
| `content` | `array<AgentUserContent>` | Yes |  |

## Request

**curl**

```bash
curl https://api.wiblo.app/v1/agent-runs/{runId}/threads/{threadId}/steer \
  -X POST \
  -H "Authorization: Bearer $WIBLO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "message": {
    "content": []
  }
}'
```

**TypeScript**

```ts
import { createSdk, steerAgentThread } from "@workspace/sdk"

const sdk = createSdk({ baseUrl: "https://api.wiblo.app" })

const { data, error } = await steerAgentThread({
  client: sdk,
  path: { runId: "...", threadId: "..." },
  body: {
    "message": {
      "content": []
    }
  },
})
```

## Responses

**`200`** — The steer message was accepted (applied or queued). Returns `SteerThreadResponse`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `threadId` | `string` | Yes |  |
| `status` | `"steered" \| "queued"` | Yes |  |

**`400`** — Request body failed Zod validation (`VALIDATION_FAILED`). Returns `ApiErrorEnvelope`.

**`401`** — No valid session cookie or `wbl_*` bearer was present. Returns `ApiErrorEnvelope`.

**`404`** — No thread visible to the caller with this id in this run (`AGENT_THREAD_NOT_FOUND`). Returns `ApiErrorEnvelope`.

**`422`** — Path param failed UUID validation (`INVALID_PARAMS`). Returns `ApiErrorEnvelope`.

**`429`** — Rate limit exceeded. The body's `error.code` is `RATE_LIMITED` and `error.details.retry_after` is the same number of seconds as the `Retry-After` header. Returns `ApiErrorEnvelope`.
