Skip to main content
POST
/
api
/
workflows
/
{id}
/
publish
Publish workflow
curl --request POST \
  --url https://api.agentixx.io/api/workflows/{id}/publish \
  --header 'Content-Type: application/json' \
  --header 'x-tenant-id: <api-key>' \
  --cookie better-auth.session_token= \
  --data '{}'
{}

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-tenant-id
string
header
required

Tenant/workspace UUID. Required on all /api/* endpoints.

Path Parameters

id
string<uuid>
required

Body

application/json

Publish workflow (validates and creates immutable version)

Response

Workflow published

{key}
any