Start benchmark
POST
/api/v1/benchmarks
const url = 'https://dashboard.justcrawl.io/api/v1/benchmarks';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"urls":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dashboard.justcrawl.io/api/v1/benchmarks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "urls": [ "example" ] }'Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
object
urls
required
Array<string>
Example generated
{ "urls": [ "example" ]}Responses
Section titled “ Responses ”Benchmark created
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"}A benchmark is already running for this organization