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

# Get Collection

`GET /collections/{collection_id}`

## Request

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

Get a collection by ID

## Path parameters

- `collection_id` string, uuid, required

## Response `200`

Successful Response

- CollectionResponse: API response schema for creating a collection
  - `id` string, uuid, required: Collection ID
  - `name` string, required: Collection name
  - `description` string, nullable: Collection description
  - `created_by_user_id` string, uuid, nullable: User who created this collection
  - `num_assets` integer: Number of assets in the collection
  - `num_directories` integer: Number of directories in the collection
  - `project_id` string, uuid, required: Project ID
  - `created` string, date-time, required: Creation timestamp
  - `updated` string, date-time, required: Last update timestamp

## 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)
