Skip to Content
Docs
APIπŸ§ͺ REST EndpointsAgents folders

Move multiple agents to a folder

POST
/api/agents/folders/bulk_move

Move multiple agents to a folder.

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

Request Body

application/json
  1. body
agent_ids*array<string>

List of agent IDs

folder_id?string

Target folder ID

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/agents/folders/bulk_move' \  -H 'Content-Type: application/json' \  -d '{  "agent_ids": [    "string"  ]}'
Example Response200
Empty