Nuxa
Api referenceSchedulesApiSchedules

POST /api/schedules

POST
/api/schedules

Authorization

sessionAuth
better-auth.session_token<token>

Better Auth session cookie

In: cookie

Request Body

application/json

workflowId*string
blockId?string
state*object
edges*array<unknown>
loops*object

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://app.nuxa.ai/api/schedules" \  -H "Content-Type: application/json" \  -d '{    "workflowId": "string",    "state": {},    "edges": [],    "loops": {}  }'
{}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}