---
title: "Get Agent Daily Activity"
method: GET
path: "/agent/daily/activity"
tags: ["Agent Management"]
---

# Get Agent Daily Activity

`GET /agent/daily/activity`

Get daily activity for specific agents or all accessible agents.

## Query parameters

- `agent_ids` string, nullable
- `start_date` string, nullable
- `end_date` string, nullable
- `model` string, nullable
- `api_key` string, nullable
- `page` integer
- `page_size` integer
- `exclude_agent_ids` string, nullable

## Response `200`

Successful Response

- SpendAnalyticsPaginatedResponse
  - `results` DailySpendData[], required
    - `date` string, date, required
    - `metrics` SpendMetrics, required
      - `spend` number
      - `flat_cost` number
      - `prompt_tokens` integer
      - `completion_tokens` integer
      - `cache_read_input_tokens` integer
      - `cache_creation_input_tokens` integer
      - `compression_saved_tokens` integer
      - `compression_savings_spend` number
      - `prompt_caching_savings_spend` number
      - `gateway_injected_caching_savings_spend` number
      - `autorouter_savings_spend` number
      - `total_tokens` integer
      - `successful_requests` integer
      - `failed_requests` integer
      - `api_requests` integer
    - `breakdown` BreakdownMetrics — Breakdown of spend by different dimensions
      - `mcp_servers` object
      - `models` object
      - `model_groups` object
      - `providers` object
      - `endpoints` object
      - `api_keys` object
      - `entities` object
  - `metadata` DailySpendMetadata
    - `total_spend` number
    - `total_flat_cost` number
    - `total_prompt_tokens` integer
    - `total_completion_tokens` integer
    - `total_tokens` integer
    - `total_api_requests` integer
    - `total_successful_requests` integer
    - `total_failed_requests` integer
    - `total_cache_read_input_tokens` integer
    - `total_cache_creation_input_tokens` integer
    - `total_compression_saved_tokens` integer
    - `total_compression_savings_spend` number
    - `total_prompt_caching_savings_spend` number
    - `total_gateway_injected_caching_savings_spend` number
    - `total_autorouter_savings_spend` number
    - `page` integer
    - `total_pages` integer
    - `has_more` boolean

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-26** `cfac079bcc04` — 2 info
  - api tag `Agent Management` added
  - api tag `agents` removed
- **2026-09-25** `a4fccd4bf54d` — 2 info
  - api tag `agents` added
  - api tag `Agent Management` removed
- **2026-09-21** `6246f8d427b7` — 2 info
  - api tag `Agent Management` added
  - api tag `agents` removed
- **2026-09-19** `c357baf422ab` — 2 info
  - api tag `agents` added
  - api tag `Agent Management` removed
- **2026-09-18** `082b5fabd909` — 101 info
  - api tag `Agent Management` added
  - api tag `agents` removed
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
  - …97 more

[Full history](https://skmtc.dev/flock/apis/litellm-api/changes/agent/daily/activity/get.md)

---

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