Skip to main content
POST
/
projects
/
{project_id}
/
benchmarks
/
{benchmark_id}
/
tests
/
execute
curl --location 'https://api.withblast.com/projects/550e8400-e29b-41d4-a716-446655440000/benchmarks/7d9c8f90-1234-5678-9abc-def012345678/tests/execute' \
--header 'Authorization: Bearer YOUR_JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data '{}'
{
  "queued_count": 25,
  "test_ids": [1234, 1235, 1236, 1237, 1238, ...],
  "message": "Successfully queued 25 tests for execution"
}

Authentication

Authorization
string
required
Bearer token

Path Parameters

project_id
string
required
The unique identifier of the project (UUID format)
benchmark_id
string
required
The unique identifier of the benchmark (UUID format)

Body Parameters

test_ids
array
Optional array of specific test IDs to execute. If not provided, all tests in the benchmark will be executed.

Response

queued_count
integer
required
Number of tests queued for execution
test_ids
array
required
Array of test IDs that were queued
message
string
required
Status message describing the operation result
curl --location 'https://api.withblast.com/projects/550e8400-e29b-41d4-a716-446655440000/benchmarks/7d9c8f90-1234-5678-9abc-def012345678/tests/execute' \
--header 'Authorization: Bearer YOUR_JWT_TOKEN' \
--header 'Content-Type: application/json' \
--data '{}'
{
  "queued_count": 25,
  "test_ids": [1234, 1235, 1236, 1237, 1238, ...],
  "message": "Successfully queued 25 tests for execution"
}

Notes

  • Tests are queued for asynchronous processing
  • Each test will generate a new run with AI model responses
  • Configured evaluators will automatically run on each test response
  • Check test run results using the List Test Runs endpoint
  • The 202 status indicates successful queueing, not completion