---
title: "Get Jail Statistics"
method: GET
path: "/jail/stats/:ctid/:step"
tags: ["Jail"]
---

# Get Jail Statistics

`GET /jail/stats/:ctid/:step`

Retrieve statistics for a jail by CTID and GFS step

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseArrayGithubComAlchemillahqSylveInternalDbModelsJailJailStats
  - `data` GithubComAlchemillahqSylveInternalDbModelsJailJailStats[]
    - `cpuUsage` number
    - `createdAt` string
    - `id` integer
    - `jid` integer
    - `memoryUsage` number
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/versions/950e51f8af98/schema)
