Actions
| Action | Description |
|---|---|
list | List all tasks in a benchmark |
create | Create a new task |
get | Get a task by ID |
update | Update a task |
delete | Delete a task |
Parameters
list
| Parameter | Type | Required | Description |
|---|---|---|---|
benchmarkId | string | yes | Benchmark ID to list tasks for |
create
| Parameter | Type | Required | Description |
|---|---|---|---|
benchmarkId | string | yes | Benchmark ID to add the task to |
name | string | yes | Name of the task |
timeout | number | no | Task-specific timeout in seconds |
taskItem | object | no | Task item configuration (patient, instruction, trigger) |
scenario | object | no | Scenario configuration for the task |
tags | string[] | no | Tags for filtering and grouping |
get
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Task ID |
update
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Task ID |
name | string | no | Updated name |
timeout | number | null | no | Updated timeout, or null to clear |
taskItem | object | null | no | Updated task item, or null to clear |
scenario | object | null | no | Updated scenario, or null to clear |
tags | string[] | no | Updated tags |
delete
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | yes | Task ID |