---
title: "The ingestion budget and the containers dropping lines over it, for the warnings on the log views. Reads only in-memory state, so the console can poll it from every log view; the caller's access scope is resolved only when some container is throttled."
method: GET
path: "/logs/ingest-budget"
tags: ["Logs"]
---

# The ingestion budget and the containers dropping lines over it, for the warnings on the log views. Reads only in-memory state, so the console can poll it from every log view; the caller's access scope is resolved only when some container is throttled.

`GET /logs/ingest-budget`

## Request

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

## Response `200`

Budget and throttled containers the caller can read

- LogIngestBudgetStatus: The per-container log ingestion budget and the containers over it now. A throttled container has lines dropped (not stored, not indexed), so it is reported here for the console to name it rather than leave a gap in its history unexplained.
  - `burst_seconds` integer, required: Seconds of budget a container may send at once before it is held to the rate.
  - `bytes_per_sec` integer, required: Bytes per second each container may store; `0` = no byte limit.
  - `lines_per_sec` integer, required: Lines per second each container may store; `0` = no line limit.
  - `setup_path` string, required: Console path where an administrator changes the budget.
  - `throttled` ThrottledLogSource[], required: Containers that dropped lines in the last minute, noisiest first, limited to the projects and services the caller can read.
    - `bytes_per_sec_limit` integer, required
    - `container_id` string, required
    - `deploy_id` integer, nullable
    - `dropped_bytes` integer, required
    - `dropped_lines` integer, required: Totals since temps started collecting the container.
    - `env` string, required
    - `external_service_id` integer, nullable
    - `last_dropped_at` string, date-time, required
    - `limit_overridden` boolean, required: Whether a project or service override sets those limits instead of the platform-wide budget.
    - `lines_per_sec_limit` integer, required: Limits this container is held to (`0` = no limit), with any project or service override applied.
    - `node_id` integer, nullable: Worker node, for containers collected from a remote node.
    - `node_name` string, nullable
    - `offered_bytes_per_sec` integer, required
    - `offered_lines_per_sec` integer, required: What the container is producing, measured over the last few seconds; `0` once it has gone quiet.
    - `project_id` integer, nullable: `None` for external-service containers.
    - `reason` 'lines_per_sec' | 'bytes_per_sec', required: Budget the most recent dropped line exceeded.
    - `service` string, required: Service label, or the external service's name.
    - `throttled_since` string, date-time, required

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: The caller's log access could not be resolved

## 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-26** `6882080cc5b5`: 3 info
  - added the required property `throttled/items/bytes_per_sec_limit` to the response with the `200` status
  - added the required property `throttled/items/limit_overridden` to the response with the `200` status
  - added the required property `throttled/items/lines_per_sec_limit` to the response with the `200` status
- **2026-10-26** `198448ae2ca3`: 3 breaking
  - removed the required property `throttled/items/bytes_per_sec_limit` from the response with the `200` status
  - removed the required property `throttled/items/limit_overridden` from the response with the `200` status
  - removed the required property `throttled/items/lines_per_sec_limit` from the response with the `200` status
- **2026-10-26** `a086d94641be`: 3 info
  - added the required property `throttled/items/bytes_per_sec_limit` to the response with the `200` status
  - added the required property `throttled/items/limit_overridden` to the response with the `200` status
  - added the required property `throttled/items/lines_per_sec_limit` to the response with the `200` status
- …earlier changes not shown

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