---
title: "Get Compression Model"
method: GET
path: "/api/compress/models/{model_id}"
tags: ["Compression-Models"]
---

# Get Compression Model

`GET /api/compress/models/{model_id}`

Get a specific model. 404 (not 403) for admin_only when non-admin, to avoid leaking existence.

## Path parameters

- `model_id` string, required

## Headers

- `X-API-Key` string, nullable

## Response `200`

Successful Response

- DemoDataResponse
  - `success` boolean
  - `message` string, nullable
  - `data` DemoData, required
    - `sample_texts` SampleText[], required
      - `name` string, required
      - `text` string, required
    - `compression_models` DemoCompressionModelOption[]
      - `value` string, required
      - `label` string, required
      - `description` string
      - `tier_scale` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/compresr/apis/compresr-platform-api.md) · [All operations](https://skmtc.net/compresr/apis/compresr-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/compresr/compresr-platform-api/versions/93ee959dfa51/schema)
