---
title: "Get Jail State"
method: GET
path: "/jail/state/:id"
tags: ["Jail"]
---

# Get Jail State

`GET /jail/state/:id`

Retrieve the state of a specific jail by CTID

## Path parameters

- `id` integer, required

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseGithubComAlchemillahqSylveInternalInterfacesServicesJailState
  - `data` GithubComAlchemillahqSylveInternalInterfacesServicesJailState
    - `ctId` integer
    - `memory` integer
    - `pcpu` number
    - `state` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `404` — Jail Not Found
- `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)
