---
title: "List available shells"
method: GET
path: "/api/config/shell"
tags: ["config"]
---

# List available shells

`GET /api/config/shell`

## Request

- Base URL: `https://opencode.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://opencode.ai/api/config/shell`
- Auth: none required

Return shells available to terminal and agent execution.

## Response `200`

Success

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

## Other responses

- `400`: InvalidRequestError
- `401`: UnauthorizedError
- `404`: LocationNotFoundError

---

[API](https://skmtc.dev/kaaass/apis/opencode.md) - [All operations](https://skmtc.dev/kaaass/apis/opencode/llms.txt) - [OpenAPI document](https://skmtc.dev/kaaass/apis/opencode/revisions/4e083d954707?raw)
