> ## Documentation Index
> Fetch the complete documentation index at: https://doc.featherhq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get latest structured extraction for a session



## OpenAPI

````yaml /api-reference/openapi.json get /v1/conversations/{session_id}/extraction
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.21.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/conversations/{session_id}/extraction:
    get:
      tags:
        - extractions
      summary: Get latest structured extraction for a session
      operationId: getSessionExtraction
      parameters:
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtractionResultResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    ExtractionResultResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        session_id:
          type: string
          format: uuid
          title: Session Id
        agent_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Agent Id
        schema_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Schema Id
        schema_version:
          type: integer
          title: Schema Version
        status:
          type: string
          enum:
            - completed
            - partial
            - validation_failed
            - failed
            - skipped
          title: Status
        skip_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Skip Reason
        extracted_data:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Extracted Data
        validation_errors:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Validation Errors
        missing_required_fields:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Missing Required Fields
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
        model_used:
          anyOf:
            - type: string
            - type: 'null'
          title: Model Used
        tokens_input:
          anyOf:
            - type: integer
            - type: 'null'
          title: Tokens Input
        tokens_output:
          anyOf:
            - type: integer
            - type: 'null'
          title: Tokens Output
        latency_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Latency Ms
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - organization_id
        - session_id
        - agent_id
        - schema_id
        - schema_version
        - status
        - skip_reason
        - extracted_data
        - validation_errors
        - missing_required_fields
        - error_message
        - model_used
        - tokens_input
        - tokens_output
        - latency_ms
        - created_at
        - updated_at
      title: ExtractionResultResponse
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
      type: object
      required:
        - error
        - message
      title: ErrorResponse
      description: Standard error response returned by all API error handlers.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````