---
title: "Get a theme"
method: GET
path: "/api/public/themes"
---

# Get a theme

`GET /api/public/themes`

## Request

- Base URL: `https://october.dev`
- URL: `https://october.dev/api/public/themes`
- Auth: none declared

Returns a full design-system theme. Use query params to get a random theme, filter by platform, or fetch by id.

## Query parameters

- `random` boolean
- `platform` 'desktop-web' | 'mobile-app' | 'game'
- `id` string

## Headers

- `October-Version` string

## Response `200`

Theme object with full content.

- Theme
  - `id` string, required: Theme slug id
  - `name` string, required
  - `platform` 'desktop-web' | 'mobile-app' | 'game', required
  - `content` string: Prompt-ready markdown (70–100 lines) describing palette, typography, components, effects, animations, non-genericness rules.

## Other responses

- `400`: Invalid request parameters.
- `404`: The requested theme id was not found (only when ?id= is set).
- `405`: Only GET and OPTIONS are supported.
- `429`: Rate limit exceeded.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/october/apis/october-public-api.md) - [All operations](https://skmtc.dev/october/apis/october-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/october/apis/october-public-api/revisions/86da6fe72e2a?raw)
