DorkOS
ApiCommands

List all slash commands

GET
/api/commands

Query Parameters

refresh?string

Value in

  • "true"
  • "false"
cwd?string
sessionId?string
runtime?string

Response Body

application/json

application/json

curl -X GET "https://example.com/api/commands"
{  "commands": [    {      "namespace": "string",      "command": "string",      "fullCommand": "string",      "description": "string",      "argumentHint": "string",      "aliases": [        "string"      ],      "allowedTools": [        "string"      ],      "filePath": "string"    }  ],  "lastScanned": "string"}
{  "error": "string",  "details": null}