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
$curl -X POST https://api.vellum.ai/v1/folders/folder_id/add-entity \
> -H "X_API_KEY: <apiKey>" \
> -H "Content-Type: application/json" \
> -d '{
> "entity_id": "entity_id"
>}'