Skip to main content
POST
/
api
/
chat
AI coaching chat
curl --request POST \
  --url https://app.dacard.ai/api/chat \
  --header 'Content-Type: application/json' \
  --cookie __session= \
  --data '
{
  "messages": [
    {
      "role": "user",
      "content": "<string>"
    }
  ]
}
'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.dacard.ai/llms.txt

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

Authorizations

__session
string
cookie
required

Clerk session cookie. Authentication is handled by Clerk. Sign in at https://app.dacard.ai/sign-in to obtain a session.

Body

application/json
messages
object[]
required
result
object

Response

SSE stream of chat responses

Server-Sent Events stream. Each event contains data: {"content": "..."} or terminates with data: [DONE].