Creates a new AI thread.
| Permission | Description |
|---|---|
ai_threads.create | Create new threads |
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| title | string | No | Optional title for the thread | "My Thread" |
{
"title": "My Thread",
}
Returns the created AI thread resource.
{ /* ai thread resource */ }
For a full schema, see AI Thread Resource.
| Status | Description | Reference |
|---|---|---|
| 422 | Validation error | Validation error |
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden (no permission) | Permission error |