Akamai · Capability

Akamai: EdgeWorkers API — Validations

Akamai: EdgeWorkers API — Validations. 1 operations. Lead operation: Akamai Validate an EdgeWorkers Code Bundle. Self-contained Naftiko capability covering one Akamai business surface.

Run with Naftiko AkamaiValidations

What You Can Do

POST
Postvalidations — Akamai Validate an EdgeWorkers Code Bundle
/v1/validations

MCP Tools

akamai-validate-edgeworkers-code-bundle

Akamai Validate an EdgeWorkers Code Bundle

read-only

Capability Spec

edgeworkers-validations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Akamai: EdgeWorkers API — Validations'
  description: 'Akamai: EdgeWorkers API — Validations. 1 operations. Lead operation: Akamai Validate an EdgeWorkers Code Bundle.
    Self-contained Naftiko capability covering one Akamai business surface.'
  tags:
  - Akamai
  - Validations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AKAMAI_API_KEY: AKAMAI_API_KEY
capability:
  consumes:
  - type: http
    namespace: edgeworkers-validations
    baseUri: https://{hostname}/edgeworkers/v1
    description: 'Akamai: EdgeWorkers API — Validations business capability. Self-contained, no shared references.'
    resources:
    - name: validations
      path: /validations
      operations:
      - name: postvalidations
        method: POST
        description: Akamai Validate an EdgeWorkers Code Bundle
        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
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: edgeworkers-validations-rest
    port: 8080
    description: 'REST adapter for Akamai: EdgeWorkers API — Validations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.'
    resources:
    - path: /v1/validations
      name: validations
      description: REST surface for validations.
      operations:
      - method: POST
        name: postvalidations
        description: Akamai Validate an EdgeWorkers Code Bundle
        call: edgeworkers-validations.postvalidations
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: edgeworkers-validations-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for Akamai: EdgeWorkers API — Validations. One tool per consumed operation, routed inline through
      this capability''s consumes block.'
    tools:
    - name: akamai-validate-edgeworkers-code-bundle
      description: Akamai Validate an EdgeWorkers Code Bundle
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: edgeworkers-validations.postvalidations
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.