naftiko: 1.0.0-alpha2 info: label: Sumo Logic API — metricsSearchesManagementV2 description: 'Sumo Logic API — metricsSearchesManagementV2. 5 operations. Lead operation: List All Metrics Search Pages.. Self-contained Naftiko capability covering one Sumo Logic business surface.' tags: - Sumo Logic - metricsSearchesManagementV2 created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUMO_LOGIC_API_KEY: SUMO_LOGIC_API_KEY capability: consumes: - type: http namespace: sumo-logic-metricssearchesmanagementv2 baseUri: https://api.au.sumologic.com/api description: Sumo Logic API — metricsSearchesManagementV2 business capability. Self-contained, no shared references. resources: - name: v2-metricsSearches path: /v2/metricsSearches operations: - name: listmetricssearches method: GET description: List All Metrics Search Pages. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Limit the number of metric searches returned in the response. The number of metric searches returned may be less than the `limit`. - name: token in: query type: string description: Continuation token to get the next page of results. A page object with the next continuation token is returned in the response body. Subsequent GET requests sho - name: mode in: query type: string description: whether to list all viewable metric searches under the folders - name: createmetricssearches method: POST description: Create A New Metrics Search Page. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-metricsSearches-id path: /v2/metricsSearches/{id} operations: - name: getmetricssearches method: GET description: Get A Metrics Search Page. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Unique identifier of the metrics search page to return. required: true - name: updatemetricssearches method: PUT description: Update A Metrics Search Page. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Unique identifier of the metrics search page to return. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletemetricssearches method: DELETE description: Delete A Metrics Search Page. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Unique identifier of the metrics search page to delete. required: true authentication: type: basic username: '{{env.SUMO_LOGIC_USER}}' password: '{{env.SUMO_LOGIC_PASS}}' exposes: - type: rest namespace: sumo-logic-metricssearchesmanagementv2-rest port: 8080 description: REST adapter for Sumo Logic API — metricsSearchesManagementV2. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/metricssearches name: v2-metricssearches description: REST surface for v2-metricsSearches. operations: - method: GET name: listmetricssearches description: List All Metrics Search Pages. call: sumo-logic-metricssearchesmanagementv2.listmetricssearches with: limit: rest.limit token: rest.token mode: rest.mode outputParameters: - type: object mapping: $. - method: POST name: createmetricssearches description: Create A New Metrics Search Page. call: sumo-logic-metricssearchesmanagementv2.createmetricssearches with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/metricssearches/{id} name: v2-metricssearches-id description: REST surface for v2-metricsSearches-id. operations: - method: GET name: getmetricssearches description: Get A Metrics Search Page. call: sumo-logic-metricssearchesmanagementv2.getmetricssearches with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updatemetricssearches description: Update A Metrics Search Page. call: sumo-logic-metricssearchesmanagementv2.updatemetricssearches with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletemetricssearches description: Delete A Metrics Search Page. call: sumo-logic-metricssearchesmanagementv2.deletemetricssearches with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: sumo-logic-metricssearchesmanagementv2-mcp port: 9090 transport: http description: MCP adapter for Sumo Logic API — metricsSearchesManagementV2. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-metrics-search-pages description: List All Metrics Search Pages. hints: readOnly: true destructive: false idempotent: true call: sumo-logic-metricssearchesmanagementv2.listmetricssearches with: limit: tools.limit token: tools.token mode: tools.mode outputParameters: - type: object mapping: $. - name: create-new-metrics-search-page description: Create A New Metrics Search Page. hints: readOnly: true destructive: false idempotent: false call: sumo-logic-metricssearchesmanagementv2.createmetricssearches with: body: tools.body outputParameters: - type: object mapping: $. - name: get-metrics-search-page description: Get A Metrics Search Page. hints: readOnly: true destructive: false idempotent: true call: sumo-logic-metricssearchesmanagementv2.getmetricssearches with: id: tools.id outputParameters: - type: object mapping: $. - name: update-metrics-search-page description: Update A Metrics Search Page. hints: readOnly: false destructive: false idempotent: true call: sumo-logic-metricssearchesmanagementv2.updatemetricssearches with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: delete-metrics-search-page description: Delete A Metrics Search Page. hints: readOnly: false destructive: true idempotent: true call: sumo-logic-metricssearchesmanagementv2.deletemetricssearches with: id: tools.id outputParameters: - type: object mapping: $.