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

# Verify audit trail range (admin)

> Re-verifies the resolved institution's append-only audit log over [fromIndex, toIndex] (inclusive leaf indexes) WITHOUT decrypting any payload, returning a non-sensitive tamper / internal-deletion report. A tamper or missing index is reported with ok:false (200), not an error. The window [fromIndex, toIndex] is inclusive and may span at most the configured maximum (default 10000) leaf indexes; a larger window is refused with 400.



## OpenAPI

````yaml en/openapi/v3-current/sisbajud.yaml get /v1/admin/audit/verify
openapi: 3.0.3
info:
  title: Lerian SISBAJUD API
  description: >-
    API for Lerian SISBAJUD — the participant-side rail that integrates the
    institution with Banco Central do Brasil's SISBAJUD (Sistema de Busca de
    Ativos do Poder Judiciário) system for judicial asset blocking and
    unblocking. It covers judicial-order administration, remittance and return
    file management, reconciliation, SLA monitoring, LGPD data-subject requests,
    and per-institution configuration and connector credentials.
  version: v1.0.0
servers:
  - url: https://sisbajud.sandbox.lerian.net
security: []
tags:
  - name: Admin
    description: >-
      Administrative operations over judicial orders: listing and detail,
      failed-order reprocessing, remittance and return file access,
      reconciliation runs and status, SLA-risk monitoring, processing
      statistics, audit-trail verification, cross-organization subject
      summaries, and LGPD data-subject requests and justifications.
  - name: Institution
    description: >-
      Per-institution configuration and connector credentials: configuration
      upsert with tokenization-keyset provisioning, safe configuration read, and
      outbound connector credential registration and rotation.
paths:
  /v1/admin/audit/verify:
    get:
      tags:
        - Admin
      summary: Verify audit trail range (admin)
      description: >-
        Re-verifies the resolved institution's append-only audit log over
        [fromIndex, toIndex] (inclusive leaf indexes) WITHOUT decrypting any
        payload, returning a non-sensitive tamper / internal-deletion report. A
        tamper or missing index is reported with ok:false (200), not an error.
        The window [fromIndex, toIndex] is inclusive and may span at most the
        configured maximum (default 10000) leaf indexes; a larger window is
        refused with 400.
      parameters:
        - description: First leaf index (inclusive, >= 0)
          in: query
          name: fromIndex
          required: true
          schema:
            type: integer
        - description: >-
            Last leaf index (inclusive, >= fromIndex; window span <= the
            configured maximum, default 10000)
          in: query
          name: toIndex
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.AuditVerifyResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.AdminErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.AdminErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.AdminErrorResponse'
        '503':
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.AdminErrorResponse'
components:
  schemas:
    http.AuditVerifyResponse:
      properties:
        firstMissingIndex:
          type: integer
        firstTamperedIndex:
          type: integer
        fromIndex:
          type: integer
        ok:
          type: boolean
        toIndex:
          type: integer
        verified:
          type: integer
      type: object
    http.AdminErrorResponse:
      properties:
        code:
          type: string
        details:
          additionalProperties: {}
          type: object
        message:
          type: string
        title:
          type: string
      type: object

````