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>'import requests
url = "https://api.mentionlab.io/api/v1/job-executions/{id}"
headers = {"x-project-id": "<x-project-id>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-project-id': '<x-project-id>'}};
fetch('https://api.mentionlab.io/api/v1/job-executions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mentionlab.io/api/v1/job-executions/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-project-id: <x-project-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.mentionlab.io/api/v1/job-executions/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-project-id", "<x-project-id>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.mentionlab.io/api/v1/job-executions/{id}")
.header("x-project-id", "<x-project-id>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mentionlab.io/api/v1/job-executions/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-project-id"] = '<x-project-id>'
response = http.request(request)
puts response.read_body{
"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",
"status": "pending",
"executionNumber": 1,
"hasSources": true,
"hasShopping": false,
"hasAds": 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,
"positionRank": 2
}
],
"queryId": "c2b4d6e8-0a1f-4c3d-8e7b-6a5f4d3c2b1a",
"country": "US",
"language": "en"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}Job Executions
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.
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>'import requests
url = "https://api.mentionlab.io/api/v1/job-executions/{id}"
headers = {"x-project-id": "<x-project-id>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-project-id': '<x-project-id>'}};
fetch('https://api.mentionlab.io/api/v1/job-executions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mentionlab.io/api/v1/job-executions/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-project-id: <x-project-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.mentionlab.io/api/v1/job-executions/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-project-id", "<x-project-id>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.mentionlab.io/api/v1/job-executions/{id}")
.header("x-project-id", "<x-project-id>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mentionlab.io/api/v1/job-executions/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-project-id"] = '<x-project-id>'
response = http.request(request)
puts response.read_body{
"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",
"status": "pending",
"executionNumber": 1,
"hasSources": true,
"hasShopping": false,
"hasAds": 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,
"positionRank": 2
}
],
"queryId": "c2b4d6e8-0a1f-4c3d-8e7b-6a5f4d3c2b1a",
"country": "US",
"language": "en"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}