# Brand kits (/docs/api/brand-kits)

Find a brand kit and pass its `id` as `brand_kit_id` to `POST /decks`. Brands limited to approved email domains appear only for callers on those domains.

## Search Brand Kits

`GET https://api.presentations.ai/api/v1/brand-kits`

Search the brand kits you can style a deck with.

Use a result's `id` as `brand_kit_id` when creating a deck. Includes published brands, your
workspace's kits and your own unshared kits. A brand limited to approved email domains appears
only when your verified email domain is one of them.

**Query parameters**

- `q` (string, optional, max length 100) — Brand name or domain to search for.
- `domain` (string, optional, max length 255) — Exact brand domain, e.g. `example.com`.
- `type` (KitType, optional) — Only catalog brands, or only your workspace's kits.
- `page` (integer, optional, ≥ 1, default `1`) — Page number, starting at 1.
- `limit` (integer, optional, ≥ 1, ≤ 100, default `20`) — Items per page.

**Responses**

- `200`: Page_BrandKitMatch_ — Successful Response
- `401`: APIErrorResponse — Missing, malformed, expired, or revoked Bearer API key. `error.code`: `UNAUTHENTICATED`, `INVALID_TOKEN`.
- `403`: APIErrorResponse — The API key, workspace role, project scope, or plan lacks permission. `error.code`: `FORBIDDEN`, `FEATURE_NOT_IN_PLAN`, `PLAN_LIMIT_EXCEEDED`.
- `422`: RequestValidationErrorResponse — A path, query, header, or request-body field failed validation. `error.code`: `VALIDATION_FAILED`.
- `429`: APIErrorResponse — The caller exceeded the API rate limit. `error.code`: `RATE_LIMITED`.
- `500`: APIErrorResponse — Unexpected server failure. Retry only idempotent operations and retain trace_id. `error.code`: `INTERNAL_ERROR`.

## Get Brand Kit

`GET https://api.presentations.ai/api/v1/brand-kits/{brand_kit_id}`

Get one brand kit you can style a deck with.

**Path parameters**

- `brand_kit_id` (string (uuid), required) — ID of the brand kit, from `GET /brand-kits`.

**Responses**

- `200`: BrandKitDetail — Successful Response
- `401`: APIErrorResponse — Missing, malformed, expired, or revoked Bearer API key. `error.code`: `UNAUTHENTICATED`, `INVALID_TOKEN`.
- `403`: APIErrorResponse — The API key, workspace role, project scope, or plan lacks permission. `error.code`: `FORBIDDEN`, `FEATURE_NOT_IN_PLAN`, `PLAN_LIMIT_EXCEEDED`.
- `404`: APIErrorResponse — The resource does not exist or is outside the caller's scope. `error.code`: `NOT_FOUND`.
- `422`: RequestValidationErrorResponse — A path, query, header, or request-body field failed validation. `error.code`: `VALIDATION_FAILED`.
- `429`: APIErrorResponse — The caller exceeded the API rate limit. `error.code`: `RATE_LIMITED`.
- `500`: APIErrorResponse — Unexpected server failure. Retry only idempotent operations and retain trace_id. `error.code`: `INTERNAL_ERROR`.

# Schemas

### BrandKitDetail

One brand kit, with what it styles a deck with.

- `id` (string (uuid), required) — Pass as `brand_kit_id` to `POST /decks`.
- `name` (string, required) — The brand.
- `domain` (string, optional) — The brand's domain; null for generic style kits.
- `type` (KitType, required) — CATALOG: a published brand. WORKSPACE: one of your workspace's kits. PERSONAL: your own kit, shared with no workspace.
- `access` (KitAccess, required) — Why you can see it. PUBLIC: open to everyone. DOMAIN: limited to approved email domains, and yours is one. WORKSPACE: your workspace's kit. OWNER: your own kit.
- `logo_url` (string, optional) — The brand mark, when the kit has one.
- `colors` (string[], optional) — Brand colours as hex.
- `description` (string, optional) — Free-text description of the kit; null when not set.
- `fonts` (BrandKitFonts, optional) — Default heading/body font families, when set.
- `default_mood` (string, optional) — The kit's default mood, when it has one you may use.

### BrandKitFonts

The kit's default heading and body font families.

- `heading` (string, required) — Heading font family.
- `body` (string, required) — Body text font family.

### BrandKitMatch

One brand kit the caller may style a deck with.

- `id` (string (uuid), required) — Pass as `brand_kit_id` to `POST /decks`.
- `name` (string, required) — The brand.
- `domain` (string, optional) — The brand's domain; null for generic style kits.
- `type` (KitType, required) — CATALOG: a published brand. WORKSPACE: one of your workspace's kits. PERSONAL: your own kit, shared with no workspace.
- `access` (KitAccess, required) — Why you can see it. PUBLIC: open to everyone. DOMAIN: limited to approved email domains, and yours is one. WORKSPACE: your workspace's kit. OWNER: your own kit.
- `logo_url` (string, optional) — The brand mark, when the kit has one.
- `colors` (string[], optional) — Brand colours as hex.

### KitAccess

Why the caller can see a kit.

One of: `PUBLIC`, `DOMAIN`, `WORKSPACE`, `OWNER`

### KitType

Where a visible kit comes from.

One of: `CATALOG`, `WORKSPACE`, `PERSONAL`

### Page_BrandKitMatch_

- `data` (BrandKitMatch[], required) — Items on this page.
- `page` (integer, required) — 1-based page number returned.
- `limit` (integer, required) — Maximum items per page.
- `total` (integer, required) — Items matching the filters across all pages.