Prefect · Capability

Prefect Cloud API — Available Assets

Prefect Cloud API — Available Assets. 1 operations. Lead operation: List Available Assets Endpoint. Self-contained Naftiko capability covering one Prefect business surface.

Run with Naftiko PrefectAvailable Assets

What You Can Do

GET
Listavailableassetsendpointapiaccountsaccountidworkspacesworkspaceidavailableassetsget — List Available Assets Endpoint
/v1/api/accounts/{account-id}/workspaces/{workspace-id}/available-assets

MCP Tools

list-available-assets-endpoint

List Available Assets Endpoint

read-only idempotent

Capability Spec

prefect-available-assets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Prefect Cloud API — Available Assets
  description: 'Prefect Cloud API — Available Assets. 1 operations. Lead operation: List Available Assets Endpoint. Self-contained
    Naftiko capability covering one Prefect business surface.'
  tags:
  - Prefect
  - Available Assets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PREFECT_API_KEY: PREFECT_API_KEY
capability:
  consumes:
  - type: http
    namespace: prefect-available-assets
    baseUri: ''
    description: Prefect Cloud API — Available Assets business capability. Self-contained, no shared references.
    resources:
    - name: api-accounts-account_id-workspaces-workspace_id-available-assets
      path: /api/accounts/{account_id}/workspaces/{workspace_id}/available-assets/
      operations:
      - name: listavailableassetsendpointapiaccountsaccountidworkspacesworkspaceidavailableassetsget
        method: GET
        description: List Available Assets Endpoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: workspace_id
          in: path
          type: string
          required: true
        - name: limit
          in: query
          type: integer
        - name: cursor
          in: query
          type: string
  exposes:
  - type: rest
    namespace: prefect-available-assets-rest
    port: 8080
    description: REST adapter for Prefect Cloud API — Available Assets. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/accounts/{account-id}/workspaces/{workspace-id}/available-assets
      name: api-accounts-account-id-workspaces-workspace-id-available-assets
      description: REST surface for api-accounts-account_id-workspaces-workspace_id-available-assets.
      operations:
      - method: GET
        name: listavailableassetsendpointapiaccountsaccountidworkspacesworkspaceidavailableassetsget
        description: List Available Assets Endpoint
        call: prefect-available-assets.listavailableassetsendpointapiaccountsaccountidworkspacesworkspaceidavailableassetsget
        with:
          account_id: rest.account_id
          workspace_id: rest.workspace_id
          limit: rest.limit
          cursor: rest.cursor
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: prefect-available-assets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Prefect Cloud API — Available Assets. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-available-assets-endpoint
      description: List Available Assets Endpoint
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: prefect-available-assets.listavailableassetsendpointapiaccountsaccountidworkspacesworkspaceidavailableassetsget
      with:
        account_id: tools.account_id
        workspace_id: tools.workspace_id
        limit: tools.limit
        cursor: tools.cursor
      outputParameters:
      - type: object
        mapping: $.