Skip to main content

Import an agent bundle

POST 

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

Imports an exported agent bundle (root agent plus sub-agents) into an application. The body is NOT a bare AgentSpec: to import a spec you authored, wrap it as { "exportVersion": 1, "agent": { "name": "<name>", "spec": <AgentSpec> } }. Accepts application/json or multipart/form-data with a file field. applicationId comes from the payload or the query string.

Request

Responses

Import summary with the created root agent id