# GET /themes

List the themes available in the authenticated workspace. Use the returned `id` values as `themeId` in generation requests.

## List themes

> Lists all themes available to the workspace, including standard themes and custom workspace themes.

```json
{"openapi":"3.0.0","info":{"title":"Gamma Public API","version":"1.0"},"tags":[{"name":"public-api","description":"Public API endpoints for external integrations"}],"servers":[{"url":"https://public-api.gamma.app","description":"Production"}],"security":[{"api-key":[]}],"components":{"securitySchemes":{"api-key":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"API key for authentication"}},"schemas":{"ListThemesResponse":{"type":"object","properties":{"data":{"description":"Array of theme items","type":"array","items":{"$ref":"#/components/schemas/ThemeItem"}},"hasMore":{"type":"boolean","description":"Whether more results exist beyond this page"},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for fetching the next page (null if no more results)"}},"required":["data","hasMore","nextCursor"]},"ThemeItem":{"type":"object","properties":{"id":{"type":"string","description":"Unique theme identifier"},"name":{"type":"string","description":"Display name of the theme"},"colorKeywords":{"description":"Keywords describing the theme's color palette","type":"array","items":{"type":"string"}},"toneKeywords":{"description":"Keywords describing the theme's tone/style","type":"array","items":{"type":"string"}},"type":{"type":"object","description":"Theme type: standard (built-in) or custom (workspace-created)"}},"required":["id","name","type"]}}},"paths":{"/v1.0/themes":{"get":{"description":"Lists all themes available to the workspace, including standard themes and custom workspace themes.","operationId":"listThemes","parameters":[{"name":"query","required":false,"in":"query","description":"Search query to filter themes by name","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Maximum number of themes to return","schema":{"minimum":1,"maximum":50,"type":"number"}},{"name":"after","required":false,"in":"query","description":"Cursor for pagination (from previous response's nextCursor)","schema":{"type":"string"}}],"responses":{"200":{"description":"Themes retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListThemesResponse"}}}},"401":{"description":"Invalid or missing API key"}},"summary":"List themes","tags":["public-api"]}}}}
```

{% hint style="info" %}
For guidance on when to fetch theme IDs and how to use them in requests, see [Use themes and folders](/guides/list-themes-and-list-folders-apis-explained.md).
{% endhint %}

## Related

* [Use themes and folders](/guides/list-themes-and-list-folders-apis-explained.md) for workflow guidance
* [POST /generations](/generations/create-generation.md) if you want to apply a returned `themeId`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.gamma.app/workspace/list-themes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
