---
title: "List slash commands"
method: GET
path: "/v1/replica/{id}/chats/{chat_id}/slash-commands"
tags: ["Chats"]
---

# List slash commands

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

## Request

- Base URL: `https://api.replicas.dev`
- URL: `https://api.replicas.dev/v1/replica/{id}/chats/{chat_id}/slash-commands`
- Auth: HTTP bearer

Lists Replicas and agent slash commands available in the chat.

## Path parameters

- `id` string, uuid, required
- `chat_id` string, required

## Headers

- `X-Replicas-Api-Version` '2026-10-07'

## 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
    - `argument_hint` 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.dev/replicas/apis/replicas-api.md) - [All operations](https://skmtc.dev/replicas/apis/replicas-api/llms.txt) - [OpenAPI document](https://skmtc.dev/replicas/apis/replicas-api/revisions/2703ac1c9cb7?raw)
