Skip to content

Get latest benchmark

GET
/api/v1/benchmarks/latest
curl --request GET \
--url https://dashboard.justcrawl.io/api/v1/benchmarks/latest \
--header 'Authorization: Bearer <token>'

Returns the most recent benchmark for this org, of any status (pending / running / completed / failed). Useful for the dashboard’s “Resume where you left off” prompt. Returns 404 when the org has never run a benchmark.

Latest benchmark for the organization.

Media type application/json
object
id
string format: uuid
status
string
Allowed values: pending running completed failed
urls
Array<string>
providerIds
Array<string>
totalProbes
integer
completedProbes
integer
failedProbes
integer
skippedProviders
Array<string>
error
string
nullable
createdAt
string format: date-time
Example
{
"status": "pending"
}

Missing or invalid authentication token

Media type application/json
object
error
string
Example
{
"error": "Missing or invalid authentication token"
}

Insufficient permissions for this operation

Media type application/json
object
error
string
Example
{
"error": "No organization. Complete onboarding first."
}

Resource not found

Media type application/json
object
error
string
Example
{
"error": "Workflow not found"
}

Unexpected server error. Logs and PostHog $exception capture

Media type application/json
object
error
string
Example
{
"error": "Something went wrong"
}