# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.klai.studio/reference/actions-processor/actions_overview/assistantstop.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
