naftiko: 1.0.0-alpha2 info: label: SigNoz — sessions description: 'SigNoz — sessions. 7 operations. Lead operation: Create session by google callback. Self-contained Naftiko capability covering one Signoz business surface.' tags: - Signoz - sessions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SIGNOZ_API_KEY: SIGNOZ_API_KEY capability: consumes: - type: http namespace: signoz-sessions baseUri: https://{host}:{port}{base_path} description: SigNoz — sessions business capability. Self-contained, no shared references. resources: - name: api-v1-complete-google path: /api/v1/complete/google operations: - name: createsessionbygooglecallback method: GET description: Create session by google callback outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-complete-oidc path: /api/v1/complete/oidc operations: - name: createsessionbyoidccallback method: GET description: Create session by oidc callback outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v1-complete-saml path: /api/v1/complete/saml operations: - name: createsessionbysamlcallback method: POST description: Create session by saml callback outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: RelayState in: query type: string - name: SAMLResponse in: query type: string - name: body in: body type: object description: Request body (JSON). required: false - name: api-v2-sessions path: /api/v2/sessions operations: - name: deletesession method: DELETE description: Delete session outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-sessions-context path: /api/v2/sessions/context operations: - name: getsessioncontext method: GET description: Get session context outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-sessions-email_password path: /api/v2/sessions/email_password operations: - name: createsessionbyemailpassword method: POST description: Create session by email and password outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-v2-sessions-rotate path: /api/v2/sessions/rotate operations: - name: rotatesession method: POST description: Rotate session outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - 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-sessions-rest port: 8080 description: REST adapter for SigNoz — sessions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/complete/google name: api-v1-complete-google description: REST surface for api-v1-complete-google. operations: - method: GET name: createsessionbygooglecallback description: Create session by google callback call: signoz-sessions.createsessionbygooglecallback outputParameters: - type: object mapping: $. - path: /v1/api/v1/complete/oidc name: api-v1-complete-oidc description: REST surface for api-v1-complete-oidc. operations: - method: GET name: createsessionbyoidccallback description: Create session by oidc callback call: signoz-sessions.createsessionbyoidccallback outputParameters: - type: object mapping: $. - path: /v1/api/v1/complete/saml name: api-v1-complete-saml description: REST surface for api-v1-complete-saml. operations: - method: POST name: createsessionbysamlcallback description: Create session by saml callback call: signoz-sessions.createsessionbysamlcallback with: RelayState: rest.RelayState SAMLResponse: rest.SAMLResponse body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/sessions name: api-v2-sessions description: REST surface for api-v2-sessions. operations: - method: DELETE name: deletesession description: Delete session call: signoz-sessions.deletesession outputParameters: - type: object mapping: $. - path: /v1/api/v2/sessions/context name: api-v2-sessions-context description: REST surface for api-v2-sessions-context. operations: - method: GET name: getsessioncontext description: Get session context call: signoz-sessions.getsessioncontext outputParameters: - type: object mapping: $. - path: /v1/api/v2/sessions/email-password name: api-v2-sessions-email-password description: REST surface for api-v2-sessions-email_password. operations: - method: POST name: createsessionbyemailpassword description: Create session by email and password call: signoz-sessions.createsessionbyemailpassword with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/sessions/rotate name: api-v2-sessions-rotate description: REST surface for api-v2-sessions-rotate. operations: - method: POST name: rotatesession description: Rotate session call: signoz-sessions.rotatesession with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: signoz-sessions-mcp port: 9090 transport: http description: MCP adapter for SigNoz — sessions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-session-google-callback description: Create session by google callback hints: readOnly: true destructive: false idempotent: true call: signoz-sessions.createsessionbygooglecallback outputParameters: - type: object mapping: $. - name: create-session-oidc-callback description: Create session by oidc callback hints: readOnly: true destructive: false idempotent: true call: signoz-sessions.createsessionbyoidccallback outputParameters: - type: object mapping: $. - name: create-session-saml-callback description: Create session by saml callback hints: readOnly: false destructive: false idempotent: false call: signoz-sessions.createsessionbysamlcallback with: RelayState: tools.RelayState SAMLResponse: tools.SAMLResponse body: tools.body outputParameters: - type: object mapping: $. - name: delete-session description: Delete session hints: readOnly: false destructive: true idempotent: true call: signoz-sessions.deletesession outputParameters: - type: object mapping: $. - name: get-session-context description: Get session context hints: readOnly: true destructive: false idempotent: true call: signoz-sessions.getsessioncontext outputParameters: - type: object mapping: $. - name: create-session-email-and-password description: Create session by email and password hints: readOnly: false destructive: false idempotent: false call: signoz-sessions.createsessionbyemailpassword with: body: tools.body outputParameters: - type: object mapping: $. - name: rotate-session description: Rotate session hints: readOnly: false destructive: false idempotent: false call: signoz-sessions.rotatesession with: body: tools.body outputParameters: - type: object mapping: $.