Skip to main content
POST
/
agent-folders
/
move-agents
Move agents to folder
curl --request POST \
  --url https://api.duvo.ai/v1/agent-folders/move-agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "folder_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "success": true,
  "moved_count": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.duvo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
agent_ids
string<uuid>[]
required

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

Minimum array length: 1
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})$
folder_id
string<uuid> | null
required

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})$

Response

Default Response

success
boolean
required

Always true on success

moved_count
number
required

Number of agents that were moved