Skip to main content
GET
Get a folder
Retrieves a folder by ID along with its ancestors array, ordered from the top-level folder down to its immediate parent (empty for top-level folders).
For usage patterns and examples, see the Folders guide.

Authorizations

Authorization
string
header
default:sk_...
required

Send your API key as Authorization: Bearer <key>.

Path Parameters

folder_id
string<uuid>
required

Folder ID

Response

Folder details

A folder and its ancestor chain from top-level down to its parent.

ancestors
object[]

Ancestor folders ordered from top-level down to the immediate parent (empty for top-level folders).

created_at
string<date-time>

When the folder was created.

Example:

"2027-01-15T10:30:00Z"

external_id
string

External identifier, unique per organization.

Example:

"brand-coffee"

id
string<uuid>

UUID passed as folder_id in paths and parent_folder_id on child folders.

Example:

"2c4e6a80-b1d3-4f57-8a92-c3e5a7b9d134"

kind
string

Level classification (e.g., brand, region); informational only.

Example:

"brand"

metadata
object

Key-value string labels attached to this folder.

name
string

Display name, unique among siblings under the same parent or at top level (case-insensitive).

Example:

"Coffee"

parent_folder_id
string<uuid>

Parent folder UUID (absent for top-level folders).

Example:

"6a8c0e24-d3f5-4b79-9c1b-e5a7c9b1d335"

status
enum<string>

Lifecycle status of the folder.

Available options:
ACTIVE,
ARCHIVED
Example:

"ACTIVE"

updated_at
string<date-time>

When the folder was last modified.

Example:

"2027-01-15T10:30:00Z"