Skip to main content
PUT
Move Agent To Folder
Integration Prompt for AI Agents
Associate an agent with a folder or disassociate it from any folder. Both the agent and folder (if provided) must belong to your organization.

Headers

X-Organization-Id
string
X-API-Key
string
required

API key required to authenticate requests.

Body

application/json
agent_id
integer
required

ID of the agent to move

folder_id
string<uuid> | null

ID of the target folder (null to disassociate from any folder)

Response

Successful Response

agent_id
integer
required

ID of the agent

folder_id
string<uuid> | null

ID of the folder (null if disassociated)

status
string
default:success

Status of the operation