Skip to content

Create an agent chat

POST
/api/v1/ai/chats
curl --request POST \
--url https://example.com/api/v1/ai/chats \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "connectionId": "example", "model": "example", "settings": "example", "title": "example" }'
Media typeapplication/json
object
connectionId
string
model
string
settings
string format: byte
title
string
Examplegenerated
{
"connectionId": "example",
"model": "example",
"settings": "example",
"title": "example"
}

Created

Problem Details (RFC 9457)

Media typeapplication/problem+json
object
code
required
string
detail
string
instance
string
status
required
integer
title
required
string
type
required
string
Examplegenerated
{
"code": "example",
"detail": "example",
"instance": "example",
"status": 1,
"title": "example",
"type": "example"
}