Skip to main content

Import an agent

POST 

/rest/api/v1/agents/:agent_id/import

beta

This endpoint is in Beta. Expect changes and instability.

Imports an agent from its on-disk folder representation (spec.yaml, instructions.md, skills/, subagents/) packaged as a zip, and creates or updates the agent. Inverse of the export flow: the folder-to-schema conversion runs server-side. The bundle must contain only regular files; symlinks are resolved by the caller at packaging time.

Request

Responses

Success