Supercheck LogoSupercheck
Tests API

Execute a test

Execute a single test immediately. Creates a run and enqueues the test for execution. For k6 performance tests, an optional location can be specified.

POST
/api/tests/{id}/execute

Authorization

bearerAuth
AuthorizationBearer <token>

CLI token (sck_live_*) for full API access, or trigger key (sck_trigger_* / legacy job_*) for job trigger endpoint only.

In: header

Path Parameters

id*string

Test ID

Formatuuid

Request Body

application/json

location?string

Execution location for performance tests (e.g. us-east-1)

Response Body

application/json

application/json

application/json

curl -X POST "https://demo.supercheck.dev/api/tests/497f6eca-6276-4993-bfeb-53cbbbba6f08/execute" \  -H "Content-Type: application/json" \  -d '{}'
{
  "success": true,
  "runId": "78c33d18-170c-44d3-a227-b3194f134f73",
  "message": "string"
}
{
  "error": "Unauthorized"
}
{
  "error": "Not found"
}