# List all dynamic sets for the authenticated user

`GET /sets`

> Wheelhouse Comp Set API. Web version: https://docs.usewheelhouse.com/comp-set/reference/list-sets · OpenAPI spec: https://docs.usewheelhouse.com/comp-set/openapi.yaml · Operation ID: `listSets` · Tag: Sets · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

Returns a paginated list of dynamic comp sets owned or managed by the authenticated user. Only paid or admin-granted sets are returned.

## Request

`GET https://api.usewheelhouse.com/ss_api/v1/comp_set/sets`

Authentication: send your Comp Set API key in the `X-Integration-Api-Key` header and your user API key in the `X-User-API-Key` header (see https://docs.usewheelhouse.com/comp-set/authentication.md).

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | integer | no | Page number for pagination (default 1). |
| `per_page` | integer | no | Number of results per page (default 50, max 100). |

### Example request

```bash
curl -X GET 'https://api.usewheelhouse.com/ss_api/v1/comp_set/sets' \
  -H 'X-Integration-Api-Key: <your Comp Set API key>' \
  -H 'X-User-API-Key: <your user API key>'
```

Only required parameters and body fields are filled in, with placeholder values. Add the optional ones you need from the lists above; some are required in combination, as their descriptions say.

## Responses

### 200

Successfully retrieved dynamic sets.

Body (`application/json`): array of object `DynamicSet`

- `id` (integer): Unique identifier for the dynamic set.
- `user_id` (integer): ID of the user who owns the dynamic set.
- `name` (string): Name of the dynamic set.
- `description` (string, nullable): Optional description of the dynamic set.
- `kind` (string): Kind of dynamic set (e.g., other).
- `currency` (string, nullable): Currency code for the dynamic set.
- `is_static` (boolean): Whether the set has static (manually curated) membership.
- `filters` (object, nullable): Filter criteria for dynamic set membership.
- `boundary` (array of array of number, nullable): Geographic boundary polygon coordinates.
- `listing_counts` (object): Count of member listings grouped by status.
- `updated_at` (string (date-time)): Last time the dynamic set was updated.

Example shape (generated from the schema; placeholder values, not a real response):

```json
[
  {
    "id": 0,
    "user_id": 0,
    "name": "string",
    "description": "string",
    "kind": "string",
    "currency": "string",
    "is_static": true,
    "filters": {},
    "boundary": [
      [
        0
      ]
    ],
    "listing_counts": {},
    "updated_at": "2026-01-01T00:00:00Z"
  }
]
```

### 401

API key authorization failed
