naftiko: 1.0.0-alpha2 info: label: Gainsight PX API — Subscription description: 'Gainsight PX API — Subscription. 2 operations. Lead operation: Gainsight List event subscriptions. Self-contained Naftiko capability covering one Gainsight business surface.' tags: - Gainsight - Subscription created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GAINSIGHT_API_KEY: GAINSIGHT_API_KEY capability: consumes: - type: http namespace: px-subscription baseUri: https://api.aptrinsic.com/v1 description: Gainsight PX API — Subscription business capability. Self-contained, no shared references. resources: - name: subscriptions path: /subscriptions operations: - name: listsubscriptions method: GET description: Gainsight List event subscriptions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsubscription method: POST description: Gainsight Create an event subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-APTRINSIC-API-KEY value: '{{env.GAINSIGHT_API_KEY}}' placement: header exposes: - type: rest namespace: px-subscription-rest port: 8080 description: REST adapter for Gainsight PX API — Subscription. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions name: subscriptions description: REST surface for subscriptions. operations: - method: GET name: listsubscriptions description: Gainsight List event subscriptions call: px-subscription.listsubscriptions outputParameters: - type: object mapping: $. - method: POST name: createsubscription description: Gainsight Create an event subscription call: px-subscription.createsubscription with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: px-subscription-mcp port: 9090 transport: http description: MCP adapter for Gainsight PX API — Subscription. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: gainsight-list-event-subscriptions description: Gainsight List event subscriptions hints: readOnly: true destructive: false idempotent: true call: px-subscription.listsubscriptions outputParameters: - type: object mapping: $. - name: gainsight-create-event-subscription description: Gainsight Create an event subscription hints: readOnly: false destructive: false idempotent: false call: px-subscription.createsubscription with: body: tools.body outputParameters: - type: object mapping: $.