> ## Documentation Index
> Fetch the complete documentation index at: https://docs.screenframed.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List hosted background packs

Returns grouped background packs with counts and cover thumbnails.

` GET /v1/backgrounds/packs `

List hosted background packs

Returns grouped background packs with counts and cover thumbnails.

## Servers

- ` https://screenframed.com ` — Production

## Parameters

### ` group ` (query, optional)

Comma-separated asset groups.

- ` value `: type ` string `

### ` type ` (query, optional)

Comma-separated asset types.

- ` value `: type ` string `

### ` theme ` (query, optional)

- ` value `: type ` string `

  - enum: ` ["light","dark","mixed"] `

### ` q ` (query, optional)

Search name, pack, and tags.

- ` value `: type ` string `

## Responses

### ` 200 ` — Background packs

Content type: ` application/json `

- ` value `: type ` object `

  - Required fields: ` packs `

  - ` packs `: type ` array `

    - ` array item `: type ` object `

      - ` group `: type ` string `; nullable

      - ` pack `: type ` string `; nullable

      - ` theme `: type ` string `; nullable

      - ` count `: type ` integer `

      - ` cover_url `: type ` string `; nullable; format ` uri `

      - ` thumbnail_url `: type ` string `; nullable; format ` uri `

### ` 401 ` — Error response

Content type: ` application/json `

- ` value `: type ` object `

  - Required fields: ` error `

  - ` error `: type ` object `

    - Required fields: ` code `, ` message `

    - ` code `: type ` string `

    - ` message `: type ` string `

    - ` details `: type ` object `

    - ` retry_after `: type ` integer `

### ` 403 ` — Error response

Content type: ` application/json `

- ` value `: type ` object `

  - Required fields: ` error `

  - ` error `: type ` object `

    - Required fields: ` code `, ` message `

    - ` code `: type ` string `

    - ` message `: type ` string `

    - ` details `: type ` object `

    - ` retry_after `: type ` integer `

## Request examples

### cURL

```curl
curl -X GET 'https://screenframed.com/v1/backgrounds/packs' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('https://screenframed.com/v1/backgrounds/packs', {
  method: 'GET',
  headers: {
      "Authorization": "Bearer YOUR_API_TOKEN"
  }
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN'
}

response = requests.get('https://screenframed.com/v1/backgrounds/packs', headers=headers)
print(response.json())
```