> For the complete documentation index, see [llms.txt](https://docs.klai.studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.klai.studio/reference/actions-processor/actions_overview/assistantstop.md).

# assistantStop

`assistantStop` requests that an active assistants run stop.

## Expected Options

| Key                | Type     | Description                 |
| ------------------ | -------- | --------------------------- |
| `options.threadId` | `string` | Assistant thread identifier |
| `options.runId`    | `string` | Assistant run identifier    |

## Example

```json
{
  "action": "assistantStop",
  "options": {
    "threadId": "thread_123",
    "runId": "run_456"
  }
}
```

## Behavior Notes

* Both `threadId` and `runId` are required for a real stop request.
* When both values are present, BetterForms calls `stream/create/assistants/stop`.
* Missing or already-finished runs are handled gracefully.

## Related Pages

* [llmQueryStop](/reference/actions-processor/actions_overview/llmquerystop.md)
* [Klai Streaming API (Assistants)](/reference/apis-and-services/streaming-proxy/bf-streaming-assistants-api.md)
