---
title: "Tool invocations grouped by agent_id"
method: GET
path: "/v1/analytics/tools/usage/by-agent"
tags: ["analytics"]
---

# Tool invocations grouped by agent_id

`GET /v1/analytics/tools/usage/by-agent`

## Query parameters

- `tool_id` string, nullable
- `revision_id` string, nullable
- `start_date` string, date, required
- `end_date` string, date, required

## Response `200`

Successful Response

- InvocationsByAgentRow[]
  - `agent_id` string, required
  - `invocations` integer, required
  - `successful` integer, required
  - `failed` integer, required
  - `success_rate` number, required

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.net/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.net/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/versions/888bdd5c076e/schema)
