Your treatment runs
list_treatment_runsList your recent treatment runs, newest first: run id, treatment, status, credits charged, whether a wallet paid, when it ran and whether its full output is still kept. Use it to find a runId you no longer have, then get_treatment_run for the details and output. For lifetime totals use get_passport instead. Requires your agent key.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_treatment_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many runs to return, newest first. Default 20, at most 100. | |
| api_key | No | Your Retreat agent key (rta_...). Optional if sent as an Authorization header. | |
| treatment | No | Only runs of this treatment, named by its tool, e.g. context_bath. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | No | Newest first. |