> ## 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 a v2 conversation with recent turns



## OpenAPI

````yaml /api-reference/openapi.json get /v1/v2/conversations/{conversation_id}
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/v2/conversations/{conversation_id}:
    get:
      tags:
        - runtime v2
      summary: Get a v2 conversation with recent turns
      operationId: getV2Conversation
      parameters:
        - name: conversation_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Conversation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/src__conversation__schemas__SessionDetailResponse
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    src__conversation__schemas__SessionDetailResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        end_user_id:
          type: string
          format: uuid
          title: End User Id
        channel:
          type: string
          title: Channel
        origin:
          anyOf:
            - type: string
              enum:
                - inbound
                - outbound
            - type: 'null'
          title: Origin
        external_session_id:
          anyOf:
            - type: string
            - type: 'null'
          title: External Session Id
        status:
          type: string
          enum:
            - queued
            - ringing
            - active
            - paused
            - waiting_for_human
            - transferred
            - awaiting_approval
            - closed
            - expired
            - error
            - superseded
          title: Status
        session_type:
          type: string
          enum:
            - live
            - test
            - simulation
          title: Session Type
          default: live
        priority:
          type: string
          enum:
            - low
            - normal
            - high
            - urgent
          title: Priority
        subject:
          anyOf:
            - type: string
            - type: 'null'
          title: Subject
        assigned_agent_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Assigned Agent Id
        retention_policy_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Retention Policy Id
        summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Summary
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
        context_variables:
          additionalProperties: true
          type: object
          title: Context Variables
        message_count:
          type: integer
          title: Message Count
        first_message_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: First Message At
        last_message_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Message At
        started_at:
          type: string
          format: date-time
          title: Started At
        ended_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Ended At
        closed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Closed At
        ttl_expires_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Ttl Expires At
        retention_expires_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Retention Expires At
        archived_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Archived At
        memory_synced:
          type: boolean
          title: Memory Synced
          default: false
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        duration_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Duration Ms
        summary_preview:
          anyOf:
            - type: string
            - type: 'null'
          title: Summary Preview
        has_recording:
          type: boolean
          title: Has Recording
          default: false
        eval_summary:
          $ref: '#/components/schemas/SessionEvalSummary'
        recent_turns:
          items:
            $ref: '#/components/schemas/src__conversation__schemas__TurnResponse'
          type: array
          title: Recent Turns
          default: []
        recording_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Recording Url
      type: object
      required:
        - id
        - organization_id
        - end_user_id
        - channel
        - status
        - priority
        - message_count
        - started_at
        - created_at
        - updated_at
      title: SessionDetailResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SessionEvalSummary:
      properties:
        total:
          type: integer
          title: Total
          default: 0
        succeeded:
          type: integer
          title: Succeeded
          default: 0
        failed:
          type: integer
          title: Failed
          default: 0
        pending:
          type: integer
          title: Pending
          default: 0
        critical_total:
          type: integer
          title: Critical Total
          default: 0
        critical_succeeded:
          type: integer
          title: Critical Succeeded
          default: 0
        critical_failed:
          type: integer
          title: Critical Failed
          default: 0
        critical_pending:
          type: integer
          title: Critical Pending
          default: 0
        eval_status:
          type: string
          enum:
            - success
            - partial
            - failure
            - pending
            - none
          title: Eval Status
          default: none
      type: object
      title: SessionEvalSummary
      description: >-
        Rollup of eval runs that targeted a session.


        `succeeded` = runs where status='completed' AND every score has
        passed=true.

        `failed` = total - succeeded - pending (failed-status runs +
        completed-but-not-all-passed).

        `pending` = runs still queued or running.


        The `critical_*` counterparts restrict the same aggregation to runs
        whose

        binding was marked `is_critical=True` (snapshotted onto the run). They
        drive

        the session headline pill — non-critical evals still run and display but

        don't move the verdict. `eval_status` collapses the critical counts to a

        single headline label (`none` when no criticals are configured).
    src__conversation__schemas__TurnResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        session_id:
          type: string
          format: uuid
          title: Session Id
        role:
          type: string
          enum:
            - user
            - assistant
            - system
            - tool
            - system_event
          title: Role
        content:
          type: string
          title: Content
        tool_calls:
          anyOf:
            - items:
                $ref: '#/components/schemas/ToolCall'
              type: array
            - type: 'null'
          title: Tool Calls
        tool_results:
          anyOf:
            - $ref: '#/components/schemas/ToolResult'
            - type: 'null'
        model_used:
          anyOf:
            - type: string
            - type: 'null'
          title: Model Used
        token_count:
          anyOf:
            - $ref: '#/components/schemas/TokenCount'
            - type: 'null'
        latency_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Latency Ms
        is_compacted:
          type: boolean
          title: Is Compacted
          default: false
        metadata:
          additionalProperties: true
          type: object
          title: Metadata
        created_at:
          type: string
          format: date-time
          title: Created At
        delivery_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Delivery Status
        authored_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Authored By
        evidence:
          anyOf:
            - oneOf:
                - $ref: '#/components/schemas/EvidencePackageDisplay'
                - $ref: '#/components/schemas/EvidencePackageFull'
              discriminator:
                propertyName: view
                mapping:
                  display:
                    $ref: '#/components/schemas/EvidencePackageDisplay'
                  full:
                    $ref: '#/components/schemas/EvidencePackageFull'
            - type: 'null'
          title: Evidence
      type: object
      required:
        - id
        - session_id
        - role
        - content
        - created_at
      title: TurnResponse
    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
    ToolCall:
      properties:
        id:
          type: string
          title: Id
        type:
          type: string
          title: Type
          default: function
        function:
          $ref: '#/components/schemas/ToolCallFunction'
      type: object
      required:
        - id
        - function
      title: ToolCall
    ToolResult:
      properties:
        tool_call_id:
          type: string
          title: Tool Call Id
        output:
          type: string
          title: Output
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
      type: object
      required:
        - tool_call_id
        - output
      title: ToolResult
    TokenCount:
      properties:
        input_tokens:
          type: integer
          title: Input Tokens
        output_tokens:
          type: integer
          title: Output Tokens
        total_tokens:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Tokens
      type: object
      required:
        - input_tokens
        - output_tokens
      title: TokenCount
    EvidencePackageDisplay:
      properties:
        view:
          type: string
          const: display
          title: View
          default: display
        schema_version:
          type: integer
          title: Schema Version
          default: 1
        package_id:
          type: string
          format: uuid
          title: Package Id
        conversation_id:
          type: string
          format: uuid
          title: Conversation Id
        message_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Message Id
        turn_id:
          type: string
          format: uuid
          title: Turn Id
        created_at:
          type: string
          format: date-time
          title: Created At
        evidence_status:
          type: string
          enum:
            - complete
            - partial
            - failed
            - not_applicable
          title: Evidence Status
        items:
          items:
            $ref: '#/components/schemas/EvidenceItemDisplay'
          type: array
          title: Items
      type: object
      required:
        - package_id
        - conversation_id
        - turn_id
        - created_at
        - evidence_status
        - items
      title: EvidencePackageDisplay
      description: >-
        End-user serialization view — source cards only, NO audit internals.


        A distinct model (not :class:`EvidencePackage` with a narrower config)
        so the

        omitted fields are absent from the schema, and so ``view`` yields a
        clean

        tagged union. ``organization_id``, ``agent_id`` and ``status_reason``
        are

        full-only and intentionally not present here.
    EvidencePackageFull:
      properties:
        schema_version:
          type: integer
          title: Schema Version
          default: 1
        package_id:
          type: string
          format: uuid
          title: Package Id
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        conversation_id:
          type: string
          format: uuid
          title: Conversation Id
        message_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Message Id
        turn_id:
          type: string
          format: uuid
          title: Turn Id
        agent_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Agent Id
        created_at:
          type: string
          format: date-time
          title: Created At
        evidence_status:
          type: string
          enum:
            - complete
            - partial
            - failed
            - not_applicable
          title: Evidence Status
        status_reason:
          anyOf:
            - type: string
              enum:
                - complete
                - no_kb_used
                - no_exposed_chunks
                - answerability_suppressed
                - partial_missing_source_rows
                - item_cap_applied
                - build_failed
            - type: 'null'
          title: Status Reason
        items:
          items:
            $ref: '#/components/schemas/EvidenceItem'
          type: array
          title: Items
        view:
          type: string
          const: full
          title: View
          default: full
      type: object
      required:
        - package_id
        - organization_id
        - conversation_id
        - turn_id
        - created_at
        - evidence_status
        - items
      title: EvidencePackageFull
      description: >-
        Staff/audit serialization view — the full envelope plus a ``view`` tag.


        Adds only the ``full`` discriminator literal; every audit field

        (scores/basis/band, ``rag_query_id``, chunk ids, hashes, constraints,

        ``status_reason``) rides through unchanged from
        :class:`EvidencePackage`.
    ToolCallFunction:
      properties:
        name:
          type: string
          title: Name
        arguments:
          type: string
          title: Arguments
      type: object
      required:
        - name
        - arguments
      title: ToolCallFunction
    EvidenceItemDisplay:
      properties:
        citation_marker:
          anyOf:
            - type: string
            - type: 'null'
          title: Citation Marker
        label:
          anyOf:
            - type: string
            - type: 'null'
          title: Label
        short_label:
          anyOf:
            - type: string
            - type: 'null'
          title: Short Label
        document_title:
          anyOf:
            - type: string
            - type: 'null'
          title: Document Title
        version_number:
          anyOf:
            - type: integer
            - type: 'null'
          title: Version Number
        section:
          anyOf:
            - $ref: '#/components/schemas/EvidenceSection'
            - type: 'null'
        deep_link:
          anyOf:
            - type: string
            - type: 'null'
          title: Deep Link
      type: object
      title: EvidenceItemDisplay
      description: |-
        One end-user source card — the ``display`` projection of an
        :class:`EvidenceItem`. Carries ONLY card fields; raw/basis/band scores,
        hashes, chunk ids, ``rag_query_id`` and constraints are never emitted.
    EvidenceItem:
      properties:
        evidence_id:
          type: string
          format: uuid
          title: Evidence Id
        rag_query_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Rag Query Id
        attribution_level:
          type: string
          const: exposed
          title: Attribution Level
          default: exposed
        prompt_order:
          anyOf:
            - type: integer
            - type: 'null'
          title: Prompt Order
        provenance:
          $ref: '#/components/schemas/EvidenceProvenance'
        position:
          anyOf:
            - $ref: '#/components/schemas/EvidencePosition'
            - type: 'null'
        score:
          anyOf:
            - $ref: '#/components/schemas/EvidenceScore'
            - type: 'null'
        usage_constraints:
          anyOf:
            - $ref: '#/components/schemas/EvidenceUsageConstraints'
            - type: 'null'
        display:
          anyOf:
            - $ref: '#/components/schemas/EvidenceDisplay'
            - type: 'null'
        source_trust:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Trust
        scan_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Scan Status
      type: object
      required:
        - evidence_id
        - provenance
      title: EvidenceItem
    EvidenceSection:
      properties:
        path_titles:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Path Titles
        path_numbers:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Path Numbers
        display_label:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Label
        confidence:
          type: string
          enum:
            - parsed
            - derived
            - unknown
          title: Confidence
          default: unknown
      type: object
      title: EvidenceSection
      description: A document section path — never a fabricated ``§N``.
    EvidenceProvenance:
      properties:
        kb_id:
          type: string
          format: uuid
          title: Kb Id
        kb_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Kb Name
        document_id:
          type: string
          format: uuid
          title: Document Id
        document_title:
          type: string
          title: Document Title
        version_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Version Id
        version_number:
          anyOf:
            - type: integer
            - type: 'null'
          title: Version Number
        source_type:
          type: string
          title: Source Type
        source_provider:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Provider
        deep_link:
          anyOf:
            - type: string
            - type: 'null'
          title: Deep Link
        filename:
          anyOf:
            - type: string
            - type: 'null'
          title: Filename
        section:
          anyOf:
            - $ref: '#/components/schemas/EvidenceSection'
            - type: 'null'
        chunk_id:
          type: string
          title: Chunk Id
        chunk_index:
          anyOf:
            - type: integer
            - type: 'null'
          title: Chunk Index
        content_sha256:
          anyOf:
            - type: string
            - type: 'null'
          title: Content Sha256
        last_processed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Processed At
      type: object
      required:
        - kb_id
        - document_id
        - document_title
        - source_type
        - chunk_id
      title: EvidenceProvenance
    EvidencePosition:
      properties:
        type:
          type: string
          const: text
          title: Type
          default: text
        start_char:
          anyOf:
            - type: integer
            - type: 'null'
          title: Start Char
        end_char:
          anyOf:
            - type: integer
            - type: 'null'
          title: End Char
      type: object
      title: EvidencePosition
    EvidenceScore:
      properties:
        retrieval_score_raw:
          anyOf:
            - type: number
            - type: 'null'
          title: Retrieval Score Raw
        retrieval_score_display:
          anyOf:
            - type: number
            - type: 'null'
          title: Retrieval Score Display
        score_basis:
          type: string
          enum:
            - raw_hybrid_dotproduct
            - minmax_normalized
            - reranked_original_score
            - grouped_unranked
          title: Score Basis
        band:
          type: string
          enum:
            - high
            - medium
            - low
            - unknown
          title: Band
          default: unknown
        calibrated:
          type: boolean
          title: Calibrated
          default: false
      type: object
      required:
        - score_basis
      title: EvidenceScore
      description: >-
        Relevance signal — NOT a probability (``calibrated=False`` always in
        v1).
    EvidenceUsageConstraints:
      properties:
        sensitivity:
          anyOf:
            - type: string
              enum:
                - public
                - internal
                - confidential
                - restricted
            - type: 'null'
          title: Sensitivity
        sensitivity_level:
          anyOf:
            - type: integer
            - type: 'null'
          title: Sensitivity Level
        visibility_mode:
          anyOf:
            - type: string
              enum:
                - org_wide
                - audience
            - type: 'null'
          title: Visibility Mode
        audience_tags:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Audience Tags
        constraint_source:
          type: string
          enum:
            - acl_columns
            - metadata
            - none
          title: Constraint Source
          default: none
        raw:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Raw
      type: object
      title: EvidenceUsageConstraints
      description: Carried, not enforced (v1).
    EvidenceDisplay:
      properties:
        label:
          type: string
          title: Label
        short_label:
          anyOf:
            - type: string
            - type: 'null'
          title: Short Label
        citation_marker:
          anyOf:
            - type: string
            - type: 'null'
          title: Citation Marker
      type: object
      required:
        - label
      title: EvidenceDisplay
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````