Skip to main content

Create workflow agent from a complete spec

POST 

https://platform.docana.com/api/v1/agents/

Creates one actual Docana workflow Agent record from a complete AgentSpec V2: create, build, or draft one new agent. Do not use saveArtifact or importAgents for this. Validate the complete spec first with validateAgentSpec; creation never publishes, so call publishAgent separately when the draft is ready.

Request

Responses

The new unpublished draft agent