naftiko: 1.0.0-alpha2 info: label: Sumo Logic API — extractionRuleManagement description: 'Sumo Logic API — extractionRuleManagement. 5 operations. Lead operation: Get A List Of Field Extraction Rules.. Self-contained Naftiko capability covering one Sumo Logic business surface.' tags: - Sumo Logic - extractionRuleManagement 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-extractionrulemanagement baseUri: https://api.au.sumologic.com/api description: Sumo Logic API — extractionRuleManagement business capability. Self-contained, no shared references. resources: - name: v1-extractionRules path: /v1/extractionRules operations: - name: listextractionrules method: GET description: Get A List Of Field Extraction Rules. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Limit the number of field extraction rules returned in the response. The number of field extraction rules 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: createextractionrule method: POST description: Create A New Field Extraction Rule. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v1-extractionRules-id path: /v1/extractionRules/{id} operations: - name: getextractionrule method: GET description: Get A Field Extraction Rule. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier of field extraction rule to return. required: true - name: updateextractionrule method: PUT description: Update A Field Extraction Rule. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier of the field extraction rule to update. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteextractionrule method: DELETE description: Delete A Field Extraction Rule. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Identifier of the field extraction rule to delete. required: true authentication: type: basic username: '{{env.SUMO_LOGIC_USER}}' password: '{{env.SUMO_LOGIC_PASS}}' exposes: - type: rest namespace: sumo-logic-extractionrulemanagement-rest port: 8080 description: REST adapter for Sumo Logic API — extractionRuleManagement. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/extractionrules name: v1-extractionrules description: REST surface for v1-extractionRules. operations: - method: GET name: listextractionrules description: Get A List Of Field Extraction Rules. call: sumo-logic-extractionrulemanagement.listextractionrules with: limit: rest.limit token: rest.token outputParameters: - type: object mapping: $. - method: POST name: createextractionrule description: Create A New Field Extraction Rule. call: sumo-logic-extractionrulemanagement.createextractionrule with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/extractionrules/{id} name: v1-extractionrules-id description: REST surface for v1-extractionRules-id. operations: - method: GET name: getextractionrule description: Get A Field Extraction Rule. call: sumo-logic-extractionrulemanagement.getextractionrule with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updateextractionrule description: Update A Field Extraction Rule. call: sumo-logic-extractionrulemanagement.updateextractionrule with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteextractionrule description: Delete A Field Extraction Rule. call: sumo-logic-extractionrulemanagement.deleteextractionrule with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: sumo-logic-extractionrulemanagement-mcp port: 9090 transport: http description: MCP adapter for Sumo Logic API — extractionRuleManagement. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-list-field-extraction-rules description: Get A List Of Field Extraction Rules. hints: readOnly: true destructive: false idempotent: true call: sumo-logic-extractionrulemanagement.listextractionrules with: limit: tools.limit token: tools.token outputParameters: - type: object mapping: $. - name: create-new-field-extraction-rule description: Create A New Field Extraction Rule. hints: readOnly: false destructive: false idempotent: false call: sumo-logic-extractionrulemanagement.createextractionrule with: body: tools.body outputParameters: - type: object mapping: $. - name: get-field-extraction-rule description: Get A Field Extraction Rule. hints: readOnly: true destructive: false idempotent: true call: sumo-logic-extractionrulemanagement.getextractionrule with: id: tools.id outputParameters: - type: object mapping: $. - name: update-field-extraction-rule description: Update A Field Extraction Rule. hints: readOnly: false destructive: false idempotent: true call: sumo-logic-extractionrulemanagement.updateextractionrule with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: delete-field-extraction-rule description: Delete A Field Extraction Rule. hints: readOnly: false destructive: true idempotent: true call: sumo-logic-extractionrulemanagement.deleteextractionrule with: id: tools.id outputParameters: - type: object mapping: $.