Skip to main content
GET
Get Directory Details

Authorizations

Authorization
string
header
required

Aspect API key (sk_...) in Authorization header. 'Bearer ' optional.

Path Parameters

directory_id
string<uuid>
required

Response

Successful Response

API response schema for getting directory details with stats and creator info

id
string<uuid>
required

Directory ID

name
string
required

Directory name

project_id
string<uuid>
required

ID of the project this directory belongs to

parent_id
string<uuid>
required

ID of the parent resource (directory or project)

created_by_user_id
string<uuid>
required

ID of the user that created the directory

created
string<date-time>
required

Creation timestamp

updated
string<date-time>
required

Last update timestamp

content_modified_at
string<date-time>
required

When the directory's contents last changed: a direct child was created, deleted, renamed, or moved in or out

num_assets
integer
required

Total number of assets in directory tree

size_bytes
integer
required

Total size in bytes of all assets in directory tree

duration
number
required

Total duration in seconds of all assets in directory tree

Set only on symlinks: items, made by the desktop app or local drive, that point to another asset or directory. Pass a symlink's id in symlink_ids to move, trash, restore, or copy it; use symlink.target_id for everything else.