---
title: "`GET /styles/{id}/theme`: the latest theme document (the editable source a new version is published from; never cached)."
method: GET
path: "/styles/{spec}/theme"
tags: ["styles"]
---

# \`GET /styles/{id}/theme\`: the latest theme document (the editable source a new version is published from; never cached).

`GET /styles/{spec}/theme`

## Request

- Base URL: `https://api.mapmap.ai`
- URL: `https://api.mapmap.ai/styles/{spec}/theme`
- Auth: none declared

## Path parameters

- `spec` string, required

## Response `200`

The latest theme document

- object

## Other responses

- `404`: Hosted styles not configured or unknown style

---

[API](https://skmtc.dev/mapmap/apis/sn-gateway.md) · [All operations](https://skmtc.dev/mapmap/apis/sn-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/mapmap/apis/sn-gateway/revisions/2293be8b4c38?raw)
