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

# Get full detail for a single run

> Returns the full detail of one run — its AI response citations, mentioned entities with sentiment and run metadata; a run with no stored response (pending or failed) is treated as not found.



## OpenAPI

````yaml https://api.mentionlab.io/api/docs-json get /api/v1/job-executions/{id}
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/job-executions/{id}:
    get:
      tags:
        - Job Executions
      summary: Get full detail for a single run
      description: >-
        Returns the full detail of one run — its AI response citations,
        mentioned entities with sentiment and run metadata; a run with no stored
        response (pending or failed) is treated as not found.
      operationId: JobExecutionsV1Controller_getDetail_v1
      parameters:
        - name: id
          required: true
          in: path
          description: The job execution id (`jobExecutionId`, UUID) of the run to fetch.
          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/JobExecutionDetailResponse'
        '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:
    JobExecutionDetailResponse:
      type: object
      properties:
        jobExecutionId:
          type: string
          format: uuid
          description: Job execution (run) ID.
          example: 3f1a7b2c-9d4e-4f6a-8b1c-2e5f7a9d0c11
        aiResponseId:
          type: string
          format: uuid
          description: AI response ID produced by this run.
          example: a8d2e4f0-1b3c-4d5e-9f8a-7c6b5a4d3e2f
        queryId:
          type: string
          format: uuid
          description: Query ID this run answered, if any.
          example: c2b4d6e8-0a1f-4c3d-8e7b-6a5f4d3c2b1a
        jobId:
          type: string
          format: uuid
          description: Job ID this run belongs to.
          example: d9c8b7a6-5f4e-4d3c-9b2a-1e0f9d8c7b6a
        initiatedAt:
          format: date-time
          type: string
          description: When the response was initiated.
          example: '2026-06-08T10:15:30.000Z'
        createdAt:
          format: date-time
          type: string
          description: When the response row was created.
          example: '2026-06-08T10:15:31.000Z'
        model:
          type: string
          description: AI model used.
          example: gpt-4o
        country:
          type: string
          description: Country code.
          example: US
        language:
          type: string
          description: Language code.
          example: en
        status:
          type: string
          enum:
            - pending
            - success
            - failed
            - retrying
          description: Run status.
        executionNumber:
          type: number
          description: Execution number within the job (retry counter).
          example: 1
        hasSources:
          type: boolean
          description: Whether the response includes source citations.
          example: true
        hasShopping:
          type: boolean
          description: Whether the response includes shopping products.
          example: false
        sources:
          description: Source citations found in this response.
          type: array
          items:
            $ref: '#/components/schemas/QueryResultSourceItem'
        entities:
          description: Entities mentioned in this response (after canonical dedup).
          type: array
          items:
            $ref: '#/components/schemas/QueryResultEntityItem'
      required:
        - jobExecutionId
        - aiResponseId
        - jobId
        - initiatedAt
        - createdAt
        - model
        - status
        - executionNumber
        - hasSources
        - hasShopping
        - sources
        - entities
    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
    QueryResultSourceItem:
      type: object
      properties:
        domain:
          type: string
          description: Root domain of the cited source (e.g. reddit.com).
          example: reddit.com
        url:
          type: string
          description: Full URL of the cited page, if available.
          example: https://reddit.com/r/crm/...
      required:
        - domain
    QueryResultEntityItem:
      type: object
      properties:
        displayKey:
          type: string
          description: >-
            Canonical entity ID. When aliases are merged, all variants resolve
            to this single key.
          example: 550e8400-e29b-41d4-a716-446655440000
        displayName:
          type: string
          description: Human-readable entity name.
          example: Acme Corp
        isPrimary:
          type: boolean
          description: Whether this entity is the primary (main) entity for the project.
          example: true
        sentimentScore:
          type: number
          description: >-
            Sentiment score for this entity in this specific response. Scale: 0
            (most negative) to 100 (most positive). Null if no sentiment data.
          example: 72.3
          nullable: true
      required:
        - displayKey
        - displayName
        - isPrimary
        - sentimentScore

````