Skip to Content
Docs

Export an agent as YAML

GET
/api/export_agent

Export an agent as YAML.

Personal access token scope: agents:read.

Authorization

bearer
headerAuthorizationBearer <token>

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

Query Parameters

id?string

Agent ID

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/export_agent'
Example Response200
Empty