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

# Read the signed-in person's effective display flags

> Display hints only; backend enforcement remains authoritative. Requires the person's
own first-party Auth0 bearer through the shared validator and own-token admission,
narrowed to the configured API audience and existing shared first-party approval-surface
and Connect native registries, plus configured device/CLI clients. Issuer comes from
the shared entitlement validator (MCP_AUTH0_ISSUER, otherwise AUTH0_ISSUER).
Customer MCP audiences (including mixed API/MCP), unmapped clients, demo, service,
machine, API-key, delegated, actor-marked (including staff impersonation), agent and
external-client identities are refused. Only tool and repeated keys are accepted; subject and context
come exclusively from the verified bearer, never identity headers.

tool selects a backend projection of this caller's own flags, granting no tool access.
Uses the current entitlement projection and the existing Flagship/KV evaluation with
cached subject preview preference, tester-group and account overrides. Uses the same
backend projection function as signed hops: Homelab runtime values reflect exact raw
entitlements, Cloud's synthetic preview key is Gateway-sourced. Admitted signed-catalog
MCP surfaces add policy keys with the same evaluation and merge used in MCP preflight.
The client names its keys: 1–50 repeated keys parameters, each matching
^[a-z0-9][a-z0-9._:-]{0,127}$. Missing, empty, malformed or over-limit keys,
comma-separated lists, invalid/duplicate tool or any other parameter return 400.
Only requested final provider-sourced boolean values are returned after projection;
provider false remains false. Missing, unevaluated, KV-default or Gateway-granted
keys are absent. Budgets, entitlements, identity context and signatures are excluded.
Unrequested definitions, including operational-looking ones, are never returned.
tool selects the backend projection only, not definition ownership. Requested keys
use the evaluator's existing normalization and aliases; response property names
preserve the requested spellings. The read evaluates the requested keys only and
reads no budget, so a display read waits for those key evaluations instead of
every registered flag key and budget.
DEFAULT is omitted. ERROR is omitted and incomplete. FLAG_NOT_FOUND is omitted
without making the result incomplete; other errors are omitted and incomplete.
Other reasons (including STATIC, TARGETING_MATCH or absent reason) with no error
code remain provider-sourced. Missing provider details make the result incomplete.

