workflows

Create a workflow definition.

Changed on

Creates a normalized workflow DAG for a single agent. The workflow definition is stored as metadata, nodes, and edges, and later retrieval can derive a markdown execution playbook from the structured graph.

post/api/workflow/{agentName}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/workflow/{agentName}
  • Auth: HTTP bearer

Path parameters

agentNamestring required

Agent name.

Request body

workflow_namestring required

Workflow name scoped to an agent.

titlestring required
summarystring required
inputsWorkflowInputs

Response

Workflow created.

agent_namestring required
workflow_namestring required

Workflow name scoped to an agent.

titlestring required
summarystring required
inputsWorkflowInputs
created_atstring date-time required
updated_atstring date-time required

Changes