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

# Get Corpus Manifest

> Return every non-test response that completed or contains transcript text.



## OpenAPI

````yaml /openapi.json get /v1/interviews/{interview_id}/corpus/manifest
openapi: 3.1.0
info:
  title: Ontora API
  description: >-
    Ontora's public API. Covers interview campaigns, transcripts, synthesis
    reports, graph queries, webhooks, and workspace management. 


    **Authentication**: endpoints accept either a Clerk JWT (`Authorization:
    Bearer <token>`) or a workspace API key (`X-API-Key: ont_...`). Workspace
    keys are managed via `/v1/api-keys`.
  version: 0.1.0
servers: []
security:
  - ClerkJWT: []
  - WorkspaceApiKey: []
tags:
  - name: interviews
    description: Campaign CRUD, lifecycle, contacts, question sets.
  - name: campaign-insights
    description: Synthesis outputs — cartography, roadmap, personas, conversations.
  - name: interview-query
    description: Graph RAG query over campaign data.
  - name: campaign-reports
    description: Versioned synthesis Reports — manual regenerate, version history.
  - name: interview-export
    description: Markdown / ZIP exports of transcripts and reports.
  - name: api-keys
    description: Manage workspace-scoped API keys for programmatic access.
  - name: webhook-endpoints
    description: Outbound webhook endpoints for automation.
  - name: booking
    description: Public self-scheduling endpoints for interview participants.
  - name: join
    description: Public QR-code / share-link self-registration for campaign participants.
  - name: workspaces
    description: Workspace and membership management.
  - name: vaults
    description: Context vault management.
paths:
  /v1/interviews/{interview_id}/corpus/manifest:
    get:
      tags:
        - protected-corpus
      summary: Get Corpus Manifest
      description: >-
        Return every non-test response that completed or contains transcript
        text.
      operationId: get_corpus_manifest_v1_interviews__interview_id__corpus_manifest_get
      parameters:
        - name: interview_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Interview Id
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CorpusManifestOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CorpusManifestOut:
      properties:
        schema_version:
          type: string
          const: corpus-manifest-v1
          title: Schema Version
        campaign_id:
          type: string
          title: Campaign Id
        scope:
          type: string
          const: completed_or_contentful_conversations
          title: Scope
        generated_at:
          type: string
          title: Generated At
        total_records:
          type: integer
          title: Total Records
        records_with_transcript:
          type: integer
          title: Records With Transcript
        records_without_transcript:
          type: integer
          title: Records Without Transcript
        complete_records:
          type: integer
          title: Complete Records
        incomplete_records:
          type: integer
          title: Incomplete Records
        counts_by_status:
          additionalProperties:
            type: integer
          type: object
          title: Counts By Status
        counts_by_release_status:
          additionalProperties:
            type: integer
          type: object
          title: Counts By Release Status
        counts_by_transcript_source:
          additionalProperties:
            type: integer
          type: object
          title: Counts By Transcript Source
        records_with_question_mapping_gaps:
          type: integer
          title: Records With Question Mapping Gaps
        records_with_question_mapping_conflicts:
          type: integer
          title: Records With Question Mapping Conflicts
        excluded_by_reason:
          additionalProperties:
            type: integer
          type: object
          title: Excluded By Reason
        records:
          items:
            $ref: '#/components/schemas/CorpusRecordReferenceOut'
          type: array
          title: Records
        manifest_hash:
          type: string
          pattern: ^[0-9a-fA-F]{64}$
          title: Manifest Hash
        truncated:
          type: boolean
          const: false
          title: Truncated
        max_record_count:
          type: integer
          title: Max Record Count
        max_turns_per_record:
          type: integer
          title: Max Turns Per Record
        max_record_bytes:
          type: integer
          title: Max Record Bytes
        max_export_bytes:
          type: integer
          title: Max Export Bytes
        guide:
          items:
            $ref: '#/components/schemas/CorpusGuideQuestionOut'
          type: array
          title: Guide
        guide_hash:
          type: string
          pattern: ^[0-9a-fA-F]{64}$
          title: Guide Hash
        ndjson_hash:
          type: string
          pattern: ^[0-9a-fA-F]{64}$
          title: Ndjson Hash
      type: object
      required:
        - schema_version
        - campaign_id
        - scope
        - generated_at
        - total_records
        - records_with_transcript
        - records_without_transcript
        - complete_records
        - incomplete_records
        - counts_by_status
        - counts_by_release_status
        - counts_by_transcript_source
        - records_with_question_mapping_gaps
        - records_with_question_mapping_conflicts
        - excluded_by_reason
        - records
        - manifest_hash
        - truncated
        - max_record_count
        - max_turns_per_record
        - max_record_bytes
        - max_export_bytes
        - guide
        - guide_hash
        - ndjson_hash
      title: CorpusManifestOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CorpusRecordReferenceOut:
      properties:
        response_id:
          type: string
          title: Response Id
        status:
          type: string
          title: Status
        is_complete:
          type: boolean
          title: Is Complete
        has_transcript:
          type: boolean
          title: Has Transcript
        release_status:
          type: string
          enum:
            - raw_citable
            - anonymous_citable
            - aggregate_only
          title: Release Status
        transcript_revision:
          type: integer
          title: Transcript Revision
        transcript_turn_count:
          type: integer
          title: Transcript Turn Count
        transcript_source:
          type: string
          enum:
            - canonical
            - legacy_json
            - none
          title: Transcript Source
        guide_hash:
          type: string
          pattern: ^[0-9a-fA-F]{64}$
          title: Guide Hash
        question_mapping_status:
          type: string
          enum:
            - complete
            - gaps_present
          title: Question Mapping Status
        question_mapping_conflict_count:
          type: integer
          title: Question Mapping Conflict Count
        answered_question_count:
          type: integer
          title: Answered Question Count
        record_hash:
          type: string
          pattern: ^[0-9a-fA-F]{64}$
          title: Record Hash
      type: object
      required:
        - response_id
        - status
        - is_complete
        - has_transcript
        - release_status
        - transcript_revision
        - transcript_turn_count
        - transcript_source
        - guide_hash
        - question_mapping_status
        - question_mapping_conflict_count
        - answered_question_count
        - record_hash
      title: CorpusRecordReferenceOut
    CorpusGuideQuestionOut:
      properties:
        key:
          type: string
          title: Key
        question_id:
          type: string
          title: Question Id
        topic_id:
          type: string
          title: Topic Id
        topic:
          type: string
          title: Topic
        question:
          type: string
          title: Question
        question_type:
          type: string
          title: Question Type
        options:
          items: {}
          type: array
          title: Options
        component_config:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Component Config
      type: object
      required:
        - key
        - question_id
        - topic_id
        - topic
        - question
        - question_type
        - options
        - component_config
      title: CorpusGuideQuestionOut
    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:
    ClerkJWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Clerk-issued RS256 JWT.
    WorkspaceApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Workspace-scoped API key (prefix: `ont_`).'

````