Nuxa
Api referenceCopilotApiCopilotContext usage

POST /api/copilot/context-usage

POST
/api/copilot/context-usage

Authorization

sessionAuth
better-auth.session_token<token>

Better Auth session cookie

In: cookie

Request Body

application/json

chatId*string
model*string
workflowId*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://app.nuxa.ai/api/copilot/context-usage" \  -H "Content-Type: application/json" \  -d '{    "chatId": "string",    "model": "string",    "workflowId": "string"  }'
{}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}