Folder Entities

Add Entity To Folder

Beta
POST

Add an entity to a specific folder or root directory.

Adding an entity to a folder will remove it from any other folders it might have been a member of.

Path parameters

folder_idstringRequired

The ID of the folder to which the entity should be added. This can be a UUID of a folder, or the name of a root directory (e.g. “PROMPT_SANDBOX”).

Request

This endpoint expects an object.
entity_id
stringRequired
The ID of the entity you would like to move.
POST
1curl -X POST https://api.vellum.ai/v1/folders/folder_id/add-entity \
2 -H "X_API_KEY: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "entity_id": "entity_id"
6}'