Get latest benchmark
GET
/api/v1/benchmarks/latest
const url = 'https://dashboard.justcrawl.io/api/v1/benchmarks/latest';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://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.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Latest benchmark for the organization.
Media type application/json
object
id
string format: uuid
status
string
urls
Array<string>
providerIds
Array<string>
totalProbes
integer
completedProbes
integer
failedProbes
integer
skippedProviders
Array<string>
error
string
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"}