---
title: "Get a specific supported package format."
method: GET
path: "/formats/{slug}/"
tags: ["formats"]
---

# Get a specific supported package format.

`GET /formats/{slug}/`

Get a specific supported package format.

## Response `200`

OK

- Format
  - `description` string, required — Description of the package format
  - `distributions` Distribution[], nullable — The distributions supported by this package format
    - `name` string, required
    - `self_url` string, uri
    - `slug` string — The slug identifier for this distribution
    - `variants` string, nullable
  - `extensions` string[], required — A non-exhaustive list of extensions supported
  - `name` string, required — Name for the package format
  - `premium` boolean, required — If true the package format is a premium-only feature
  - `premium_plan_id` string, nullable — The minimum plan id required for this package format
  - `premium_plan_name` string, nullable — The minimum plan name required for this package format
  - `slug` string, required — Slug for the package format
  - `supports` FormatSupport, required — A set of what the package format supports
    - `dependencies` boolean, required — If true the package format supports dependencies
    - `distributions` boolean, required — If true the package format supports distributions
    - `file_lists` boolean, required — If true the package format supports file lists
    - `filepaths` boolean, required — If true the package format supports filepaths
    - `metadata` boolean, required — If true the package format supports metadata
    - `upstreams` FormatSupportUpstream, required — The upstream support for the package format
      - `auth_modes` string[], required — The authentication modes supported by the upstream format
      - `cache_only` boolean, required — If true the upstream format supports cache-only mode.
      - `caching` boolean, required — If true the upstream format supports caching
      - `indexing` boolean, required — If true the upstream format supports indexing
      - `indexing_behavior` 'Unsupported' | 'Ahead-of-time (static) indexing' | 'Just-in-time (dynamic) indexing' — The behavior of the upstream when indexing
      - `proxying` boolean, required — If true the upstream format supports proxying
      - `signature_verification` 'Unsupported' | 'Repository Metadata' | 'Packages' | 'Repository Metadata and Packages' — The signature verification supported by the upstream format
      - `trust` boolean, required — If true the upstream format supports configurable trust levels (trusted vs untrusted) for upstream sources.
    - `versioning` boolean, required — If true the package format supports versioning

## Other responses

- `400` — Request could not be processed (see detail).
- `422` — Missing or invalid parameters (see detail).

---

[API](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1.md) · [All operations](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudsmith/cloudsmith-api-v1/revisions/4d7879df9b2f/schema)
