> ## 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 an extraction request

> Use this endpoint to retrieve the details of a specific extraction request by its identifier.



## OpenAPI

````yaml en/openapi/v3-current/matcher.yaml get /v1/discovery/extractions/{extractionId}
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: 4.3.0
  license:
    name: Lerian Studio General License
servers:
  - url: https://matcher.sandbox.lerian.net
security: []
paths:
  /v1/discovery/extractions/{extractionId}:
    get:
      tags:
        - Discovery
      summary: Get an extraction request
      description: >-
        Use this endpoint to retrieve the details of a specific extraction
        request by its identifier.
      operationId: getDiscoveryExtraction
      parameters:
        - description: A unique identifier for tracing the request across services.
          in: header
          name: X-Request-Id
          schema:
            type: string
        - description: The unique identifier of the extraction request.
          in: path
          name: extractionId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Extraction request details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtractionRequestResponse'
        '400':
          description: Invalid extraction ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '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'
        '404':
          description: Extraction not found
          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:
    ExtractionRequestResponse:
      description: An extraction request submitted to Fetcher
      properties:
        id:
          description: Internal identifier for the extraction request
          type: string
        connectionId:
          description: Connection this extraction was submitted to
          type: string
        status:
          description: Current lifecycle status of the extraction
          type: string
        ingestionJobId:
          description: Job identifier returned by Fetcher
          type: string
        startDate:
          description: Start of the extracted date range
          type: string
        endDate:
          description: End of the extracted date range
          type: string
        tables:
          description: Per-table extraction status
          additionalProperties:
            $ref: '#/components/schemas/ExtractionTableResponse'
          type: object
        filters:
          $ref: '#/components/schemas/ExtractionFilters'
        errorMessage:
          description: Error details if the extraction failed
          type: string
        createdAt:
          description: Timestamp when the extraction was requested
          type: string
        updatedAt:
          description: Timestamp of the last status update
          type: string
      type: object
    ErrorResponse:
      description: Standard error response returned by all API endpoints
      type: object
      required:
        - code
        - title
        - message
      properties:
        code:
          type: string
          description: Stable application error code.
          example: MTCH-0001
        title:
          type: string
          description: Human-readable error title.
          example: Bad Request
        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
    ExtractionTableResponse:
      description: Extraction status for a single table
      properties:
        columns:
          description: Columns included in the extraction
          items:
            type: string
          type: array
      type: object
    ExtractionFilters:
      description: Optional row-level filters for an extraction
      properties:
        equals:
          description: >-
            Key-value pairs where all specified fields must equal the given
            values
          additionalProperties:
            type: string
          type: object
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Bearer token authentication (format: "Bearer {token}")'

````