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

Create a new folder

POST
/api/agents/folders/

Create a new 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
name*string

Folder name

parent_id?string

Parent folder ID

Response Body

Success

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