fastly · Capability

Fastly Products API — API Discovery

Fastly Products API — API Discovery. 3 operations. Lead operation: Get API Discovery status. Self-contained Naftiko capability covering one Fastly business surface.

Run with Naftiko FastlyAPI Discovery

What You Can Do

GET
Getapidiscoverystatus — Get API Discovery status
/v1/enabled-products/v1/api-discovery/services/{service-id}
PUT
Enableapidiscovery — Enable API Discovery
/v1/enabled-products/v1/api-discovery/services/{service-id}
DELETE
Disableapidiscovery — Disable API Discovery
/v1/enabled-products/v1/api-discovery/services/{service-id}

MCP Tools

get-api-discovery-status

Get API Discovery status

read-only idempotent
enable-api-discovery

Enable API Discovery

idempotent
disable-api-discovery

Disable API Discovery

idempotent

Capability Spec

products-api-discovery.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Fastly Products API — API Discovery
  description: 'Fastly Products API — API Discovery. 3 operations. Lead operation: Get API Discovery status. Self-contained
    Naftiko capability covering one Fastly business surface.'
  tags:
  - Fastly
  - API Discovery
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FASTLY_API_KEY: FASTLY_API_KEY
capability:
  consumes:
  - type: http
    namespace: products-api-discovery
    baseUri: https://api.fastly.com
    description: Fastly Products API — API Discovery business capability. Self-contained, no shared references.
    resources:
    - name: enabled-products-v1-api_discovery-services-service_id
      path: /enabled-products/v1/api_discovery/services/{service_id}
      operations:
      - name: getapidiscoverystatus
        method: GET
        description: Get API Discovery status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enableapidiscovery
        method: PUT
        description: Enable API Discovery
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: disableapidiscovery
        method: DELETE
        description: Disable API Discovery
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Fastly-Key
      value: '{{env.FASTLY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: products-api-discovery-rest
    port: 8080
    description: REST adapter for Fastly Products API — API Discovery. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/enabled-products/v1/api-discovery/services/{service-id}
      name: enabled-products-v1-api-discovery-services-service-id
      description: REST surface for enabled-products-v1-api_discovery-services-service_id.
      operations:
      - method: GET
        name: getapidiscoverystatus
        description: Get API Discovery status
        call: products-api-discovery.getapidiscoverystatus
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: enableapidiscovery
        description: Enable API Discovery
        call: products-api-discovery.enableapidiscovery
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: disableapidiscovery
        description: Disable API Discovery
        call: products-api-discovery.disableapidiscovery
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: products-api-discovery-mcp
    port: 9090
    transport: http
    description: MCP adapter for Fastly Products API — API Discovery. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-api-discovery-status
      description: Get API Discovery status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: products-api-discovery.getapidiscoverystatus
      outputParameters:
      - type: object
        mapping: $.
    - name: enable-api-discovery
      description: Enable API Discovery
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: products-api-discovery.enableapidiscovery
      outputParameters:
      - type: object
        mapping: $.
    - name: disable-api-discovery
      description: Disable API Discovery
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: products-api-discovery.disableapidiscovery
      outputParameters:
      - type: object
        mapping: $.