POST
/
threads

Body

application/json
externalId
string | null
projectId
number
required
projectName
string | null
messages
object[]
required
metadata
object
externalUser
any

Response

201 - application/json
id
number | null

Unique identifier for the thread

externalId
string | null

External thread ID

organizationId
number

ID of the organization to which the thread belongs

projectId
number | null
required

ID of the project to which the thread belongs

projectName
string | null

Name of the project to which the thread belongs

messages
object[]
required

Array of messages associated with the thread

externalUser
any
metadata
object

Metadata associated with the thread

createdAt
string

Date when the thread was created

updatedAt
string

Date when the thread was last updated