---
title: "List Slash Commands"
method: GET
path: "/v1/replica/{id}/chats/{chatId}/slash-commands"
tags: ["Replica"]
---

# List Slash Commands

`GET /v1/replica/{id}/chats/{chatId}/slash-commands`

Returns built-in Replicas slash commands and agent-provided commands for a chat, including Claude, Codex ASP, Cursor, Opencode, and Pi commands.

## Path parameters

- `id` string, uuid, required
- `chatId` string, required

## Response `200`

Successful response

- SlashCommandsResponse — Available slash commands for a chat
  - `commands` SlashCommand[], required
    - `command` string, required — Slash command name, including the leading slash
    - `description` string, required — Short description of what the command does
    - `argumentHint` string — Optional argument hint for the command
    - `providers` string[], required — Coding agent providers that support this command

## Other responses

- `401` — Unauthorized - Invalid or missing API key
- `404` — Resource not found
- `409` — Conflict - Resource already exists or operation conflicts with current state
- `500` — Internal server error
- `502` — Bad gateway - The workspace is unreachable or returned an invalid response

---

[API](https://skmtc.net/tryreplicas/apis/replica-api.md) · [All operations](https://skmtc.net/tryreplicas/apis/replica-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryreplicas/replica-api/versions/aa3b4c932f7a/schema)
