---
title: "List all themes"
method: GET
path: "/themes"
tags: ["Themes"]
---

# List all themes

`GET /themes`

## Request

- Base URL: `https://enterprise.knak.io/api/published/v1`
- URL: `https://enterprise.knak.io/api/published/v1/themes`
- Auth: none declared
- TypeScript: <https://skmtc.dev/knak/apis/knak-enterprise-api/docs/themes/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve all [themes](#tag/theme_model) in organization.

## Query parameters

- `filter[name]` string
- `filter[tags]` string
- `filter[published]` boolean
- `sort` string
- `page` integer
- `per_page` integer

## Response `200`

OK

- ThemeList
  - `data` Theme[]
    - `type` string
    - `id` string
    - `attributes` object
      - `id` string
      - `name` string
      - `description` string
      - `published` boolean
      - `tags` unknown[]
        - unknown
      - `created_at` string, date-time
      - `updated_at` string, date-time
  - `links` object
    - `first` string
    - `last` string
    - `prev` string, nullable
    - `next` string, nullable
  - `meta` object
    - `current_page` integer
    - `from` integer
    - `last_page` integer
    - `links` object[]
      - `url` string, nullable
      - `label` string
      - `active` boolean
    - `path` string
    - `per_page` integer
    - `to` integer
    - `total` integer

## Other responses

- `401`: Unauthenticated
- `403`: Unauthorized
- `404`: Not Found

---

[API](https://skmtc.dev/knak/apis/knak-enterprise-api.md) - [All operations](https://skmtc.dev/knak/apis/knak-enterprise-api/llms.txt) - [OpenAPI document](https://skmtc.dev/knak/apis/knak-enterprise-api/revisions/31d2c94edfcc?raw)
