---
title: "Create a new thread"
method: POST
path: "/v1/threads"
---

# Create a new thread

`POST /v1/threads`

## Request

- Base URL: `https://api.runbear.io`
- URL: `https://api.runbear.io/v1/threads`
- Auth: HTTP bearer

Create a new conversation thread for the specified assistant

## Request body

- CreateThreadRequest
  - `assistant_id` string, uuid, required: Unique identifier of the assistant

## Response `200`

Default Response

- CreateThreadResponse
  - `thread` object, required
    - `id` string, uuid, required: Unique identifier of the thread

## Other responses

- `404`: Default Response
- `429`: Rate limit exceeded for this organization and agent. Retry after the number of seconds in the `Retry-After` header. Every response — not only a 429 — carries `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset`.

---

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