Test runs

Kick off a batch run: creates a TestRun and one AgentSession per test via the standard DispatchAgentCommand (real LiveKit room + worker dispatch). Capped at 10 tests per call.

POST
/test-runs
AuthorizationBearer <token>

JWT Authorization header using Bearer scheme

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://api.speaknode.com/api/test-runs" \  -H "Content-Type: application/json" \  -d '{}'
{
  "test_run_id": "01dbc221-8963-4bd7-8591-4a1f9d286862",
  "session_ids": [
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ],
  "failures": [
    {
      "test_id": "22e96a18-23fe-4c06-8ee6-180390ceaded",
      "message": "string"
    }
  ]
}