Prefect · Capability

Prefect Cloud API — Workspace Rate Limit Allocations

Prefect Cloud API — Workspace Rate Limit Allocations. 2 operations. Lead operation: Read Workspace Rate Limit Allocations. Self-contained Naftiko capability covering one Prefect business surface.

Run with Naftiko PrefectWorkspace Rate Limit Allocations

What You Can Do

GET
Readworkspaceratelimitallocationsapiaccountsaccountidratelimitallocationsget — Read Workspace Rate Limit Allocations
/v1/api/accounts/{account-id}/rate-limit-allocations
PUT
Upsertworkspaceratelimitallocationsapiaccountsaccountidratelimitallocationsput — Upsert Workspace Rate Limit Allocations
/v1/api/accounts/{account-id}/rate-limit-allocations

MCP Tools

read-workspace-rate-limit-allocations

Read Workspace Rate Limit Allocations

read-only idempotent
upsert-workspace-rate-limit-allocations

Upsert Workspace Rate Limit Allocations

idempotent

Capability Spec

prefect-workspace-rate-limit-allocations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Prefect Cloud API — Workspace Rate Limit Allocations
  description: 'Prefect Cloud API — Workspace Rate Limit Allocations. 2 operations. Lead operation: Read Workspace Rate Limit
    Allocations. Self-contained Naftiko capability covering one Prefect business surface.'
  tags:
  - Prefect
  - Workspace Rate Limit Allocations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PREFECT_API_KEY: PREFECT_API_KEY
capability:
  consumes:
  - type: http
    namespace: prefect-workspace-rate-limit-allocations
    baseUri: ''
    description: Prefect Cloud API — Workspace Rate Limit Allocations business capability. Self-contained, no shared references.
    resources:
    - name: api-accounts-account_id-rate-limit-allocations
      path: /api/accounts/{account_id}/rate-limit-allocations/
      operations:
      - name: readworkspaceratelimitallocationsapiaccountsaccountidratelimitallocationsget
        method: GET
        description: Read Workspace Rate Limit Allocations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
      - name: upsertworkspaceratelimitallocationsapiaccountsaccountidratelimitallocationsput
        method: PUT
        description: Upsert Workspace Rate Limit Allocations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: prefect-workspace-rate-limit-allocations-rest
    port: 8080
    description: REST adapter for Prefect Cloud API — Workspace Rate Limit Allocations. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/api/accounts/{account-id}/rate-limit-allocations
      name: api-accounts-account-id-rate-limit-allocations
      description: REST surface for api-accounts-account_id-rate-limit-allocations.
      operations:
      - method: GET
        name: readworkspaceratelimitallocationsapiaccountsaccountidratelimitallocationsget
        description: Read Workspace Rate Limit Allocations
        call: prefect-workspace-rate-limit-allocations.readworkspaceratelimitallocationsapiaccountsaccountidratelimitallocationsget
        with:
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: upsertworkspaceratelimitallocationsapiaccountsaccountidratelimitallocationsput
        description: Upsert Workspace Rate Limit Allocations
        call: prefect-workspace-rate-limit-allocations.upsertworkspaceratelimitallocationsapiaccountsaccountidratelimitallocationsput
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: prefect-workspace-rate-limit-allocations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Prefect Cloud API — Workspace Rate Limit Allocations. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: read-workspace-rate-limit-allocations
      description: Read Workspace Rate Limit Allocations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: prefect-workspace-rate-limit-allocations.readworkspaceratelimitallocationsapiaccountsaccountidratelimitallocationsget
      with:
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: upsert-workspace-rate-limit-allocations
      description: Upsert Workspace Rate Limit Allocations
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: prefect-workspace-rate-limit-allocations.upsertworkspaceratelimitallocationsapiaccountsaccountidratelimitallocationsput
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.