Akamai · Capability

Akamai: EdgeWorkers API — Contracts

Akamai: EdgeWorkers API — Contracts. 1 operations. Lead operation: Akamai List Contract IDs. Self-contained Naftiko capability covering one Akamai business surface.

Run with Naftiko AkamaiContracts

What You Can Do

GET
Getcontracts — Akamai List Contract IDs
/v1/contracts

MCP Tools

akamai-list-contract-ids

Akamai List Contract IDs

read-only idempotent

Capability Spec

edgeworkers-contracts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Akamai: EdgeWorkers API — Contracts'
  description: 'Akamai: EdgeWorkers API — Contracts. 1 operations. Lead operation: Akamai List Contract IDs. Self-contained
    Naftiko capability covering one Akamai business surface.'
  tags:
  - Akamai
  - Contracts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AKAMAI_API_KEY: AKAMAI_API_KEY
capability:
  consumes:
  - type: http
    namespace: edgeworkers-contracts
    baseUri: https://{hostname}/edgeworkers/v1
    description: 'Akamai: EdgeWorkers API — Contracts business capability. Self-contained, no shared references.'
    resources:
    - name: contracts
      path: /contracts
      operations:
      - name: getcontracts
        method: GET
        description: Akamai List Contract IDs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountSwitchKey
          in: query
          type: string
          description: For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-w
  exposes:
  - type: rest
    namespace: edgeworkers-contracts-rest
    port: 8080
    description: 'REST adapter for Akamai: EdgeWorkers API — Contracts. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.'
    resources:
    - path: /v1/contracts
      name: contracts
      description: REST surface for contracts.
      operations:
      - method: GET
        name: getcontracts
        description: Akamai List Contract IDs
        call: edgeworkers-contracts.getcontracts
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: edgeworkers-contracts-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for Akamai: EdgeWorkers API — Contracts. One tool per consumed operation, routed inline through
      this capability''s consumes block.'
    tools:
    - name: akamai-list-contract-ids
      description: Akamai List Contract IDs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edgeworkers-contracts.getcontracts
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.