naftiko: 1.0.0-alpha2 info: label: SigNoz — preferences description: 'SigNoz — preferences. 6 operations. Lead operation: List org preferences. Self-contained Naftiko capability covering one Signoz business surface.' tags: - Signoz - preferences created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SIGNOZ_API_KEY: SIGNOZ_API_KEY capability: consumes: - type: http namespace: signoz-preferences baseUri: https://{host}:{port}{base_path} description: SigNoz — preferences business capability. Self-contained, no shared references. resources: - name: api-v1-org-preferences path: /api/v1/org/preferences operations: - name: listorgpreferences method: GET description: List org preferences outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-org-preferences-name path: /api/v1/org/preferences/{name} operations: - name: getorgpreference method: GET description: Get org preference outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string required: true - name: updateorgpreference method: PUT description: Update org preference outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: api-v1-user-preferences path: /api/v1/user/preferences operations: - name: listuserpreferences method: GET description: List user preferences outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-user-preferences-name path: /api/v1/user/preferences/{name} operations: - name: getuserpreference method: GET description: Get user preference outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string required: true - name: updateuserpreference method: PUT description: Update user preference outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.SIGNOZ_API_KEY}}' exposes: - type: rest namespace: signoz-preferences-rest port: 8080 description: REST adapter for SigNoz — preferences. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/org/preferences name: api-v1-org-preferences description: REST surface for api-v1-org-preferences. operations: - method: GET name: listorgpreferences description: List org preferences call: signoz-preferences.listorgpreferences outputParameters: - type: object mapping: $. - path: /v1/api/v1/org/preferences/{name} name: api-v1-org-preferences-name description: REST surface for api-v1-org-preferences-name. operations: - method: GET name: getorgpreference description: Get org preference call: signoz-preferences.getorgpreference with: name: rest.name outputParameters: - type: object mapping: $. - method: PUT name: updateorgpreference description: Update org preference call: signoz-preferences.updateorgpreference with: name: rest.name body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v1/user/preferences name: api-v1-user-preferences description: REST surface for api-v1-user-preferences. operations: - method: GET name: listuserpreferences description: List user preferences call: signoz-preferences.listuserpreferences outputParameters: - type: object mapping: $. - path: /v1/api/v1/user/preferences/{name} name: api-v1-user-preferences-name description: REST surface for api-v1-user-preferences-name. operations: - method: GET name: getuserpreference description: Get user preference call: signoz-preferences.getuserpreference with: name: rest.name outputParameters: - type: object mapping: $. - method: PUT name: updateuserpreference description: Update user preference call: signoz-preferences.updateuserpreference with: name: rest.name body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: signoz-preferences-mcp port: 9090 transport: http description: MCP adapter for SigNoz — preferences. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-org-preferences description: List org preferences hints: readOnly: true destructive: false idempotent: true call: signoz-preferences.listorgpreferences outputParameters: - type: object mapping: $. - name: get-org-preference description: Get org preference hints: readOnly: true destructive: false idempotent: true call: signoz-preferences.getorgpreference with: name: tools.name outputParameters: - type: object mapping: $. - name: update-org-preference description: Update org preference hints: readOnly: false destructive: false idempotent: true call: signoz-preferences.updateorgpreference with: name: tools.name body: tools.body outputParameters: - type: object mapping: $. - name: list-user-preferences description: List user preferences hints: readOnly: true destructive: false idempotent: true call: signoz-preferences.listuserpreferences outputParameters: - type: object mapping: $. - name: get-user-preference description: Get user preference hints: readOnly: true destructive: false idempotent: true call: signoz-preferences.getuserpreference with: name: tools.name outputParameters: - type: object mapping: $. - name: update-user-preference description: Update user preference hints: readOnly: false destructive: false idempotent: true call: signoz-preferences.updateuserpreference with: name: tools.name body: tools.body outputParameters: - type: object mapping: $.