Skip to main content
GET
/
api
/
v1
/
job-executions
/
{id}
Get full detail for a single run
curl --request GET \
  --url https://api.mentionlab.io/api/v1/job-executions/{id} \
  --header 'x-project-id: <x-project-id>'
{
  "jobExecutionId": "3f1a7b2c-9d4e-4f6a-8b1c-2e5f7a9d0c11",
  "aiResponseId": "a8d2e4f0-1b3c-4d5e-9f8a-7c6b5a4d3e2f",
  "jobId": "d9c8b7a6-5f4e-4d3c-9b2a-1e0f9d8c7b6a",
  "initiatedAt": "2026-06-08T10:15:30.000Z",
  "createdAt": "2026-06-08T10:15:31.000Z",
  "model": "gpt-4o",
  "executionNumber": 1,
  "hasSources": true,
  "hasShopping": false,
  "sources": [
    {
      "domain": "reddit.com",
      "url": "https://reddit.com/r/crm/..."
    }
  ],
  "entities": [
    {
      "displayKey": "550e8400-e29b-41d4-a716-446655440000",
      "displayName": "Acme Corp",
      "isPrimary": true,
      "sentimentScore": 72.3
    }
  ],
  "queryId": "c2b4d6e8-0a1f-4c3d-8e7b-6a5f4d3c2b1a",
  "country": "US",
  "language": "en"
}

Headers

x-project-id
string
required

Project ID to specify the project context

Path Parameters

id
string<uuid>
required

The job execution id (jobExecutionId, UUID) of the run to fetch.

Response

jobExecutionId
string<uuid>
required

Job execution (run) ID.

Example:

"3f1a7b2c-9d4e-4f6a-8b1c-2e5f7a9d0c11"

aiResponseId
string<uuid>
required

AI response ID produced by this run.

Example:

"a8d2e4f0-1b3c-4d5e-9f8a-7c6b5a4d3e2f"

jobId
string<uuid>
required

Job ID this run belongs to.

Example:

"d9c8b7a6-5f4e-4d3c-9b2a-1e0f9d8c7b6a"

initiatedAt
string<date-time>
required

When the response was initiated.

Example:

"2026-06-08T10:15:30.000Z"

createdAt
string<date-time>
required

When the response row was created.

Example:

"2026-06-08T10:15:31.000Z"

model
string
required

AI model used.

Example:

"gpt-4o"

status
enum<string>
required

Run status.

Available options:
pending,
success,
failed,
retrying
executionNumber
number
required

Execution number within the job (retry counter).

Example:

1

hasSources
boolean
required

Whether the response includes source citations.

Example:

true

hasShopping
boolean
required

Whether the response includes shopping products.

Example:

false

sources
object[]
required

Source citations found in this response.

entities
object[]
required

Entities mentioned in this response (after canonical dedup).

queryId
string<uuid>

Query ID this run answered, if any.

Example:

"c2b4d6e8-0a1f-4c3d-8e7b-6a5f4d3c2b1a"

country
string

Country code.

Example:

"US"

language
string

Language code.

Example:

"en"