Nuxa
Api referenceCopilotApiCopilotCheckpoints

POST /api/copilot/checkpoints

POST
/api/copilot/checkpoints

Authorization

sessionAuth
better-auth.session_token<token>

Better Auth session cookie

In: cookie

Request Body

application/json

workflowId*string
chatId*string
messageId?string
workflowState*string

Response Body

application/json

application/json

application/json

application/json

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