---
title: "Get a collection"
method: GET
path: "/v0/archives/collections/{cid}"
tags: ["Archives"]
---

# Get a collection

`GET /v0/archives/collections/{cid}`

## Request

- Base URL: `https://api.pixxel.space`
- URL: `https://api.pixxel.space/v0/archives/collections/{cid}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/pixxel/apis/stargate/docs/v0/archives/collections/:cid/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a STAC collection by it's ID

## Path parameters

- `cid` string, required

## Response `200`

OK

- CosmosOriginalCollectionSuccessResponse
  - `created_at` string
  - `description` string
  - `extent` object
    - `spatial` object
      - `bbox` array[]
        - number[]
    - `temporal` object
      - `interval` array[]
        - string[]
  - `id` string
  - `license` string
  - `links` CosmosLink[]
    - `href` string, required: The URL or reference the link points to
    - `rel` string, required: The relationship of the link (e.g., "self", "parent", "child")
    - `title` string: A human-readable title for the link
    - `type` string: The MIME type of the linked resource (e.g., "application/json")
  - `providers` object[]
    - `description` string
    - `name` string
    - `roles` string[]
    - `url` string
  - `stac_extensions` unknown
  - `stac_version` string
  - `summaries` unknown
  - `title` string
  - `type` string
  - `updated_at` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/pixxel/apis/stargate.md) - [All operations](https://skmtc.dev/pixxel/apis/stargate/llms.txt) - [OpenAPI document](https://skmtc.dev/pixxel/apis/stargate/revisions/519562bd9d7a?raw)
