Backblaze · Capability

Backblaze B2 Native API — Application Keys

Backblaze B2 Native API — Application Keys. 3 operations. Lead operation: Backblaze B2 Native API Create Key. Self-contained Naftiko capability covering one Backblaze business surface.

Run with Naftiko BackblazeApplication Keys

What You Can Do

POST
Createkey — Backblaze B2 Native API Create Key
/v1/b2api/v4/b2-create-key
POST
Deletekey — Backblaze B2 Native API Delete Key
/v1/b2api/v4/b2-delete-key
POST
Listkeys — Backblaze B2 Native API List Keys
/v1/b2api/v4/b2-list-keys

MCP Tools

backblaze-b2-native-api-create

Backblaze B2 Native API Create Key

backblaze-b2-native-api-delete

Backblaze B2 Native API Delete Key

backblaze-b2-native-api-list

Backblaze B2 Native API List Keys

read-only

Capability Spec

b2-native-application-keys.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Backblaze B2 Native API — Application Keys
  description: 'Backblaze B2 Native API — Application Keys. 3 operations. Lead operation: Backblaze B2 Native API Create Key.
    Self-contained Naftiko capability covering one Backblaze business surface.'
  tags:
  - Backblaze
  - Application Keys
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BACKBLAZE_API_KEY: BACKBLAZE_API_KEY
capability:
  consumes:
  - type: http
    namespace: b2-native-application-keys
    baseUri: https://api.backblazeb2.com
    description: Backblaze B2 Native API — Application Keys business capability. Self-contained, no shared references.
    resources:
    - name: b2api-v4-b2_create_key
      path: /b2api/v4/b2_create_key
      operations:
      - name: createkey
        method: POST
        description: Backblaze B2 Native API Create Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: b2api-v4-b2_delete_key
      path: /b2api/v4/b2_delete_key
      operations:
      - name: deletekey
        method: POST
        description: Backblaze B2 Native API Delete Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: b2api-v4-b2_list_keys
      path: /b2api/v4/b2_list_keys
      operations:
      - name: listkeys
        method: POST
        description: Backblaze B2 Native API List Keys
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.BACKBLAZE_API_KEY}}'
  exposes:
  - type: rest
    namespace: b2-native-application-keys-rest
    port: 8080
    description: REST adapter for Backblaze B2 Native API — Application Keys. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/b2api/v4/b2-create-key
      name: b2api-v4-b2-create-key
      description: REST surface for b2api-v4-b2_create_key.
      operations:
      - method: POST
        name: createkey
        description: Backblaze B2 Native API Create Key
        call: b2-native-application-keys.createkey
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/b2api/v4/b2-delete-key
      name: b2api-v4-b2-delete-key
      description: REST surface for b2api-v4-b2_delete_key.
      operations:
      - method: POST
        name: deletekey
        description: Backblaze B2 Native API Delete Key
        call: b2-native-application-keys.deletekey
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/b2api/v4/b2-list-keys
      name: b2api-v4-b2-list-keys
      description: REST surface for b2api-v4-b2_list_keys.
      operations:
      - method: POST
        name: listkeys
        description: Backblaze B2 Native API List Keys
        call: b2-native-application-keys.listkeys
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: b2-native-application-keys-mcp
    port: 9090
    transport: http
    description: MCP adapter for Backblaze B2 Native API — Application Keys. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: backblaze-b2-native-api-create
      description: Backblaze B2 Native API Create Key
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: b2-native-application-keys.createkey
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: backblaze-b2-native-api-delete
      description: Backblaze B2 Native API Delete Key
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: b2-native-application-keys.deletekey
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: backblaze-b2-native-api-list
      description: Backblaze B2 Native API List Keys
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: b2-native-application-keys.listkeys
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.