Restream · Capability

Restream API — Stream Keys

Restream API — Stream Keys. 1 operations. Lead operation: Get Stream Key. Self-contained Naftiko capability covering one Restream business surface.

Run with Naftiko RestreamStream Keys

What You Can Do

GET
Getstreamkey — Get Stream Key
/v1/user/streamkey

MCP Tools

get-stream-key

Get Stream Key

read-only idempotent

Capability Spec

restream-stream-keys.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Restream API — Stream Keys
  description: 'Restream API — Stream Keys. 1 operations. Lead operation: Get Stream Key. Self-contained Naftiko capability
    covering one Restream business surface.'
  tags:
  - Restream
  - Stream Keys
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RESTREAM_API_KEY: RESTREAM_API_KEY
capability:
  consumes:
  - type: http
    namespace: restream-stream-keys
    baseUri: https://api.restream.io/v2
    description: Restream API — Stream Keys business capability. Self-contained, no shared references.
    resources:
    - name: user-streamKey
      path: /user/streamKey
      operations:
      - name: getstreamkey
        method: GET
        description: Get Stream Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.RESTREAM_API_KEY}}'
  exposes:
  - type: rest
    namespace: restream-stream-keys-rest
    port: 8080
    description: REST adapter for Restream API — Stream Keys. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/user/streamkey
      name: user-streamkey
      description: REST surface for user-streamKey.
      operations:
      - method: GET
        name: getstreamkey
        description: Get Stream Key
        call: restream-stream-keys.getstreamkey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: restream-stream-keys-mcp
    port: 9090
    transport: http
    description: MCP adapter for Restream API — Stream Keys. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-stream-key
      description: Get Stream Key
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: restream-stream-keys.getstreamkey
      outputParameters:
      - type: object
        mapping: $.