Skip to main content
POST
Create thread

Authorizations

Authorization
string
header
required

An API key created in Capy under Settings → API.

Body

application/json
requestId
string
required
Required string length: 1 - 191
projectId
string
required
message
string
required
title
string
model
object
machineSize
enum<string>
Available options:
small,
medium,
large,
ultra,
hyper,
bigguy

Response

Thread

id
string
required
projectId
string | null
required
title
string | null
required
titleCustom
boolean
required
status
enum<string>
required
Available options:
active,
waiting,
pending_user,
error,
ready_for_review,
idle,
archived
archived
boolean
required
lastModelId
string | null
required
usage
object
required
createdAt
string
required
updatedAt
string
required
lastActivityAt
string | null
required