---
title: "Get a Jail by CTID or ID (Simple)"
method: GET
path: "/jail/simple/:id"
tags: ["Jail"]
---

# Get a Jail by CTID or ID (Simple)

`GET /jail/simple/:id`

Retrieve a simple jail by its CTID or ID

## Path parameters

- `identifier` string, required

## Query parameters

- `type` 'ctid' | 'id'

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseGithubComAlchemillahqSylveInternalInterfacesServicesJailSimpleList
  - `data` GithubComAlchemillahqSylveInternalInterfacesServicesJailSimpleList
    - `ctId` integer
    - `id` integer
    - `name` string
    - `state` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `404` — 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)
