---
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

## Changes

- **2026-05-06** `067d03067fb2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/kaaass/apis/opencode/changes/pty/shells/get.md)

---

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