Skip to main content
POST
/
v1
/
chat
Chat with active personal session
curl --request POST \
  --url https://api.ara.so/v1/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "messages": [
    {
      "role": "<string>",
      "content": "<string>"
    }
  ],
  "model": "<string>",
  "max_tokens": 123,
  "temperature": 123
}
'
{}

Authorizations

Authorization
string
header
required

Bearer token: Supabase session JWT or user-level API key (ara_api_*).

Body

application/json
messages
object[]
required
model
string

Optional model override.

max_tokens
integer

Accepted for compatibility.

temperature
number

Accepted for compatibility.

Response

OpenAI-compatible JSON completion response

OpenAI-compatible chat completion payload.