# Themes APIs

Endpoints for creating, updating, importing, exporting, and deleting visual themes used in the Guardian policy editor UI.

**Authentication:** Bearer token required (`Authorization: Bearer <token>`)

***

| Method   | Endpoint                               | Description                             | Auth Required |
| -------- | -------------------------------------- | --------------------------------------- | ------------- |
| `GET`    | `/api/v1/themes`                       | Returns all themes for the current user | Yes           |
| `POST`   | `/api/v1/themes`                       | Creates a new theme                     | Yes           |
| `PUT`    | `/api/v1/themes/{themeId}`             | Updates a theme configuration           | Yes           |
| `DELETE` | `/api/v1/themes/{themeId}`             | Deletes a theme                         | Yes           |
| `GET`    | `/api/v1/themes/{themeId}/export/file` | Exports a theme as a ZIP file           | Yes           |
| `POST`   | `/api/v1/themes/import/file`           | Imports a theme from a ZIP file         | Yes           |

## Endpoints

* [Returning All Themes](/docs/develop/guardian/standard-registry/policies/themes/themes-apis/returning-all-themes.md)
* [Creating Theme](/docs/develop/guardian/standard-registry/policies/themes/themes-apis/creating-theme.md)
* [Updating Theme Configuration](/docs/develop/guardian/standard-registry/policies/themes/themes-apis/updating-theme-configuration.md)
* [Deleting Theme](/docs/develop/guardian/standard-registry/policies/themes/themes-apis/deleting-theme.md)
* [Returning ZIP File Containing Themes](/docs/develop/guardian/standard-registry/policies/themes/themes-apis/returning-zip-file-containing-themes.md)
* [Importing Theme](/docs/develop/guardian/standard-registry/policies/themes/themes-apis/importing-theme.md)


---

# 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://guardian.hedera.com/docs/develop/guardian/standard-registry/policies/themes/themes-apis.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.
