---
title: "Get Collection Directories"
method: GET
path: "/collections/{collection_id}/directories"
tags: ["Collections"]
---

# Get Collection Directories

`GET /collections/{collection_id}/directories`

## Request

- Base URL: `https://api.aspect.inc`
- URL: `https://api.aspect.inc/collections/{collection_id}/directories`
- Auth: API key in header `Authorization`

Get all directories in a collection

## Path parameters

- `collection_id` string, uuid, required

## Response `200`

Successful Response

- DirectoryResponse[]
  - `symlink` SymlinkInfo: Where a symlink points.
    - `target_id` string, uuid, nullable: ID of the asset or directory the symlink points to. Null when it can't be followed; `status` says why.
    - `status` 'resolved' | 'dangling' | 'permission_denied' | 'external', required
  - `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

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aspect/apis/aspect-api.md) - [All operations](https://skmtc.dev/aspect/apis/aspect-api/llms.txt) - [OpenAPI document](https://skmtc.dev/aspect/apis/aspect-api/revisions/28ea5f1adb54?raw)
