---
title: "Get Tool Usage Logs"
method: GET
path: "/v1/tool/{tool_name}/logs"
tags: ["tool management"]
---

# Get Tool Usage Logs

`GET /v1/tool/{tool_name}/logs`

## Request

- Base URL: `https://api.vibebrowser.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.vibebrowser.app/v1/tool/{tool_name}/logs`
- Auth: one of:
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`
  - API key in header `x-litellm-api-key`

Return paginated spend logs for requests that used this tool (from SpendLogToolIndex).

## Path parameters

- `tool_name` string, required

## Query parameters

- `page` integer
- `page_size` integer
- `start_date` string, nullable: YYYY-MM-DD
- `end_date` string, nullable: YYYY-MM-DD

## Response `200`

Successful Response

- ToolUsageLogsResponse
  - `logs` ToolUsageLogEntry[], required
    - `id` string, required
    - `timestamp` string, required
    - `model` string, nullable
    - `spend` number, nullable
    - `total_tokens` integer, nullable
    - `input_snippet` string, nullable
  - `total` integer, required
  - `page` integer, required
  - `page_size` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/vibebrowser/apis/litellm-api.md) · [All operations](https://skmtc.dev/vibebrowser/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vibebrowser/apis/litellm-api/revisions/eea0b7e7b167?raw)
