naftiko: 1.0.0-alpha2 info: label: Prisma Pulse API — Streams description: 'Prisma Pulse API — Streams. 4 operations. Lead operation: Prisma Create a named event stream. Self-contained Naftiko capability covering one Prisma business surface.' tags: - Prisma - Streams created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PRISMA_API_KEY: PRISMA_API_KEY capability: consumes: - type: http namespace: pulse-streams baseUri: https://pulse.prisma-data.net description: Prisma Pulse API — Streams business capability. Self-contained, no shared references. resources: - name: streams path: /streams operations: - name: createstream method: POST description: Prisma Create a named event stream outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: liststreams method: GET description: Prisma List active event streams outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streams-streamName path: /streams/{streamName} operations: - name: deletestream method: DELETE description: Prisma Delete a named stream outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: streamName in: path type: string description: Name of the stream to delete required: true - name: streams-streamName-events path: /streams/{streamName}/events operations: - name: consumestreamevents method: GET description: Prisma Consume events from a named stream outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: streamName in: path type: string description: Name of the stream to consume events from required: true authentication: type: apikey key: Authorization value: '{{env.PRISMA_API_KEY}}' placement: header exposes: - type: rest namespace: pulse-streams-rest port: 8080 description: REST adapter for Prisma Pulse API — Streams. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/streams name: streams description: REST surface for streams. operations: - method: POST name: createstream description: Prisma Create a named event stream call: pulse-streams.createstream with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: liststreams description: Prisma List active event streams call: pulse-streams.liststreams outputParameters: - type: object mapping: $. - path: /v1/streams/{streamname} name: streams-streamname description: REST surface for streams-streamName. operations: - method: DELETE name: deletestream description: Prisma Delete a named stream call: pulse-streams.deletestream with: streamName: rest.streamName outputParameters: - type: object mapping: $. - path: /v1/streams/{streamname}/events name: streams-streamname-events description: REST surface for streams-streamName-events. operations: - method: GET name: consumestreamevents description: Prisma Consume events from a named stream call: pulse-streams.consumestreamevents with: streamName: rest.streamName outputParameters: - type: object mapping: $. - type: mcp namespace: pulse-streams-mcp port: 9090 transport: http description: MCP adapter for Prisma Pulse API — Streams. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: prisma-create-named-event-stream description: Prisma Create a named event stream hints: readOnly: false destructive: false idempotent: false call: pulse-streams.createstream with: body: tools.body outputParameters: - type: object mapping: $. - name: prisma-list-active-event-streams description: Prisma List active event streams hints: readOnly: true destructive: false idempotent: true call: pulse-streams.liststreams outputParameters: - type: object mapping: $. - name: prisma-delete-named-stream description: Prisma Delete a named stream hints: readOnly: false destructive: true idempotent: true call: pulse-streams.deletestream with: streamName: tools.streamName outputParameters: - type: object mapping: $. - name: prisma-consume-events-named-stream description: Prisma Consume events from a named stream hints: readOnly: true destructive: false idempotent: true call: pulse-streams.consumestreamevents with: streamName: tools.streamName outputParameters: - type: object mapping: $.