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

# Fetch one AI response’s full text (for the in-context evidence viewer)

> Returns the full text + minimal context of a single AI response (project-scoped) so a drill-down can highlight an evidence span in its original answer.



## OpenAPI

````yaml https://api.mentionlab.io/api/docs-json post /api/analytics/themes/response
openapi: 3.0.0
info:
  title: MentionLab Public API v0.3.4-rc
  description: ''
  version: 0.3.4-rc
  contact: {}
servers:
  - url: https://api.mentionlab.io
security: []
tags: []
paths:
  /api/analytics/themes/response:
    post:
      tags:
        - Analytics - Themes
      summary: Fetch one AI response’s full text (for the in-context evidence viewer)
      description: >-
        Returns the full text + minimal context of a single AI response
        (project-scoped) so a drill-down can highlight an evidence span in its
        original answer.
      operationId: ThemesController_getResponseText
      parameters:
        - name: x-project-id
          in: header
          description: Project ID to specify the project context
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResponseTextDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseTextResponse'
        '400':
          description: >-
            The request failed validation — the body, query or path parameters
            are malformed or out of range.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: The request is missing valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '403':
          description: >-
            The authenticated principal lacks the required permission, or access
            to the requested organisation/project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
components:
  schemas:
    ResponseTextDto:
      type: object
      properties:
        aiResponseId:
          type: string
          description: AI response id.
          example: 550e8400-e29b-41d4-a716-446655440000
      required:
        - aiResponseId
    ResponseTextResponse:
      type: object
      properties:
        aiResponseId:
          type: string
        initiatedAt:
          type: string
          description: When the response was generated (ISO 8601).
        model:
          type: string
          nullable: true
        queryId:
          type: string
          nullable: true
        queryText:
          type: string
          nullable: true
          description: The query prompt text.
        text:
          type: string
          nullable: true
          description: Full AI response text.
      required:
        - aiResponseId
        - initiatedAt
        - model
        - queryId
        - queryText
        - text
    ApiErrorResponse:
      type: object
      properties:
        statusCode:
          type: number
          description: HTTP status code of the error.
          example: 400
        message:
          type: string
          description: >-
            Human-readable description of the error. Validation failures return
            an array of per-field validation errors instead of a single string.
          example: Validation failed
        error:
          type: string
          description: Short name of the HTTP error.
          example: Bad Request
      required:
        - statusCode

````