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

# Configuration history

> Every version of every configuration, with who approved it.



## OpenAPI

````yaml openapi/en/control.json GET /v1/config/history
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/config/history:
    get:
      summary: Configuration history
      description: >-
        Every applied version of the configuration of a space, optionally for
        one type.


        **Authentication.** Person token issued by the control plane
        (`Authorization: Bearer <JWT>`), with the role the operation needs.
      operationId: history_v1_config_history_get
      parameters:
        - in: query
          name: space_id
          required: true
          schema:
            format: uuid
            title: Space Id
            type: string
          description: The space whose history you want.
          example: 0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23
        - in: query
          name: type
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Type
          description: Only versions of this configuration type.
          example: webhook-endpoints
        - in: query
          name: limit
          required: false
          schema:
            default: 50
            maximum: 200
            minimum: 1
            title: Limit
            type: integer
          description: Up to 200 versions. Defaults to 50.
          example: 50
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/VersionOut'
                title: Response History V1 Config History Get
                type: array
              example:
                - version: 8
                  type: webhook-endpoints
                  diff_id: 0192f7b2-6071-7283-9e94-0f1a2b3c4d56
                  created_at: '2026-09-22T18:25:00Z'
                  document:
                    - endpoint_id: whe_crm
                      url: https://crm.acme.example/hooks/niadra
                      source_id: 0192f0a0-5f60-7172-8d83-9e0f1a2b3c46
                      event_types:
                        - trigger.fired
                        - action.recorded
                      secret_refs:
                        - >-
                          spaces/0192f0a0-3d4e-7f50-8b61-7c8d9e0f1a23/webhook/whsec-crm
                      enabled: true
          description: The versions, newest first.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - personToken: []
components:
  schemas:
    VersionOut:
      additionalProperties: false
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        diff_id:
          format: uuid
          title: Diff Id
          type: string
        document:
          title: Document
        type:
          title: Type
          type: string
        version:
          title: Version
          type: integer
      required:
        - version
        - type
        - diff_id
        - created_at
        - document
      title: VersionOut
      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:
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````