Project results
GET
/project/{ProjectId}/job/{JobId}/results
const url = 'https://testomato.com/api/project/5e9602e7a39e5a46428b457f/job/55ae166c25b395537a8b6029/results';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://testomato.com/api/project/5e9602e7a39e5a46428b457f/job/55ae166c25b395537a8b6029/results \ --header 'Authorization: Bearer <token>'Retrieve the latest checks results for a project
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ProjectId
required
string
A unique project ID
Example
5e9602e7a39e5a46428b457fJobId
required
string
A unique Job ID
Example
55ae166c25b395537a8b6029Responses
Section titled “Responses”Project results
Media typeapplication/json
object
jobId
A unique ID for each project job
string
total
The total number of tests performed
integer
failed
The number of failed tests
integer
processed
Whether this job has already been processed
boolean
persist
Whether this job is temporary or persistent
boolean
startedAt
Time when job started (unix timestamp)
integer
duration
Duration of the job in seconds
number
mode
number
areas
List of areas
Array<string>
results
Array of test results — each result includes a testId, testName, etc.
Array<string>
Example
{ "jobId": "6346802f314d328b4a8b4579", "total": 28, "failed": 0, "processed": true, "persist": true, "startedAt": 1665564719, "duration": 2.1946158409119, "mode": 0}The API token is missing, malformed or expired. Request a new one from
POST /api/authenticate.
Media typeapplication/json
object
message
Error message text
string
code
Error code number
integer
ok
boolean
error
boolean
Example
{ "message": "Access denied! Please log in to access this resource.", "code": 401, "ok": false, "error": true}The token is valid but the operation is not allowed. Two distinct causes:
- the subscription plan does not include API access — every endpoint returns this, regardless of the resource
- the account lacks the required role on the project — reading needs
read, changing checks needseditTests, and so on. See Project permissions.
Media typeapplication/json
object
message
Error message text
string
code
Error code number
integer
ok
boolean
error
boolean
Example
{ "message": "Sorry! Your current plan does not support access to Testomato API.", "code": 403, "ok": false, "error": true}