API Usage
Understanding the API usage of the Commander Service Mode
API Versions
Request Queue System (API v2)
Queue API Endpoints
curl -X POST 'http://localhost:<port>/api/v2/executecommand-async' \
--header 'Content-Type: application/json' \
--header 'api-key: <your-api-key>' \
--data '{"command": "tree"}'Request States
Queue Configuration
Error Responses
Direct Execution (API v1)
File Input Parameters (FILEDATA)
Postman



Command Specific Responses
List Command (ls):
Tree Command:
Make Directory Command (mkdir):
Record Add Command:
Search Record Command:
Search Folder Command:
Get Command:
Commands with --format = json enabled (e.g. audit-report --format=json):
Last updated
Was this helpful?

