Skip to main content

Folders API

Version: 1.0
OpenAPI YAML

The Folders API lets you create, list, get, update, delete, and restore folders within Evo workspaces.

The folder object​

A folder object describes a folder within an Evo workspace. Use it to identify the folder, navigate its hierarchy, and track its creation, modification, and deletion.

Folder identity​

folder_id uniquely identifies the folder. Renaming, moving, deleting, or restoring the folder does not change its ID. Use the ID when you need a reference that survives changes to the folder's name or location.

name identifies the folder within its parent. Active sibling folders must have different names. The API compares names without regard to case and preserves their stored casing.

Hierarchy and paths​

path gives the folder's absolute path from the workspace root, including its name. For example, /Projects/APAC/Exploration identifies a folder with name Exploration and a complete path of /Projects/APAC/Exploration. Renaming or moving an ancestor also changes its descendants' paths.

parent_ids lists ancestor IDs in order, from the root to the immediate parent. It excludes the folder's own ID.

Each workspace has an active root and a recycle-bin root. Both use / for their name and path and have an empty parent_ids list. They have distinct IDs. Active folders belong to the active-root hierarchy; deleted folders belong to the recycle-bin hierarchy.

Deletion and restoration​

Deleting a folder also marks its descendants as deleted. The API keeps their IDs and last active paths, records deleted_at and deleted_by, and updates parent_ids to reference the recycle-bin hierarchy. For deleted folders, the retained path therefore does not necessarily describe their current ancestry.

For example, /Projects/Exploration/Surveys identifies a Surveys folder inside Exploration, which sits inside the top-level Projects folder. Deleting /Projects/Exploration moves Exploration and its child Surveys into the recycle-bin hierarchy. Exploration now has only the recycle-bin root ID in parent_ids, while Surveys has the recycle-bin root ID followed by the Exploration folder ID. Their paths remain /Projects/Exploration and /Projects/Exploration/Surveys, preserving their original locations for restoration.

Restoring a folder restores its descendants and clears their deletion fields. The API can create missing parents or rename the restored folder to avoid a name conflict. Creating a new folder at a deleted folder's path does not restore the deleted folder.

Active folders return null for both deleted_at and deleted_by. Check each endpoint's deleted-folder options when retrieving or listing deleted folders.

Audit information​

created_at and created_by record when the API created the folder and who created it. modified_at and modified_by initially match those values.

Renaming or moving a folder updates its modification fields. Changes to ancestors do not update descendant modification fields, even when their paths change. Deletion uses the deletion fields; restoration updates modification fields only if it renames the restored folder.

deleted_at and deleted_by record when the folder was deleted and who deleted it.

The API returns timestamps in UTC with millisecond precision. User objects include an ID and, when available, a name and email address.

Example​

This active folder sits directly under the workspace root.

{
"folder_id": "8b0c7702-32f4-4e4f-88ee-96fe2eb4a852",
"name": "Datasets",
"path": "/Datasets",
"parent_ids": ["2c225bf1-8a9d-4bb4-a351-5746150c248f"],
"created_at": "2026-10-01T12:00:00.000Z",
"created_by": {
"id": "94424136-9c61-4f65-bd5e-006a22a64c22",
"name": "Example User",
"email": "user@example.com"
},
"modified_at": "2026-10-01T12:00:00.000Z",
"modified_by": {
"id": "94424136-9c61-4f65-bd5e-006a22a64c22",
"name": "Example User",
"email": "user@example.com"
},
"deleted_at": null,
"deleted_by": null
}

Missing and deleted resources​

  • 404 NOT FOUND: The API cannot find the resource in the specified instance or workspace, or you do not have access to the workspace.
  • 410 GONE: The API finds a deleted folder by ID, but the operation requires an active folder. This also applies to parent folder IDs.

Path lookups exclude deleted folders by default. Endpoints that support deleted folders describe how to include or restore them.

API operations​

Was this page helpful?