Search Site24x7 API spec
site24x7_searchSearch the Site24x7 REST API spec via JavaScript to find operations by query, path, tag, or operation ID. Use it to discover endpoints before execution.
Instructions
Search the Site24x7 REST API spec by writing JavaScript.
The sandbox is read-only — no network. Use this tool to discover what to call before invoking site24x7_execute.
Globals
spec—{ title, sourceUrl, generatedAt, operationCount, tags[] }.nullif no spec is loaded.searchOperations(query, limit?)— text-ranked search; default limit 25.getOperation(operationId)— full operation including parameters, requiredScopes, mspOnly / buOnly flags. Returnsnullif no such id.findOperationsByPath(substring)— list operations whose path contains the substring (case-insensitive).findOperationsByTag(tag)— list operations in a tag (e.g.'monitors','msp','business_units').console.log()— captured into the tool output.
Examples
// All operations tagged "monitors"
findOperationsByTag('monitors');// Top 10 hits for "msp customer"
searchOperations('msp customer', 10);// Full detail on the create-monitor op
getOperation('post_monitors');Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | JavaScript code to execute against the bundled spec. The final expression is returned. |