Folders

Move Agent To Folder

Changed on

Move an agent to a folder or disassociate it from any folder.

  • If folder_id is provided: Associates the agent with that folder
  • If folder_id is null: Disassociates the agent from any folder

Both the agent and folder (if provided) must belong to the user's organization.

put/v1/folders/move-agent

Request

  • Base URL
    https://api.getbluejay.ai
  • URL
    https://api.getbluejay.ai/v1/folders/move-agent
  • Auth
    HTTPBearer (a scheme the document does not define)

Headers

X-Organization-Idstring
X-API-Keystring required

API key required to authenticate requests.

Request body

agent_idinteger required

ID of the agent to move

folder_idstring uuid nullable

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

Response

Successful Response

agent_idinteger required

ID of the agent

folder_idstring uuid nullable

ID of the folder (null if disassociated)

statusstring

Status of the operation

Changes