Create a workflow in a Workspace

Creates a draft and its Workspace association in one transaction. Requires ownership of the Workspace and enabled workflows.

post/v1/workspaces/{workspaceID}/workflows

Request

  • Base URL: https://api.plori.ai
  • URL: https://api.plori.ai/v1/workspaces/{workspaceID}/workflows
  • Auth: HTTP bearer

Path parameters

workspaceIDstring uuid required

Request body

namestring required
descriptionstring
trigger_kind'manual' | 'cron' | 'webhook'
cron_exprstring
agent_idstring uuid

Optional creator agent owned by the same account.

Response

Workflow created in the Workspace.

idstring uuid required
user_idstring uuid required
agent_idstring uuid nullable required
workspace_idstring uuid nullable required
namestring required
descriptionstring required
enginestring required
statusstring required
current_versioninteger required
active_versioninteger nullable required
trigger_kind'manual' | 'cron' | 'webhook' required
cron_exprstring required
next_fire_atstring date-time nullable required
hook_keystring nullable required
spend_cap_monthinteger required
notify_prefstring required
created_atstring date-time required
updated_atstring date-time required
template_slugstring
agent_deleted_atstring date-time nullable
paused_reasonstring

Changes

No recorded changes to this operation across all 1 revision of this API.