# List task runs

Launch stage: GA

`GET /api/2.0/clean-rooms/{clean_room_name}/task-runs`

List all the historical task runs in a clean room.

API scopes: cleanrooms

## Path parameters

- `clean_room_name` (string, required)
  Name of the clean room.

## Query parameters

- `name` (string, optional)
  Executable name.
- `task_type` (string, optional)
  Filter by the type of Clean Room task.
  Possible values:
  - `NOTEBOOK`
  - `JAR`
- `page_size` (int32, optional)
  The maximum number of task runs to return. Maximum value of 100.
- `page_token` (string, optional)
  Opaque pagination token to go to next page based on previous query.

## Returns

Returns a list of CleanRoomTaskRun objects.

## Response

```json
{
  "runs": [
    {
      "name": "string",
      "task_type": "NOTEBOOK",
      "start_time": 0,
      "run_duration": 0,
      "task_run_state": {},
      "collaborator_job_run_info": {},
      "output_info": {},
      "analysis_details": {},
      "shared_output_info": {}
    }
  ],
  "next_page_token": "string"
}
```

