Skip to main content
GET
Get a spec (benchmark) task count

Authorizations

X-API-Key
string
header
required

Organization API key

Path Parameters

bench_id
string
required

Query Parameters

search
string | null

Count only tasks whose label, ID, user message, or category contains this text.

split
enum<string> | null

Return only tasks in this split; unassigned selects tasks without one.

Available options:
train,
test,
unassigned
environment
enum<string> | null

Return only tasks whose environment needs setup (missing run command or runtime not ready), is building, failed to build, or is ready to run.

Available options:
setup_needed,
building,
failed,
ready

Response

Successful Response

bench_id
string
required
task_count
integer
required