Skip to Content
Docs

POST /api/import_agent

POST
/api/import_agent

Import an agent from YAML: create a draft, or update the agent matched by id or slug.

Personal access token scope: agents:write.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/import_agent'
Example Response200
Empty