> ## 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 Fetcher bridge readiness summary

> Returns aggregate counts of Fetcher extractions partitioned by bridge readiness state (pending, ready, stale, failed, in_flight) for the requesting tenant. Powers the operational dashboard backlog widget.



## OpenAPI

````yaml /en/openapi/v3-current/matcher.yaml get /v1/discovery/extractions/bridge/summary
openapi: 3.1.0
info:
  title: Matcher APIs
  description: >-
    Complete API reference for the Matcher reconciliation engine, providing
    automated transaction matching between Midaz Ledger and external systems.
  version: v2.1.1
  license:
    name: Elastic License 2.0
    url: https://www.elastic.co/licensing/elastic-license
servers:
  - url: https://matcher.sandbox.lerian.net
security: []
paths:
  /v1/discovery/extractions/bridge/summary:
    get:
      tags:
        - Discovery
      summary: Get Fetcher bridge readiness summary
      description: >-
        Returns aggregate counts of Fetcher extractions partitioned by bridge
        readiness state (pending, ready, stale, failed, in_flight) for the
        requesting tenant. Powers the operational dashboard backlog widget.
      operationId: getDiscoveryBridgeReadinessSummary
      parameters:
        - description: A unique identifier for tracing the request across services.
          in: header
          name: X-Request-Id
          schema:
            type: string
      responses:
        '200':
          description: Aggregate readiness counts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BridgeReadinessSummaryResponse'
        '401':
          description: The request lacks valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: You do not have permission to access this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: An unexpected error occurred on the server.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    BridgeReadinessSummaryResponse:
      description: >-
        Aggregate counts of Fetcher extractions partitioned by bridge readiness
        state for the requesting tenant.
      type: object
      required:
        - readyCount
        - pendingCount
        - staleCount
        - failedCount
        - inFlightCount
        - totalCount
        - staleThresholdSec
        - generatedAt
        - workerHealthy
      properties:
        readyCount:
          description: Number of extractions in the ready state.
          type: integer
          format: int64
          example: 10
        pendingCount:
          description: Number of extractions in the pending state.
          type: integer
          format: int64
          example: 5
        staleCount:
          description: Number of extractions in the stale state.
          type: integer
          format: int64
          example: 2
        failedCount:
          description: Number of extractions in the failed state.
          type: integer
          format: int64
          example: 1
        inFlightCount:
          description: >-
            Number of upstream extractions still running
            (PENDING/SUBMITTED/EXTRACTING).
          type: integer
          format: int64
          example: 3
        totalCount:
          description: Total count of extractions (sum of all buckets).
          type: integer
          format: int64
          example: 21
        staleThresholdSec:
          description: The staleness threshold in seconds used to partition extractions.
          type: integer
          format: int64
          example: 3600
        generatedAt:
          description: Timestamp when the summary was generated.
          type: string
          format: date-time
          example: '2025-01-01T00:00:00Z'
        workerLastTickAt:
          description: >-
            Latest cycle timestamp written by any bridge worker replica. Omitted
            when no heartbeat has been observed.
          type:
            - string
            - 'null'
          format: date-time
          example: '2025-01-01T00:00:00Z'
        workerStalenessSeconds:
          description: >-
            Seconds since the last worker heartbeat. Omitted alongside
            workerLastTickAt.
          type:
            - integer
            - 'null'
          format: int64
          example: 120
        workerHealthy:
          description: Server-side verdict on whether the bridge worker is healthy.
          type: boolean
          example: true
    ErrorResponse:
      description: Standard error response returned by all API endpoints
      type: object
      required:
        - code
        - title
        - message
      properties:
        code:
          type: string
          description: HTTP status code as a string.
          example: '404'
        title:
          type: string
          description: Error type identifier.
          example: not_found
        message:
          type: string
          description: Human-readable error message with details.
          example: context not found
        error:
          type: string
          description: Deprecated. Error message for backward compatibility.
          deprecated: true
        details:
          description: Additional error context as key-value pairs
          additionalProperties: {}
          type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Bearer token authentication (format: "Bearer {token}")'

````