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

# Register a non-compliance justification (admin)

> Records an institution's justification on an SLA-breach non-compliance log: the justification is sealed server-side under the record's envelope and persisted append-once. The institution is derived from the validated request identity, never the body. The log id comes from the path. The justification is PII and is never logged nor echoed.



## OpenAPI

````yaml en/openapi/v3-current/sisbajud.yaml post /v1/admin/non-compliance-logs/{id}/justification
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/non-compliance-logs/{id}/justification:
    post:
      tags:
        - Admin
      summary: Register a non-compliance justification (admin)
      description: >-
        Records an institution's justification on an SLA-breach non-compliance
        log: the justification is sealed server-side under the record's envelope
        and persisted append-once. The institution is derived from the validated
        request identity, never the body. The log id comes from the path. The
        justification is PII and is never logged nor echoed.
      parameters:
        - description: Non-compliance log id (UUID)
          in: path
          name: id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/http.PostJustificationBody'
        description: Justification
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.PostJustificationResponse'
        '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'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.AdminErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.AdminErrorResponse'
        '422':
          description: Unprocessable Entity
          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'
      security:
        - BearerAuth: []
components:
  schemas:
    http.PostJustificationBody:
      properties:
        justificativa:
          maxLength: 4096
          minLength: 1
          type: string
      required:
        - justificativa
      type: object
    http.PostJustificationResponse:
      properties:
        id:
          description: >-
            ID is the opaque non-compliance log id (a UUID) the justification
            was recorded

            against. The format:"uuid" tag advertises it as such in the
            generated OpenAPI

            schema so clients validate the shape.
          format: uuid
          type: string
      type: object
    http.AdminErrorResponse:
      properties:
        code:
          type: string
        details:
          additionalProperties: {}
          type: object
        message:
          type: string
        title:
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      description: 'Bearer token authentication (format: "Bearer {token}")'
      in: header
      name: Authorization
      type: apiKey

````