Skip to main content
GET
/
v1
/
replica
/
{id}
/
chats
/
{chatId}
/
slash-commands
List Slash Commands
curl --request GET \
  --url https://api.tryreplicas.com/v1/replica/{id}/chats/{chatId}/slash-commands \
  --header 'Authorization: Bearer <token>'
{
  "commands": [
    {
      "command": "<string>",
      "description": "<string>",
      "providers": [],
      "argumentHint": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the Replicas dashboard under Settings > API Keys.

Path Parameters

id
string<uuid>
required

The unique identifier of the replica

chatId
string
required

The unique identifier of the chat

Response

Successful response

Available slash commands for a chat

commands
object[]
required