Create Agent
Agents
Create Agent
Create an agent template (metadata only).
POST
Create Agent
Creates a new agent template with metadata only.
Graph structure is mutated later via POST /agent//update.
POST /agent/create does not accept graph fields (graph, nodes, connections, create_video_input_node). Sending them returns a validation error.
Request
Body Parameters
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | Agent name (1-120 chars). |
description | string | No | Agent description (<=5000 chars). |
visibility | string | No | public or private. |
workspace_id | string | No | Target workspace UUID. Defaults to organization primary workspace. |