> ## 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.

# List the topics extracted for a run

> Returns the topics (density clusters of the embedded source metadata, named by an LLM) for a run, biggest first. Topics are produced automatically once embedding completes — poll the run until its `topicsStatus` is `ready`, then read them here. Empty while clustering is pending/running or when no dense topics were found.



## OpenAPI

````yaml https://api.mentionlab.io/api/docs-json get /api/v1/source-topics/runs/{runId}/topics
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/v1/source-topics/runs/{runId}/topics:
    get:
      tags:
        - Source Topics
      summary: List the topics extracted for a run
      description: >-
        Returns the topics (density clusters of the embedded source metadata,
        named by an LLM) for a run, biggest first. Topics are produced
        automatically once embedding completes — poll the run until its
        `topicsStatus` is `ready`, then read them here. Empty while clustering
        is pending/running or when no dense topics were found.
      operationId: SourceTopicsV1Controller_listTopicRunTopics_v1
      parameters:
        - name: runId
          required: true
          in: path
          description: UUID of the run whose topics to retrieve.
          schema:
            type: string
            format: uuid
        - name: x-project-id
          in: header
          description: Project ID to specify the project context
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SourceTopicTopicsListResponse'
        '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:
    SourceTopicTopicsListResponse:
      type: object
      properties:
        topics:
          description: The run topics (clusters), biggest first.
          type: array
          items:
            $ref: '#/components/schemas/SourceTopicTopicResponse'
      required:
        - topics
    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
    SourceTopicTopicResponse:
      type: object
      properties:
        id:
          type: string
          description: Topic (cluster) UUID.
          example: 019dd32e-b19e-7956-88f6-4b9a877f3697
        rank:
          type: number
          description: >-
            1-based priority rank within the run (1 = highest citation weight at
            analysis time).
          example: 1
        label:
          type: string
          description: LLM-assigned topic label.
          example: Electric vehicle charging
        keywords:
          description: Keywords summarizing the topic.
          example:
            - ev charging
            - charging network
            - fast charger
          type: array
          items:
            type: string
        size:
          type: number
          description: Number of source snapshots grouped in this topic.
          example: 14
        memberPointIds:
          description: Qdrant point ids of the sources in this topic.
          example:
            - 019dd32e-b19e-7956-88f6-4b9a877f3697
          type: array
          items:
            type: string
      required:
        - id
        - rank
        - label
        - keywords
        - size
        - memberPointIds

````