> ## 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.

# Revocation feed

> Revoked keys and sources, which the cells apply within seconds.



## OpenAPI

````yaml openapi/en/control.json GET /v1/revocations
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/revocations:
    get:
      summary: Revocation feed
      description: >-
        The signed feed of revoked keys and sources for one cell, from a
        sequence number on. Cells poll it and cut access within seconds. Used by
        Niadra cells.


        **Authentication.** Cell credential (`X-Niadra-Cell-Token`). Used by
        Niadra cells, not by your code.
      operationId: revocations_v1_revocations_get
      parameters:
        - in: query
          name: cell_id
          required: true
          schema:
            title: Cell Id
            type: string
          description: The cell asking for the feed.
          example: cell-1
        - in: query
          name: after
          required: false
          schema:
            default: 0
            minimum: 0
            title: After
            type: integer
          description: >-
            The last sequence number the cell applied. Pass the `seq` of the
            previous answer.
          example: 4811
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevocationFeedOut'
              example:
                body:
                  cell_id: cell-1
                  seq: 4813
                  keys:
                    - space_id: 0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23
                      key_id: k7Q2mX9a
                  sources:
                    - space_id: 0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23
                      source_id: 0192f0a0-5f60-7172-8d83-9e0f1a2b3c46
                kid: ctl-2026-09
                signature: x9Yt2Q...
          description: The signed feed.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - cellToken: []
components:
  schemas:
    RevocationFeedOut:
      additionalProperties: false
      description: >-
        `body` is `{"cell_id", "seq", "keys": [{"space_id", "key_id"}],
        "sources": [...]}`, the cell's

        `RevocationFeed`; `signature` (Ed25519, base64url) covers its canonical
        JSON. Pass `after=seq` next.
      properties:
        body:
          additionalProperties: true
          title: Body
          type: object
        kid:
          title: Kid
          type: string
        signature:
          title: Signature
          type: string
      required:
        - body
        - kid
        - signature
      title: RevocationFeedOut
      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

````