POST
/
api
/
v0
/
threads
{
  "name": "string"
}
{
  "thread_id": 123,
  "name": "string",
  "created_at": "string",
  "updated_at": "string"
}

Create a thread

Creates a new thread with the given name.

Request Body

This endpoint requires a request body.

{
  "name": "string"
}

Response

data
object

The response data for this endpoint.

{
  "thread_id": 123,
  "name": "string",
  "created_at": "string",
  "updated_at": "string"
}