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

# Obter uma operação de liquidação

> Retorna o detalhe completo de uma operação, incluindo seus eslcErrors registrados.



## OpenAPI

````yaml pt/openapi/v3-current/slc.yaml get /v1/operations/{id}
openapi: 3.0.3
info:
  title: Lerian SLC API
  description: >-
    API do Lerian SLC — o rail do lado do participante que conecta a instituição
    à liquidação de cartões por líquido diferido SLC da Núclea. Abrange a
    admissão e o ciclo de vida das operações de liquidação, as posições de
    compensação, o registro de participantes e arranjos, a recuperação de
    transmissão e a conectividade com a Núclea, a importação de chave de
    assinatura BYOK Modelo A e os webhooks com escopo no tenant.
  version: v1.0.0
servers:
  - url: https://slc.sandbox.lerian.net
security: []
tags:
  - name: Admin
    description: Configuração do tenant e administração de cartas mortas.
  - name: Clearing
    description: Posições de compensação por líquido diferido da instituição liquidante.
  - name: Connectivity
    description: >-
      Drenos de recuperação de transmissão, retransmissão e sondas de
      conectividade com a Núclea.
  - name: Operations
    description: >-
      Admissão, ciclo de vida e histórico de estados das operações de
      liquidação.
  - name: Participants
    description: Registro de participantes do tenant.
  - name: Arrangements
    description: Arranjos de cartão e esquema por participante.
  - name: SigningKey
    description: >-
      Importação de chave de assinatura BYOK Modelo A para a assinatura de
      mensagens.
  - name: Webhooks
    description: Assinaturas de webhook com escopo no tenant, entregas e reenvio.
paths:
  /v1/operations/{id}:
    get:
      tags:
        - Operations
      summary: Obter uma operação de liquidação
      description: >-
        Retorna o detalhe completo de uma operação, incluindo seus eslcErrors
        registrados.
      operationId: getOperation
      parameters:
        - description: Operation id (UUID)
          in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.OperationDetailResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.ErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http.ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    http.OperationDetailResponse:
      properties:
        arrangementCode:
          type: string
        aslcType:
          type: string
        batchId:
          type: string
        cancellationTargetOperationId:
          description: >-
            CancellationTargetOperationId is the id of the movement a
            Núclea-coordinated

            CANCELLATION targets (E-5.3). Populated ONLY on the CANCELLATION
            path (null for

            every other type), so a consumer can correlate a cancellation to the
            operation it

            cancels. Mirrors the optional SettlementIfISPB projection (nullable,
            always present).
          type: string
        createdAt:
          type: string
        creditorIspb:
          type: string
        currency:
          type: string
        domicileIfIspb:
          type: string
        dueDate:
          type: string
        eslcErrors:
          items:
            type: string
          type: array
        externalId:
          type: string
        id:
          type: string
        installmentNumber:
          type: integer
        installments:
          type: integer
        intakeMode:
          type: string
        lastError:
          type: string
        nuliquid:
          type: string
        operationType:
          type: string
        participantId:
          type: string
        participantRole:
          type: string
        reasonCategory:
          type: string
        settlementIfIspb:
          type: string
        state:
          type: string
        stuckSince:
          type: string
        updatedAt:
          type: string
        value:
          type: integer
        waitingFor:
          description: >-
            Recoverability diagnostics: the operator distinguishes an external
            wait (waitingFor set → use reconcile) from an internal block
            (waitingFor nil + stuckSince set → use advance/requeue); lastError
            carries the most recent recorded Núclea error.
          type: string
      type: object
    http.ErrorResponse:
      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

````