---
title: "List analyzed tool calls"
method: GET
path: "/v2/token-analysis"
tags: ["Events"]
---

# List analyzed tool calls

`GET /v2/token-analysis`

## Request

- Base URL: `https://api.runta.com`
- URL: `https://api.runta.com/v2/token-analysis`
- Auth: HTTP bearer

Findings are computed once, when the event is ingested, and never recomputed. The summary covers everything the filter selects rather than the page returned.

## Query parameters

- `runtime_id` string
- `page_token` string
- `page_size` integer

## Response `200`

Response envelope.

- TokenAnalysisListResponse
  - `data` TokenAnalysisList, required
    - `calls` TokenAnalysisToolCall[], required
      - `id` string, required
      - `event_id` string, required
      - `runtime_id` string, required
      - `provider` string, nullable, required
      - `tool_name` string, nullable, required
      - `tool_call_id` string, nullable, required
      - `observed_at_unix_millis` integer, required
      - `input_chars` integer, required
      - `output_chars` integer, required
      - `total_chars` integer, required
      - `estimated_input_tokens` integer, required
      - `estimated_output_tokens` integer, required
      - `estimated_total_tokens` integer, required
      - `estimated_savings_tokens` integer, required
      - `truncated` boolean, required
      - `parse_error` string, nullable, required
      - `analysis_issues` TokenAnalysisIssue[], required
        - `kind` 'truncated_capture' | 'parse_error', required
        - `severity` 'info' | 'warning' | 'danger', required
        - `confidence` 'low' | 'medium' | 'high', required
        - `title` string, required
        - `detail` string, required
      - `findings` TokenAnalysisFinding[], required
        - `kind` 'large_output' | 'repeated_lines' | 'repeated_keys' | 'repeated_paths' | 'repeated_call', required
        - `severity` 'info' | 'warning' | 'danger', required
        - `confidence` 'low' | 'medium' | 'high', required
        - `title` string, required
        - `detail` string, required
        - `estimated_savings_tokens` integer, required
      - `input_preview` string, required
      - `output_preview` string, required
      - `analyzer_version` integer, required: Which rule set produced this row. Findings are never recomputed.
    - `summary` TokenAnalysisSummary, required: Totals over everything the filter selects, not merely the page returned.
      - `total_calls` integer, required
      - `calls_with_findings` integer, required
      - `calls_with_analysis_issues` integer, required
      - `estimated_tokens` integer, required
      - `estimated_savings_tokens` integer, required
      - `truncated_calls` integer, required
    - `next_page_token` string, nullable, required

## Other responses

- `401`: Missing, malformed, or rejected bearer token
- `403`: The bearer token is not allowed to perform this action
- `404`: The requested resource was not found
- `409`: The request conflicts with current resource state
- `422`: Validation or application error
- `429`: Rate limit exceeded
- `501`: Operation is not implemented
- `503`: Upstream service is unavailable
- `504`: Upstream request timed out
- `default`: Error response

## Changes

- **2026-11-05** `fb5a0ecd3fc2`: 20 warning
  - added the new `FEATURE_TEMPORARILY_DISABLED` enum value to the `error/code` response property for the response status `401`
  - added the new `FEATURE_TEMPORARILY_DISABLED` enum value to the `error/code` response property for the response status `403`
  - added the new `FEATURE_TEMPORARILY_DISABLED` enum value to the `error/code` response property for the response status `404`
  - added the new `FEATURE_TEMPORARILY_DISABLED` enum value to the `error/code` response property for the response status `409`
  - …16 more

[Operation history](https://skmtc.dev/runta/apis/runta-public-rest-api/changes/v2/token-analysis/get.md)

---

[API](https://skmtc.dev/runta/apis/runta-public-rest-api.md) - [All operations](https://skmtc.dev/runta/apis/runta-public-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/runta/apis/runta-public-rest-api/revisions/fb5a0ecd3fc2?raw)
