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

# Append a snapshot to the rolling index

> Diff one snapshot against the previous index entry and append the result
to `rolling_index.json`.

Called by n8n after each scrape. Re-appending a snapshot already in the index
replaces its entry in place.



## OpenAPI

````yaml /openapi.json post /append-index
openapi: 3.1.0
info:
  title: Table Mutation Tracker scraper API
  description: Called by the n8n orchestrator. Not intended for direct public use.
  version: 1.0.0
servers:
  - url: https://scraper.example.com
    description: Your scraper deployment
security: []
paths:
  /append-index:
    post:
      tags:
        - Rolling index
      summary: Append a snapshot to the rolling index
      description: >-
        Diff one snapshot against the previous index entry and append the result

        to `rolling_index.json`.


        Called by n8n after each scrape. Re-appending a snapshot already in the
        index

        replaces its entry in place.
      operationId: append_index_append_index_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppendIndexBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '401':
          description: Missing or invalid `X-Webhook-Secret` header.
        '409':
          description: >-
            The snapshot is older than the newest index entry. The body is
            `{"detail": {"status": "needs-rebuild", "reason": ...}}`; call
            `/rebuild-index`.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: '`WEBHOOK_SECRET`, `GITHUB_TOKEN`, or `DATA_REPO` is not configured.'
      security:
        - APIKeyHeader: []
components:
  schemas:
    AppendIndexBody:
      properties:
        date:
          type: string
          title: Date
          description: Snapshot date, `YYYY-MM-DD`.
          examples:
            - '2026-06-05'
        time:
          type: string
          title: Time
          description: Snapshot time, `HHMMSS`.
          examples:
            - '153000'
      type: object
      required:
        - date
        - time
      title: AppendIndexBody
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      description: >-
        Shared secret configured as `WEBHOOK_SECRET` on the scraper and as a
        Header Auth credential in n8n.
      in: header
      name: X-Webhook-Secret

````

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