Prisma · Capability

Prisma Pulse API — Streams

Prisma Pulse API — Streams. 4 operations. Lead operation: Prisma Create a named event stream. Self-contained Naftiko capability covering one Prisma business surface.

Run with Naftiko PrismaStreams

What You Can Do

POST
Createstream — Prisma Create a named event stream
/v1/streams
GET
Liststreams — Prisma List active event streams
/v1/streams
DELETE
Deletestream — Prisma Delete a named stream
/v1/streams/{streamname}
GET
Consumestreamevents — Prisma Consume events from a named stream
/v1/streams/{streamname}/events

MCP Tools

prisma-create-named-event-stream

Prisma Create a named event stream

prisma-list-active-event-streams

Prisma List active event streams

read-only idempotent
prisma-delete-named-stream

Prisma Delete a named stream

idempotent
prisma-consume-events-named-stream

Prisma Consume events from a named stream

read-only idempotent

Capability Spec

pulse-streams.yaml Raw ↑
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: $.