# get_test_run

`tools/call` · `POST /clanker/v1/test-runs:get`

Get one test run by number: its deployment, commit, shards, retries, and every test with each attempt's result, error and evidence links. Needs read access.

- Area: Test runs
- Needs the read grant. Read-only. Idempotent.

## Inputs

- `run` (integer, required): The run's number, such as 1289. From -9,007,199,254,740,991 to 9,007,199,254,740,991.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_test_run",
    "arguments": {
      "run": 1289
    }
  }
}
```

## HTTP request

The same call over the clanker HTTP API, with a clanker OAuth access token:

```bash
curl -X POST https://api.clankership.com/clanker/v1/test-runs:get \
  -H "Authorization: Bearer $CLANKER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "run": 1289
  }'
```
