Skip to main content
POST
/
api
/
v1
/
agent
/
chat
Agent Chat
curl --request POST \
  --url https://api.example.com/api/v1/agent/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "thread_id": "<string>",
  "message": "",
  "page_context": {},
  "resume": {}
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.bavlio.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
thread_id
string | null

Existing thread ID to resume

message
string
default:""
Maximum string length: 10000
page_context
Page Context · object
resume
Resume · object

Resume payload for interrupt confirmation (e.g. {confirmed: true})

Response

Successful Response