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

# Get the TemposTransacoes job of a reference month

> Use this endpoint to read the current state of the reference month's latest computation job. When status is COMPLETED, result carries the computed percentiles in the same shape delivered by webhook.



## OpenAPI

````yaml /es/openapi/v3-current/indirect-pix.yaml get /v1/statistics/tempos-transacoes/jobs/{referenceMonth}
openapi: 3.1.0
info:
  description: >-
    API for Pix Indirect via BTG. It covers DICT keys and claims; MED infraction
    reports, fraud markers, refund requests, and funds recoveries; DICT
    statistics and reconciliation; Pix transfers, refunds, and schedules; static
    QR codes and QR code decoding; immediate and due-date collections; Pix
    Automático for the payer; transaction reports and TemposTransacoes
    statistics; and inbound and outbound webhook records.
  title: Plugin BR Pix Indirect - Complete API
  version: 1.10.0
servers:
  - url: https://plugin-pix-indirect.api.lerian.net
security:
  - BearerAuth: []
paths:
  /v1/statistics/tempos-transacoes/jobs/{referenceMonth}:
    get:
      tags:
        - Statistics
      summary: Get the TemposTransacoes job of a reference month
      description: >-
        Use this endpoint to read the current state of the reference month's
        latest computation job. When status is COMPLETED, result carries the
        computed percentiles in the same shape delivered by webhook.
      operationId: getTemposTransacoesReportJob
      parameters:
        - description: >-
            Reference month of the job, in YYYY-MM format (-03 reference
            timezone).
          in: path
          name: referenceMonth
          required: true
          schema:
            description: >-
              Reference month of the job, in YYYY-MM format (-03 reference
              timezone).
            examples:
              - 2026-05
            pattern: ^\d{4}-(0[1-9]|1[0-2])$
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportJobResponse'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorBody'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorBody'
          description: Internal Server Error
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorBody'
          description: Error
components:
  schemas:
    ReportJobResponse:
      additionalProperties: false
      properties:
        completedAt:
          description: When the job reached a terminal state.
          format: date-time
          type: string
        errorMessage:
          description: >-
            Generic failure reason when status is FAILED, including manual
            cancellations.
          type: string
        referenceMonth:
          description: Reference month of the job, in YYYY-MM format.
          examples:
            - 2026-05
          type: string
        requestedAt:
          description: When the job was accepted.
          format: date-time
          type: string
        result:
          description: Computed percentiles. Present only when status is COMPLETED.
          oneOf:
            - $ref: '#/components/schemas/TemposTransacoesStatistics'
            - type: 'null'
        startedAt:
          description: When background processing started. Absent while PENDING.
          format: date-time
          type: string
        status:
          description: >-
            PENDING = accepted, not started; RUNNING = in progress; COMPLETED =
            result available; FAILED = see errorMessage (includes cancelled
            jobs).
          enum:
            - PENDING
            - RUNNING
            - COMPLETED
            - FAILED
          type: string
      required:
        - referenceMonth
        - status
        - requestedAt
      type: object
    LegacyErrorBody:
      additionalProperties: false
      properties:
        fields:
          additionalProperties:
            type: string
          type: object
        headers:
          additionalProperties:
            type: string
          type: object
        message:
          type: string
        paths:
          additionalProperties:
            type: string
          type: object
        queryParams:
          additionalProperties:
            type: string
          type: object
        raw:
          type: string
        code:
          type: string
        title:
          type: string
      required:
        - code
        - title
        - message
      type: object
    TemposTransacoesStatistics:
      additionalProperties: false
      properties:
        liqForaSpi:
          $ref: '#/components/schemas/PercentileRail'
        liqSpi:
          $ref: '#/components/schemas/PercentileRail'
        referenceMonth:
          type: string
        unit:
          type: string
      required:
        - referenceMonth
        - unit
        - liqSpi
        - liqForaSpi
      type: object
    PercentileRail:
      additionalProperties: false
      properties:
        perc50:
          format: double
          type: number
        perc99:
          format: double
          type: number
        transactionCount:
          format: int64
          type: integer
      required:
        - perc50
        - perc99
        - transactionCount
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: JWT
      description: JWT bearer token issued by the identity provider.
      scheme: bearer
      type: http

````