> ## 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 Retrieval Log

> Get a single retrieval log by ID.



## OpenAPI

````yaml /openapi.json get /v1/vaults/{vault_id}/retrieval-logs/{log_id}
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: 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: workspaces
    description: Workspace and membership management.
  - name: vaults
    description: Context vault management.
paths:
  /v1/vaults/{vault_id}/retrieval-logs/{log_id}:
    get:
      tags:
        - vaults
      summary: Get Retrieval Log
      description: Get a single retrieval log by ID.
      operationId: get_retrieval_log_v1_vaults__vault_id__retrieval_logs__log_id__get
      parameters:
        - name: vault_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Vault Id
        - name: log_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Log Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetrievalLogOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    RetrievalLogOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        prompt:
          type: string
          title: Prompt
        status:
          type: string
          title: Status
        duration_ms:
          type: integer
          title: Duration Ms
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
        chunks_returned:
          anyOf:
            - type: integer
            - type: 'null'
          title: Chunks Returned
        accessed_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Accessed By
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - prompt
        - status
        - duration_ms
        - error_message
        - chunks_returned
        - accessed_by
        - created_at
      title: RetrievalLogOut
      description: Retrieval log output for analytics.
    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:
    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_`).'
    HTTPBearer:
      type: http
      scheme: bearer

````