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

# Change log

> What changed between consecutive builds of each agent (prompt, model, code, data, compiler), newest first, to bisect a regression.



## OpenAPI

````yaml openapi/en/cell.json GET /v1/changes
openapi: 3.1.0
info:
  title: Niadra data API
  version: '1'
  description: >-
    Writing, context, history, objects, identity, privacy and governance of one
    space. Every space has a stable address, with the space and the region in
    its name.
servers:
  - url: https://{space}.{region}.api.niadra.com
    variables:
      space:
        default: acme-prod
        description: The space, which comes in the source key.
      region:
        default: us-east-2
        description: The region of the space, which also comes in the key.
security: []
paths:
  /v1/changes:
    get:
      tags:
        - turns
      summary: Change log
      description: >-
        What changed between consecutive builds of each agent, newest first.


        **Authentication.** Source key with the `replay` scope, or a Console
        person token with the `integration`, `security` role (or admin). It
        answers only in a space with the `turns` feature on (the `features`
        document); in a space without it, 404.
      operationId: changes_v1_changes_get
      parameters:
        - in: query
          name: agent
          required: false
          schema:
            anyOf:
              - maxLength: 256
                type: string
              - type: 'null'
            title: Agent
        - in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - maxLength: 200
                type: string
              - type: 'null'
            title: Cursor
        - in: query
          name: limit
          required: false
          schema:
            default: 50
            maximum: 200
            minimum: 1
            title: Limit
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChangePage'
          description: Successful Response
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - sourceKey: []
        - personToken: []
components:
  schemas:
    ChangePage:
      additionalProperties: false
      properties:
        items:
          items:
            $ref: '#/components/schemas/Change'
          title: Items
          type: array
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      required:
        - items
      title: ChangePage
      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
    Change:
      additionalProperties: false
      description: >-
        One entry of the change log a bisection walks: a pin that changed
        between two builds of an agent, or

        a section of the space's configuration that changed between two applied
        snapshots (`config`, named by

        the section, with no agent: every agent reads it, and its digests stand
        for the values).
      properties:
        after:
          anyOf:
            - type: string
            - type: 'null'
          title: After
        agent:
          anyOf:
            - maxLength: 256
              minLength: 1
              type: string
            - type: 'null'
          title: Agent
        at:
          format: date-time
          title: At
          type: string
        before:
          anyOf:
            - type: string
            - type: 'null'
          title: Before
        kind:
          enum:
            - prompt
            - model
            - code
            - data
            - config
            - compiler
          title: Kind
          type: string
        name:
          anyOf:
            - maxLength: 256
              minLength: 1
              type: string
            - type: 'null'
          description: The prompt or the tool, for those kinds.
          title: Name
      required:
        - kind
        - at
      title: Change
      type: object
  securitySchemes:
    sourceKey:
      type: http
      scheme: bearer
      description: nia_sk_...
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````