Skip to content

Project results

GET
/project/{ProjectId}/job/{JobId}/results
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

ProjectId
required
string

A unique project ID

Example
5e9602e7a39e5a46428b457f
JobId
required
string

A unique Job ID

Example
55ae166c25b395537a8b6029

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
default: Access denied! Please log in to access this resource.
code

Error code number

integer
default: 401
ok
boolean
error
boolean
default: true
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 needs editTests, and so on. See Project permissions.
Media typeapplication/json
object
message

Error message text

string
default: Sorry! Your current plan does not support access to Testomato API.
code

Error code number

integer
default: 403
ok
boolean
error
boolean
default: true
Example
{
"message": "Sorry! Your current plan does not support access to Testomato API.",
"code": 403,
"ok": false,
"error": true
}