---
title: "Get collection details"
method: GET
path: "/v1/collections/{id}"
tags: ["Collections"]
deprecated: true
---

# Get collection details

`GET /v1/collections/{id}`

## Request

- Base URL: `https://api.masko.ai`
- URL: `https://api.masko.ai/v1/collections/{id}`
- Auth: HTTP bearer

> **Deprecated.**

Returns the full collection record including config (prompt, reference_asset_ids, style_card, caution_list) and cdn_status. Returns 404 if the collection does not exist or is not owned by the caller.

## Path parameters

- `id` string, uuid, required

## Response `200`

Collection details with cdn_status

- CollectionResponse
  - `data` Collection, required
    - `object` 'mascot': Resource type. Always "mascot".
    - `id` string, uuid, required
    - `name` string, required
    - `type` string, required
    - `project_id` string, uuid
    - `config` object
      - `prompt` string, required
      - `reference_asset_ids` string[], required
      - `style_card` object, nullable, required
      - `caution_list` string[], required
    - `is_published` boolean
    - `slug` string, nullable
    - `user_prefix` string, nullable
    - `cdn_status` object[]
      - `asset_id` string, uuid, required
      - `item_name` string, nullable, required
      - `type` string, required
      - `cdn_url` string, uri, required
      - `status` string, required
      - `file_size` number, nullable, required
    - `created_at` string, required
    - `updated_at` string, required

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict

---

[API](https://skmtc.dev/masko/apis/masko-api.md) · [All operations](https://skmtc.dev/masko/apis/masko-api/llms.txt) · [OpenAPI document](https://skmtc.dev/masko/apis/masko-api/revisions/84832e255613?raw)
