---
title: "#1231 — backend container memory cgroup, OOM-kill count and per-process RSS"
method: GET
path: "/api/v1/admin/runtime-memory"
tags: ["admin"]
---

# #1231 — backend container memory cgroup, OOM-kill count and per-process RSS

`GET /api/v1/admin/runtime-memory`

## Request

- Base URL: `https://api.badgeia.com`
- URL: `https://api.badgeia.com/api/v1/admin/runtime-memory`
- Auth: none declared

Report the backend container's memory headroom without SSH.

Read-only: reads ``/sys/fs/cgroup/memory.{current,max,events}`` and each
process's ``/proc/<pid>/status`` (inside the container's PID namespace).
``oom_kill_count`` is cumulative for the container's lifetime, so a rising
value between two calls means the kernel is killing workers. Numbers,
process names and pids only — no command lines or environment.

Authorization:
    - Anonymous → 401 (auth dep) · non-admin → 403 (``require_admin``)
    - Dashboard flag off → 404 (same posture as the other admin tiles)

## Response `200`

Successful Response

- object

---

[API](https://skmtc.dev/badgeia/apis/badge.md) · [All operations](https://skmtc.dev/badgeia/apis/badge/llms.txt) · [OpenAPI document](https://skmtc.dev/badgeia/apis/badge/revisions/7e7f7fee8b77?raw)
