---
title: "GET /logs/global/histogram"
method: GET
path: "/logs/global/histogram"
tags: ["Logs"]
---

# GET /logs/global/histogram

`GET /logs/global/histogram`

## Request

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

## Query parameters

- `start_time` string, required
- `end_time` string, required
- `source` 'collected' | 'application' | 'service': Which family of log sources a query covers.
- `projects` string[]
- `external_services` string[]
- `scopes` string[]
- `levels` LogLevel[]
- `envs` string[]
- `services` string[]
- `container_ids` string[]
- `node_ids` integer[]
- `deploy_id` integer
- `bucket_secs` integer
- `group_by` string
- `max_groups` integer
- `attr` string[], required

## Response `200`

- HistogramResponse
  - `buckets` HistogramBucket[], required
    - `count` integer, required
    - `group` string, nullable
    - `ts` string, required

## Other responses

- `400`
- `403`
- `503`

## Changes

- **2026-11-09** `12896146b193`: 3 breaking
  - removed the required property `extensions` from the response with the `400` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `503` status
- **2026-10-05** `4b228ebed583`: 1 info
  - endpoint added
- **2026-10-05** `63a80791dc58`: 1 breaking
  - api path removed without deprecation
- **2026-09-23** `f4efc4d5c7b7`: 3 info
  - added the optional property `status` to the response with the `400` status
  - added the optional property `status` to the response with the `403` status
  - added the optional property `status` to the response with the `503` status
- **2026-09-21** `371034ab55d2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/logs/global/histogram/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)
