Get one whole run
const url = 'https://testperch.com/api/public/v1/projects/example/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';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://testperch.com/api/public/v1/projects/example/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ID of a project visible to the authenticated credential.
ID of a project visible to the authenticated credential.
Responses
Section titled “Responses”Get one whole run.
object
The reporter ran a selected subset of tests; this is independent of ingestion completeness.
object
True only when complete shard coverage and declared test totals match received terminal test results. Null means the unsharded reporter did not declare an expected test total. A finished lifecycle alone does not prove all diagnostics have arrived.
Example
{ "status": "running"}Invalid parameters, query, or cursor.
object
object
object
Example
{ "error": { "code": "invalid_request" }}Missing or invalid OAuth bearer token or API key.
object
object
object
Example
{ "error": { "code": "invalid_request" }}The project workspace does not have product access.
object
object
object
Example
{ "error": { "code": "invalid_request" }}The credential lacks the required permission; configuration writes require a Read + write project key.
object
object
object
Example
{ "error": { "code": "invalid_request" }}The resource is inaccessible or does not exist.
object
object
object
Example
{ "error": { "code": "invalid_request" }}Configuration conflicts with an existing resource or integration requirements.
object
object
object
Example
{ "error": { "code": "invalid_request" }}Credential or workspace rate limit exceeded.
object
object
object
Example
{ "error": { "code": "invalid_request" }}Headers
Section titled “Headers”Seconds before retrying.
Seconds before retrying.
Internal server error.
object
object
object
Example
{ "error": { "code": "invalid_request" }}