curl --request PUT \
--url https://api.agentixx.io/api/workflows/{id}/draft \
--header 'Content-Type: application/json' \
--header 'x-tenant-id: <api-key>' \
--cookie better-auth.session_token= \
--data '
{
"draftGraph": {
"nodes": [
{
"id": "trigger_1",
"type": "trigger.inbound_message",
"position": {
"x": 400,
"y": 100
}
}
],
"edges": [],
"entry": "trigger_1"
}
}
'{
"ok": true,
"updatedAt": "<string>"
}Save the draft graph for a workflow. Admin only.
curl --request PUT \
--url https://api.agentixx.io/api/workflows/{id}/draft \
--header 'Content-Type: application/json' \
--header 'x-tenant-id: <api-key>' \
--cookie better-auth.session_token= \
--data '
{
"draftGraph": {
"nodes": [
{
"id": "trigger_1",
"type": "trigger.inbound_message",
"position": {
"x": 400,
"y": 100
}
}
],
"edges": [],
"entry": "trigger_1"
}
}
'{
"ok": true,
"updatedAt": "<string>"
}Session cookie set by Better Auth on sign-in.
Tenant/workspace UUID. Required on all /api/* endpoints.
Save workflow draft graph
Show child attributes