Skip to Content
Docs

Pin or unpin an agent

POST
/api/pin_agent

Pin or unpin an agent.

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).

Query Parameters

id?string

ID of the agent

Response Body

Success

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