> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trylath.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Every Lath operation is POST https://platform.trylath.com/<operation name with dots replaced by slashes>, with a JSON body and `Authorization: Bearer <key>`. `email.send` is POST /email/send.
> Branch on `error.code`, never on `error.message`. Every refusal also carries `error.fix`, which names the next step.
> Send an `Idempotency-Key` header on any operation that is not retry-safe, so a retry cannot run it twice.
> A `lath_test_` key emails only the account's own members and sends no SMS; a `lath_live_` key reaches real recipients and is billed.
> The OpenAPI document, generated from the same registry as the routes, is at https://platform.trylath.com/openapi.json.

# The environment's published theme

> The tokens and copy the hosted pages and drop-in components render with. Public because a browser needs it before anyone has signed in.



## OpenAPI

````yaml /api-reference/openapi.json get /auth/theme/{environmentId}
openapi: 3.1.0
info:
  title: Lath API
  version: 0.1.0
  description: >-
    Every operation is one POST. The same set is reachable over MCP, the SDK and
    the CLI; nothing is dashboard-only.
servers:
  - url: https://platform.trylath.com
    description: This deployment
security: []
paths:
  /auth/theme/{environmentId}:
    get:
      tags:
        - platform
      summary: The environment's published theme
      description: >-
        The tokens and copy the hosted pages and drop-in components render with.
        Public because a browser needs it before anyone has signed in.
      operationId: get_auth_theme_environmentId_
      parameters:
        - name: environmentId
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: The environment this is read for.
      responses:
        '200':
          description: ok
      security: []

````