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

# Signed snapshot

> The signed configuration each cell pulls from the control plane.



## OpenAPI

````yaml openapi/en/control.json GET /v1/snapshot/{cell_id}
openapi: 3.1.0
info:
  title: Niadra control API
  version: '1'
  description: >-
    Tenants, projects, sources, keys, people, configuration and usage. It never
    receives customer content.
servers:
  - url: https://control.api.niadra.com
security: []
paths:
  /v1/snapshot/{cell_id}:
    get:
      summary: Signed snapshot
      description: >-
        With `after`, a long poll: answers when a newer version exists, or 304
        at the deadline.


        **Authentication.** Cell credential (`X-Niadra-Cell-Token`). Used by
        Niadra cells, not by your code.
      operationId: snapshot_v1_snapshot__cell_id__get
      parameters:
        - in: path
          name: cell_id
          required: true
          schema:
            title: Cell Id
            type: string
          example: cell-1
        - in: query
          name: after
          required: false
          schema:
            anyOf:
              - minimum: 0
                type: integer
              - type: 'null'
            title: After
          description: >-
            The version the cell already has. With it, the call waits until a
            newer version exists, or answers 304 at the deadline.
          example: 41
        - in: query
          name: wait
          required: false
          schema:
            default: 25
            maximum: 30
            minimum: 0
            title: Wait
            type: number
          description: >-
            How long to wait for a newer version, up to 30 seconds. Defaults to
            25.
          example: 25
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SnapshotOut'
              example:
                manifest:
                  cell_id: cell-1
                  version: 42
                  documents:
                    0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23: sha256:9f2c4e...
                signature: MEUCIQ...
                kid: ctl-2026-09
                documents:
                  0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23:
                    space_id: 0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23
                    region: us-east-1
                    environment: production
                keys:
                  0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23:
                    - key_id: k7Q2mX9a
                      source_id: 0192f0a0-5f60-7172-8d83-9e0f1a2b3c45
                      scopes:
                        - context
                        - search
                        - track
                        - act
                keys_signature: MEQCIF...
          description: The signed snapshot.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - cellToken: []
components:
  schemas:
    SnapshotOut:
      additionalProperties: false
      description: >-
        `signature` covers the canonical JSON of `manifest`; `keys_signature`
        that of `keys` (both Ed25519,

        base64url). Each document's SHA-256 over its canonical JSON must match
        the manifest.
      properties:
        documents:
          additionalProperties: true
          title: Documents
          type: object
        keys:
          additionalProperties: true
          title: Keys
          type: object
        keys_signature:
          title: Keys Signature
          type: string
        kid:
          title: Kid
          type: string
        manifest:
          additionalProperties: true
          title: Manifest
          type: object
        signature:
          title: Signature
          type: string
      required:
        - manifest
        - signature
        - kid
        - documents
        - keys
        - keys_signature
      title: SnapshotOut
      type: object
    Problem:
      additionalProperties: false
      description: RFC 9457 problem details; `code` comes from the versioned error catalog.
      properties:
        code:
          title: Code
          type: string
        detail:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Detail
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Request Id
        status:
          title: Status
          type: integer
        title:
          title: Title
          type: string
        type:
          default: about:blank
          title: Type
          type: string
      required:
        - title
        - status
        - code
      title: Problem
      type: object
  securitySchemes:
    cellToken:
      type: apiKey
      in: header
      name: X-Niadra-Cell-Token

````