---
title: "Get today's request count with optional filters"
method: GET
path: "/proxy-logs/stats/today"
tags: ["Proxy Logs"]
---

# Get today's request count with optional filters

`GET /proxy-logs/stats/today`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/proxy-logs/stats/today`
- Auth: HTTP bearer

## Query parameters

- `method` string, nullable
- `client_ip` string, nullable
- `project_id` integer, nullable
- `environment_id` integer, nullable
- `deployment_id` integer, nullable
- `host` string, nullable
- `status_code` integer, nullable
- `status_code_class` string, nullable
- `routing_status` string, nullable
- `request_source` string, nullable
- `is_bot` boolean, nullable
- `device_type` string, nullable

## Response `200`

Today's request count

- TodayStatsResponse: Today's stats response
  - `date` string, required: Date for which stats are returned
  - `total_requests` integer, required: Total requests today

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 3 breaking
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-05** `4b228ebed583`: 3 info
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
  - added the optional property `status` to the response with the `500` status
- **2026-10-05** `63a80791dc58`: 3 warning
  - removed the optional property `status` from the response with the `401` status
  - removed the optional property `status` from the response with the `403` status
  - removed the optional property `status` from the response with the `500` status
- **2026-09-23** `f4efc4d5c7b7`: 3 info
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
  - added the optional property `status` to the response with the `500` status
- **2026-07-27** `1b060c0a4ba3`: 4 info
  - the endpoint scheme security `bearer_auth` was added to the API
  - added the media type `application/json` for the response with the status `500`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/proxy-logs/stats/today/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
