DorkOSDorkOS
ApiCommands

List all slash commands

GET
/api/commands

Query Parameters

refresh?string
Value in"true" | "false"
cwd?string

Response Body

application/json

application/json

curl -X GET "http://localhost:6942/api/commands"
{
  "commands": [
    {
      "namespace": "string",
      "command": "string",
      "fullCommand": "string",
      "description": "string",
      "argumentHint": "string",
      "allowedTools": [
        "string"
      ],
      "filePath": "string"
    }
  ],
  "lastScanned": "string"
}
{
  "error": "string",
  "details": null
}