Agent Folders

Organize agents (Assignments in the Duvo UI) into folders

get

List all agent folders for the authenticated team.

Authorizations
AuthorizationstringRequired

API key authentication. Get your API key from the Duvo dashboard.

Responses
200

Default Response

application/json
get
/v1/agent-folders
post

Create a new agent folder.

Authorizations
AuthorizationstringRequired

API key authentication. Get your API key from the Duvo dashboard.

Body
namestring · min: 1 · max: 100Required

Human-readable folder name

parent_folder_idstring · uuid · nullableOptional

Parent folder ID for nested folders. Omit or null to create at the root level.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
Responses
post
/v1/agent-folders
delete

Delete an agent folder. If the folder contains assignments or subfolders, pass force=true to delete it and move the contained assignments to the root level.

Authorizations
AuthorizationstringRequired

API key authentication. Get your API key from the Duvo dashboard.

Path parameters
folder_idstring · uuidRequired

The folder's unique identifier

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
Query parameters
forcestringOptional

Pass 'true' to delete a folder that still contains assignments or subfolders. Any contained assignments will be moved to the root level.

Responses
200

Default Response

application/json
successbooleanRequired

Always true on success

delete
/v1/agent-folders/{folder_id}
patch

Rename an agent folder or move it to a new parent.

Authorizations
AuthorizationstringRequired

API key authentication. Get your API key from the Duvo dashboard.

Path parameters
folder_idstring · uuidRequired

The folder's unique identifier

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
Body
namestring · min: 1 · max: 100Optional

New folder name

parent_folder_idstring · uuid · nullableOptional

New parent folder ID. Pass null to move the folder to the root level.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
Responses
200

Default Response

application/json
patch
/v1/agent-folders/{folder_id}
post

Move one or more agents (assignments) into a folder, or to the root level.

Authorizations
AuthorizationstringRequired

API key authentication. Get your API key from the Duvo dashboard.

Body
agent_idsstring · uuid[] · min: 1Required

IDs of the agents (assignments) to move. Must be unique.

folder_idstring · uuid · nullableRequired

Destination folder ID. Pass null to move the agents to the root level.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
Responses
200

Default Response

application/json
successbooleanRequired

Always true on success

moved_countnumberRequired

Number of agents that were moved

post
/v1/agent-folders/move-agents

Last updated