Palbase ai · API
POST
/ai/workflows/runsStart a durable workflow run
Create a durable workflow run with optional hierarchical root_budget_usd enforcement.
Called by your server, with the project's secret key.
Request body
workflow_namestring · requiredroot_run_idstring · optionalparent_run_idstring · optionaldepthinteger · optionalinputobject · optionalmetadataobject · optionalroot_budget_usdnumber · optionalmax_depthinteger · optionalmax_concurrent_childreninteger · optionalmax_total_stepsinteger · optionalcurl
curl -X POST "https://<your-ref>.palbase.studio/ai/workflows/runs" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"workflow_name":"string"}'Responses
201Workflow run started
400The request is malformed, or names what this module does not offer (the error names which)
401No valid credential
403A publishable key or a user's session: everything here is the project's server's, called with the secret key
404No such response, job or provider in this project
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation CreateWorkflowRun of ai's contract.