naftiko: 1.0.0-alpha2 info: label: Sumo Logic API — metricsSearchesManagement description: 'Sumo Logic API — metricsSearchesManagement. 4 operations. Lead operation: Save A Metrics Search.. Self-contained Naftiko capability covering one Sumo Logic business surface.' tags: - Sumo Logic - metricsSearchesManagement 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-metricssearchesmanagement baseUri: https://api.au.sumologic.com/api description: Sumo Logic API — metricsSearchesManagement business capability. Self-contained, no shared references. resources: - name: v1-metricsSearches path: /v1/metricsSearches operations: - name: createmetricssearch method: POST description: Save A Metrics Search. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-metricsSearches-id path: /v1/metricsSearches/{id} operations: - name: getmetricssearch method: GET description: Get A Metrics Search. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier of the metrics search. required: true - name: updatemetricssearch method: PUT description: Updates A Metrics Search. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier of the metrics search. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletemetricssearch method: DELETE description: Deletes A Metrics Search. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier of the metrics search. required: true authentication: type: basic username: '{{env.SUMO_LOGIC_USER}}' password: '{{env.SUMO_LOGIC_PASS}}' exposes: - type: rest namespace: sumo-logic-metricssearchesmanagement-rest port: 8080 description: REST adapter for Sumo Logic API — metricsSearchesManagement. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/metricssearches name: v1-metricssearches description: REST surface for v1-metricsSearches. operations: - method: POST name: createmetricssearch description: Save A Metrics Search. call: sumo-logic-metricssearchesmanagement.createmetricssearch with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/metricssearches/{id} name: v1-metricssearches-id description: REST surface for v1-metricsSearches-id. operations: - method: GET name: getmetricssearch description: Get A Metrics Search. call: sumo-logic-metricssearchesmanagement.getmetricssearch with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updatemetricssearch description: Updates A Metrics Search. call: sumo-logic-metricssearchesmanagement.updatemetricssearch with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletemetricssearch description: Deletes A Metrics Search. call: sumo-logic-metricssearchesmanagement.deletemetricssearch with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: sumo-logic-metricssearchesmanagement-mcp port: 9090 transport: http description: MCP adapter for Sumo Logic API — metricsSearchesManagement. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: save-metrics-search description: Save A Metrics Search. hints: readOnly: true destructive: false idempotent: false call: sumo-logic-metricssearchesmanagement.createmetricssearch with: body: tools.body outputParameters: - type: object mapping: $. - name: get-metrics-search description: Get A Metrics Search. hints: readOnly: true destructive: false idempotent: true call: sumo-logic-metricssearchesmanagement.getmetricssearch with: id: tools.id outputParameters: - type: object mapping: $. - name: updates-metrics-search description: Updates A Metrics Search. hints: readOnly: false destructive: false idempotent: true call: sumo-logic-metricssearchesmanagement.updatemetricssearch with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: deletes-metrics-search description: Deletes A Metrics Search. hints: readOnly: false destructive: true idempotent: true call: sumo-logic-metricssearchesmanagement.deletemetricssearch with: id: tools.id outputParameters: - type: object mapping: $.