curl --request GET \
--url https://api.mentionlab.io/api/jobs/{id} \
--header 'x-project-id: <x-project-id>'import requests
url = "https://api.mentionlab.io/api/jobs/{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/jobs/{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/jobs/{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/jobs/{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/jobs/{id}")
.header("x-project-id", "<x-project-id>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mentionlab.io/api/jobs/{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{
"id": "01234567-89ab-cdef-0123-456789abcdef",
"project": "01234567-89ab-cdef-0123-456789abcdef",
"totalExecutions": 100,
"pendingExecutions": 10,
"retryingExecutions": 2,
"successExecutions": 80,
"failedExecutions": 8,
"status": "processing",
"createdAt": "2026-06-08T12:00:00.000Z",
"updatedAt": "2026-06-08T12:30:00.000Z",
"createdBy": {
"firstName": "Jane",
"lastName": "Doe",
"email": "jane.doe@example.com",
"id": "01234567-89ab-cdef-0123-456789abcdef"
}
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}Get a job by ID
Retrieves a single job by its ID within the project.
curl --request GET \
--url https://api.mentionlab.io/api/jobs/{id} \
--header 'x-project-id: <x-project-id>'import requests
url = "https://api.mentionlab.io/api/jobs/{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/jobs/{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/jobs/{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/jobs/{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/jobs/{id}")
.header("x-project-id", "<x-project-id>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mentionlab.io/api/jobs/{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{
"id": "01234567-89ab-cdef-0123-456789abcdef",
"project": "01234567-89ab-cdef-0123-456789abcdef",
"totalExecutions": 100,
"pendingExecutions": 10,
"retryingExecutions": 2,
"successExecutions": 80,
"failedExecutions": 8,
"status": "processing",
"createdAt": "2026-06-08T12:00:00.000Z",
"updatedAt": "2026-06-08T12:30:00.000Z",
"createdBy": {
"firstName": "Jane",
"lastName": "Doe",
"email": "jane.doe@example.com",
"id": "01234567-89ab-cdef-0123-456789abcdef"
}
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}Headers
Project ID to specify the project context
Path Parameters
The UUID of the job to retrieve.
Response
Unique identifier of the job.
"01234567-89ab-cdef-0123-456789abcdef"
Project the job belongs to. Returned as the project identifier (UUID) when not populated, or as the full project object when expanded.
"01234567-89ab-cdef-0123-456789abcdef"
Total number of executions associated with the job.
100
Number of executions that are still pending processing.
10
Number of executions currently being retried after a failure.
2
Number of executions that completed successfully.
80
Number of executions that failed.
8
Overall status of the job, derived from the state of its executions.
pending, processing, completed, failed, partial_failed "processing"
Timestamp at which the job was created.
"2026-06-08T12:00:00.000Z"
Timestamp at which the job was last updated.
"2026-06-08T12:30:00.000Z"
User who created the job. May be null when the creator is unknown or no longer available.
Show child attributes
Show child attributes