Nuxa
Api referenceChatApiChat

POST /api/chat

POST
/api/chat

Authorization

sessionAuth
better-auth.session_token<token>

Better Auth session cookie

In: cookie

Request Body

application/json

label*string
prompt*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://app.nuxa.ai/api/chat" \  -H "Content-Type: application/json" \  -d '{    "label": "string",    "prompt": "string"  }'
{}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}