complete describes flags only: failed/timed-out boolean provider reads, an existing
preview source or required policy projection make it false. Budget/sponsor failures
do not. Completeness describes the flags this answer carries (the requested keys
and an admitted MCP policy's keys), not every registered flag key.
A missing preview binding means no preview source. KV fallback values are
excluded, so a fallback-KV failure alone cannot invalidate successful provider flags;
catalog-KV failures still invalidate a required policy projection.
Complete responses expire in 120 seconds; incomplete responses expire in 15 seconds.
Fetch at sign-in with the displayed tool and the keys that client renders. Store only
complete maps in the session, bound to the requested key set, and
refresh by expires_at; on complete:false keep the previous complete map and retry at
expires_at. Without a previous map use built-in defaults. Clear on sign-out/account
change. Offline and self-hosted clients keep built-in defaults. The 120-second lifetime
bounds staff-change display lag (plus the preview cache's existing 30 seconds); 15 seconds
avoids treating a transient outage as a two-minute decision. HTTP storage is disabled.

Uses the interactive limiter: one pre-auth flood token and one verified tenant/subject
token per admitted GET. Unlike /current, Vary explicitly names Authorization and Origin
as defense in depth for the personal payload; no-store and static * CORS make it redundant.




## OpenAPI

````yaml /identity/reference/api/openapi.yaml get /v1/entitlements/flags
openapi: 3.1.0
info:
  title: kombify Gateway API
  description: >
    Public API reference for the kombify platform, served through the kombify
    public edge at `api.kombify.io`.

    All public traffic is served by the Cloudflare edge worker at
    `api.kombify.io`; the legacy Kong ingress was decommissioned 2026-04-17.


    ## Service Domains


    | Prefix | Service | Description |

    |--------|---------|-------------|

    | `/v1/orchestrator` | Homelab | Core orchestration, projects, users,
    billing |

    | `/v1/simulation` | kombiSim | Infrastructure simulation engine |

    | `/v1/stackkits` | StackKits | IaC/CUE logic service (coming soon) |

    | `/v1/subdomains` | kombify-Me | Subdomain registry & tunnel gateway |

    | `/v1/ai` | kombify-AI-Platform | AI server APIs, provider/model routing,
    sessions, responses, structured output |

    | `/v1/embed` | kombify-AI-Platform | Embed API and Floating Panel iframe
    surface |

    | `/v1/cloud` | kombify-Cloud | Companion and cloud account APIs |

    | `/v1/admin` | kombify-Administration | Protected operator and
    administration APIs |

    | `/v1/connectors` | Gateway Connector Vault | Connector catalog and opaque
    grant metadata |

    | `/v1/media` | Gateway -> paired homelab host | Household media control
    (preview, flag `media.household`) |

    | `/v1/harnesses` | Gateway harness policy | Harness settings projection and
    connector bindings |

    | `/v1/ril` | Gateway RIL preflight -> Homelab | RIL server/action policy
    preflight and forwarding |

    | `/v1/agents` | kombify-Agents | Canonical agent runtime API |

    | `/a2a` | kombify-Agents | Agent-to-Agent federation (JSON-RPC) |


    ## Authentication


    Most endpoints require one of:

    - **JWT** (Auth0 OIDC/OAuth): `Authorization: Bearer <token>` — for end
    users

    - **API Key / service credential**: `X-Api-Key: <key>` — for selected
    integrations


    Public endpoints such as health and auth-mode require no authentication.

    `/v1/capabilities` requires authentication at the Gateway.

    Protected-route denials expose `error_code`, `reason_code`,
    `required_features`,

    `missing_features`, `retryable`, and structured `user_guidance`. This
    contract

    applies to `/v1/agents`, `/v1/ai/models`, `/v1/cloud`, and `/v1/admin`
    before

    the Gateway forwards a request to its origin.


    ## Rate Limits


    | Domain | Requests/min | Requests/hour | Requests/day |

    |--------|-------------|---------------|--------------|

    | Orchestrator | 300 | 5,000 | 50,000 |

    | Orchestrator AI | 60 | 500 | 5,000 |

    | Simulation | 100 | 1,000 | 10,000 |

    | StackKits | 200 | 3,000 | 30,000 |

    | Subdomains | 60 | 500 | 5,000 |

    | AI Platform | 60 | 500 | 5,000 |

    | Agents | 60 | 500 | 5,000 |


    ## Response Headers


    All responses include:

    - `X-Request-ID` — Correlation ID for tracing

    - `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` — Rate
    limit info

    - Standard security headers (HSTS, CSP, X-Frame-Options: DENY)
  version: 2.0.0
  contact:
    name: kombify Team
    url: https://kombify.io
    email: support@kombify.io
  license:
    name: Proprietary
    url: https://kombify.io/terms
servers:
  - url: https://api.kombify.io
    description: Production Gateway
security:
  - bearerAuth: []
  - apiKey: []
tags:
  - name: gateway
    description: Gateway-level health and status
  - name: orchestrator
    description: Core orchestration — projects, users, billing, workers
  - name: simulation
    description: Infrastructure simulation engine (kombiSim)
  - name: simulation-auth
    description: Simulation authentication (public, no gateway auth)
  - name: stackkits
    description: IaC/CUE logic service (not yet deployed)
  - name: subdomains
    description: Subdomain registry & tunnel gateway (kombify-Me)
  - name: ai
    description: >-
      AI Platform service — AI server APIs, models, sessions, responses,
      structured output
  - name: embed
    description: AI Platform embed API and Floating Panel surface
  - name: agents
    description: kombify-Agents runtime API
  - name: agents-a2a
    description: Agent-to-Agent federation protocol
  - name: connectors
    description: Gateway Connector Vault catalog and opaque grant metadata
  - name: media
    description: >-
      Household media control through the paired homelab host (preview, flag
      media.household)
  - name: harnesses
    description: Gateway harness connector settings and projection surfaces
  - name: ril
    description: Gateway RIL policy preflight before Homelab/StackKits execution
paths:
  /v1/entitlements/flags:
    get:
      tags:
        - gateway
      summary: Read the signed-in person's effective display flags
      description: >
        Display hints only; backend enforcement remains authoritative. Requires
        the person's

        own first-party Auth0 bearer through the shared validator and own-token
        admission,

        narrowed to the configured API audience and existing shared first-party
        approval-surface

        and Connect native registries, plus configured device/CLI clients.
        Issuer comes from

        the shared entitlement validator (MCP_AUTH0_ISSUER, otherwise
        AUTH0_ISSUER).

        Customer MCP audiences (including mixed API/MCP), unmapped clients,
        demo, service,

        machine, API-key, delegated, actor-marked (including staff
        impersonation), agent and

        external-client identities are refused. Only tool and repeated keys are
        accepted; subject and context

        come exclusively from the verified bearer, never identity headers.


        tool selects a backend projection of this caller's own flags, granting
        no tool access.

        Uses the current entitlement projection and the existing Flagship/KV
        evaluation with

        cached subject preview preference, tester-group and account overrides.
        Uses the same

        backend projection function as signed hops: Homelab runtime values
        reflect exact raw

        entitlements, Cloud's synthetic preview key is Gateway-sourced. Admitted
        signed-catalog

        MCP surfaces add policy keys with the same evaluation and merge used in
        MCP preflight.

        The client names its keys: 1–50 repeated keys parameters, each matching

        ^[a-z0-9][a-z0-9._:-]{0,127}$. Missing, empty, malformed or over-limit
        keys,

        comma-separated lists, invalid/duplicate tool or any other parameter
        return 400.

        Only requested final provider-sourced boolean values are returned after
        projection;

        provider false remains false. Missing, unevaluated, KV-default or
        Gateway-granted

        keys are absent. Budgets, entitlements, identity context and signatures
        are excluded.

        Unrequested definitions, including operational-looking ones, are never
        returned.

        tool selects the backend projection only, not definition ownership.
        Requested keys

        use the evaluator's existing normalization and aliases; response
        property names

        preserve the requested spellings. The read evaluates the requested keys
        only and

        reads no budget, so a display read waits for those key evaluations
        instead of

        every registered flag key and budget.

        DEFAULT is omitted. ERROR is omitted and incomplete. FLAG_NOT_FOUND is
        omitted

        without making the result incomplete; other errors are omitted and
        incomplete.

        Other reasons (including STATIC, TARGETING_MATCH or absent reason) with
        no error

        code remain provider-sourced. Missing provider details make the result
        incomplete.


        complete describes flags only: failed/timed-out boolean provider reads,
        an existing

        preview source or required policy projection make it false.
        Budget/sponsor failures

        do not. Completeness describes the flags this answer carries (the
        requested keys

        and an admitted MCP policy's keys), not every registered flag key.

        A missing preview binding means no preview source. KV fallback values
        are

        excluded, so a fallback-KV failure alone cannot invalidate successful
        provider flags;

        catalog-KV failures still invalidate a required policy projection.

        Complete responses expire in 120 seconds; incomplete responses expire in
        15 seconds.

        Fetch at sign-in with the displayed tool and the keys that client
        renders. Store only

        complete maps in the session, bound to the requested key set, and

        refresh by expires_at; on complete:false keep the previous complete map
        and retry at

        expires_at. Without a previous map use built-in defaults. Clear on
        sign-out/account

        change. Offline and self-hosted clients keep built-in defaults. The
        120-second lifetime

        bounds staff-change display lag (plus the preview cache's existing 30
        seconds); 15 seconds

        avoids treating a transient outage as a two-minute decision. HTTP
        storage is disabled.


        Uses the interactive limiter: one pre-auth flood token and one verified
        tenant/subject

        token per admitted GET. Unlike /current, Vary explicitly names
        Authorization and Origin

        as defense in depth for the personal payload; no-store and static * CORS
        make it redundant.
      operationId: getOwnDisplayFlags
      parameters:
        - in: query
          name: tool
          required: true
          description: >-
            Existing first-party backend projection to display; no subject
            selection or access grant
          schema:
            type: string
            enum:
              - homelab
              - cloud
              - paperwork
              - ai
              - agents
              - speechkit
              - simulation
              - stackkits
              - sites
              - workpaths
        - in: query
          name: keys
          required: true
          description: >-
            Client-rendered keys; 1–50 repeated parameters. Duplicates count
            toward the limit; responses preserve requested spellings.
          style: form
          explode: true
          schema:
            type: array
            minItems: 1
            maxItems: 50
            items:
              type: string
              pattern: ^[a-z0-9][a-z0-9._:-]{0,127}$
      responses:
        '200':
          description: The caller's display hints, valid until expires_at
          headers:
            Cache-Control:
              schema:
                type: string
                const: private, no-store
            Vary:
              schema:
                type: string
                const: Authorization, Origin
            Server-Timing:
              description: >-
                Per-phase durations of the read in milliseconds, for example
                "rate_limit;dur=1, credential;dur=4, flags;dur=210". Durations
                only; no request data.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                  - schema
                  - tool
                  - flags
                  - complete
                  - expires_at
                properties:
                  schema:
                    type: string
                    const: kombify.flags.current.v1
                  tool:
                    type: string
                    enum:
                      - homelab
                      - cloud
                      - paperwork
                      - ai
                      - agents
                      - speechkit
                      - simulation
                      - stackkits
                      - sites
                      - workpaths
                  complete:
                    type: boolean
                  flags:
                    type: object
                    additionalProperties:
                      type: boolean
                  expires_at:
                    type: string
                    format: date-time
              example:
                schema: kombify.flags.current.v1
                tool: homelab
                flags:
                  example.preview: true
                complete: true
                expires_at: '2026-11-11T18:02:00.000Z'
        '400':
          description: >-
            Missing, unknown or duplicate tool, or any other query parameter
            (invalid_request)
        '401':
          description: Missing or invalid bearer (unauthorized)
        '403':
          description: Not the person's own first-party human token (own_token_required)
        '405':
          description: Only GET and OPTIONS are supported
        '429':
          description: >-
            Interactive flood or verified-subject budget consumed or
            unavailable; structured gateway_throttle denial
          headers:
            Retry-After:
              schema:
                type: integer
                const: 60
            X-RateLimit-Bucket:
              schema:
                type: string
                const: interactive
        '503':
          description: >-
            Validator unavailable (flags_current_unavailable), or current
            entitlement projection unavailable
            (entitlement_projection_unavailable, retryable true)
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Auth0-issued JWT token for kombify APIs
    apiKey:
      type: apiKey
      in: header
      name: X-Api-Key
      description: API key from your kombify dashboard

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.