# Show a compression profile

`GET /api/v1/compression-profiles/{compressionProfile}`

## Path Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| compressionProfile | integer | yes | The ID of the compression profile. Example: `2`. |

## Response

### 200

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| data | object | yes |  |
| data.id | integer | yes |  |
| data.name | string | yes |  |
| data.platform | boolean | yes | True for a shared catalog item that Clokeep provides to every client (read-only); false for one the client created. |
| data.archive_format | string | yes | One of: `tar`, `zip`. |
| data.archive_format_label | string | yes | One of: `tar`, `zip`. |
| data.compressor | string | yes | One of: `none`, `gzip`, `zstd`. |
| data.compressor_label | string | yes | One of: `None`, `gzip`, `zstd`. |
| data.level | integer | yes |  |
| data.file_extension | string | yes |  |
| data.is_default | boolean | yes |  |
| data.created_at | string · date-time | yes | Nullable. |
| data.updated_at | string · date-time | yes | Nullable. |

### 401

The request carries no valid token: the `Authorization: Bearer` header is missing, or its token is unknown, revoked or past its expiry date. Send a current personal access token.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| message | string | yes | Always `Unauthenticated.`. |

### 403

The token may not read this. The `message` says why: `Your role does not permit this action.` (its owner is not an Admin, Operator or Viewer in the client), `This account is disabled.`, `This token is not bound to a client you belong to.`, or `Client suspended`.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| message | string | yes | What went wrong. |

### 404

Not found

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| message | string | yes | What went wrong. |

### 429

More than 120 requests a minute for this user. Wait the seconds in `Retry-After`, then retry.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| message | string | yes | What went wrong. |

## Request example

```bash
curl 'https://app.clokeep.com/api/v1/compression-profiles/2' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'Accept: application/json'
```

## Response example (200)

```json
{
  "data": {
    "id": 2,
    "name": "Gzip",
    "platform": false,
    "archive_format": "tar",
    "archive_format_label": "tar",
    "compressor": "gzip",
    "compressor_label": "gzip",
    "level": 6,
    "file_extension": ".tar.gz",
    "is_default": true,
    "created_at": "2026-11-01T09:14:22+00:00",
    "updated_at": "2026-11-18T16:40:05+00:00"
  }
}
```

## Response example (401)

```json
{
  "message": "Unauthenticated."
}
```

## Response example (403)

```json
{
  "message": "Your role does not permit this action."
}
```

## Response example (404)

```json
{
  "message": "No query results for model [App\\Models\\CompressionProfile] 2"
}
```

## Response example (429)

```json
{
  "message": "Too Many Attempts."
}
```
