Skip to main content
POST
/
api
/
ai
/
chat
Chat with an AI
curl --request POST \
  --url https://api.example.com/api/ai/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "messages": [
    "<string>"
  ]
}
'

Authorizations

Authorization
string
header
required

Personal access token is obtained through your profile

Body

application/json
messages
string[]
required

Array of messages to send to the AI assistant

Response

200

Default Response