---
title: "List available shells"
method: GET
path: "/pty/shells"
---

# List available shells

`GET /pty/shells`

Get a list of available shells on the system.

## Query parameters

- `directory` string
- `workspace` string

## Response `200`

List of shells

- object[]
  - `path` string, required
  - `name` string, required
  - `acceptable` boolean, required

---

[API](https://skmtc.net/kaaass/apis/opencode.md) · [All operations](https://skmtc.net/kaaass/apis/opencode/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kaaass/opencode/versions/8bb9a15bd144/schema)
