---
title: "Get Slash Command"
method: GET
path: "/api/slash-commands/{name}"
---

# Get Slash Command

`GET /api/slash-commands/{name}`

## Path parameters

- `name` string, required

## Response `200`

Successful Response

- SlashCommandResponse
  - `description` string, required
  - `name` string, required
  - `prompt` string, required
  - `syncTargets` SlashSyncEntryResponse[], required
    - `error` string, nullable
    - `path` string, required
    - `status` 'synced' | 'removed' | 'not_selected' | 'blocked_manual_file' | 'failed', required
    - `target` 'opencode' | 'claude' | 'cursor' | 'codex', required

## Other responses

- `422` — Validation Error

## Changes

- **2026-04-29** `7710f75fad0f` — 1 info
  - endpoint added
- **2026-04-17** `a9787ab8c53c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/mode-io/apis/skill-manager/changes/api/slash-commands/:name/get.md)

---

[API](https://skmtc.dev/mode-io/apis/skill-manager.md) · [All operations](https://skmtc.dev/mode-io/apis/skill-manager/llms.txt) · [OpenAPI document](https://skmtc.dev/mode-io/apis/skill-manager/revisions/7710f75fad0f?raw)
