---
title: "Target steering or an interrupt to this Run [write]"
method: POST
path: "/runs/{id}/events"
---

# Target steering or an interrupt to this Run \[write\]

`POST /runs/{id}/events`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/runs/{id}/events`
- Auth: HTTP bearer

For a Run of a catalog handle, one `user.message` starts the next turn of the Run's session as a new Run and is answered with `{ run_id, status }` naming that new Run (also in `Location`); it follows the idempotency rules of starting a Run, and is refused with 409 `session_busy` while a turn of the session is still going and 409 `session_archived` once the session has ended. One `user.interrupt` stops this Run's turn and is answered with `{ run_id, status }` for this Run; a Run that has already ended is answered with the status it ended in. A system message is not accepted.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `events` union[], required
    - union
      - object
        - `type` 'user.message', required
        - `content` union[], required
          - union
            - object
              - …
            - object
              - …
            - object
              - …
        - `interaction_mode` 'plan' | 'build', nullable
      - object
        - `type` 'system.message', required
        - `content` object[], required
          - `type` 'text', required
          - `text` string, required
      - object
        - `type` 'user.interrupt', required

## Response `202`

Control admitted; runtime confirmation is separate

## Other responses

- `409`: Run is terminal or input conflicts
- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/runs/:id/events/post.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
