Akamai · Capability

Akamai: EdgeWorkers API — Activations

Akamai: EdgeWorkers API — Activations. 5 operations. Lead operation: Akamai Activate an EdgeWorker Version. Self-contained Naftiko capability covering one Akamai business surface.

Run with Naftiko AkamaiActivations

What You Can Do

POST
Postactivations — Akamai Activate an EdgeWorker Version
/v1/ids/{edgeworkerid}/activations
GET
Getactivations — Akamai List Activations
/v1/ids/{edgeworkerid}/activations
POST
Postrollbacktopreviousactiveversion — Akamai Roll Back to the Previous Active EdgeWorker Version
/v1/ids/{edgeworkerid}/activations/rollback
GET
Getactivation — Akamai Get an Activation
/v1/ids/{edgeworkerid}/activations/{activationid}
DELETE
Deleteactivation — Akamai Cancel an Activation
/v1/ids/{edgeworkerid}/activations/{activationid}

MCP Tools

akamai-activate-edgeworker-version

Akamai Activate an EdgeWorker Version

akamai-list-activations

Akamai List Activations

read-only idempotent
akamai-roll-back-previous-active

Akamai Roll Back to the Previous Active EdgeWorker Version

akamai-get-activation

Akamai Get an Activation

read-only idempotent
akamai-cancel-activation

Akamai Cancel an Activation

idempotent

Capability Spec

edgeworkers-activations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Akamai: EdgeWorkers API — Activations'
  description: 'Akamai: EdgeWorkers API — Activations. 5 operations. Lead operation: Akamai Activate an EdgeWorker Version.
    Self-contained Naftiko capability covering one Akamai business surface.'
  tags:
  - Akamai
  - Activations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AKAMAI_API_KEY: AKAMAI_API_KEY
capability:
  consumes:
  - type: http
    namespace: edgeworkers-activations
    baseUri: https://{hostname}/edgeworkers/v1
    description: 'Akamai: EdgeWorkers API — Activations business capability. Self-contained, no shared references.'
    resources:
    - name: ids-edgeWorkerId-activations
      path: /ids/{edgeWorkerId}/activations
      operations:
      - name: postactivations
        method: POST
        description: Akamai Activate an EdgeWorker Version
        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
      - name: getactivations
        method: GET
        description: Akamai List Activations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: version
          in: query
          type: string
          description: Unique identifier for a specific EdgeWorker version.
        - name: activeOnNetwork
          in: query
          type: boolean
          description: When enabled, limits results to show only currently activate versions. Pair this with a `network` to
            get the version that's currently active on a specific netwo
        - name: network
          in: query
          type: string
          description: __Enum__ When enabled, limits results to show only versions activated on a specific network, either
            `STAGING` or `PRODUCTION`. Pair this with `activeOnNetwork=t
        - 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: ids-edgeWorkerId-activations-rollback
      path: /ids/{edgeWorkerId}/activations/rollback
      operations:
      - name: postrollbacktopreviousactiveversion
        method: POST
        description: Akamai Roll Back to the Previous Active EdgeWorker Version
        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
    - name: ids-edgeWorkerId-activations-activationId
      path: /ids/{edgeWorkerId}/activations/{activationId}
      operations:
      - name: getactivation
        method: GET
        description: Akamai Get an Activation
        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: deleteactivation
        method: DELETE
        description: Akamai Cancel an Activation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: activationId
          in: path
          type: integer
          description: Unique identifier for an EdgeWorkers activation.
          required: true
        - name: edgeWorkerId
          in: path
          type: integer
          description: Unique identifier for an EdgeWorker.
          required: true
        - 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-activations-rest
    port: 8080
    description: 'REST adapter for Akamai: EdgeWorkers API — Activations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.'
    resources:
    - path: /v1/ids/{edgeworkerid}/activations
      name: ids-edgeworkerid-activations
      description: REST surface for ids-edgeWorkerId-activations.
      operations:
      - method: POST
        name: postactivations
        description: Akamai Activate an EdgeWorker Version
        call: edgeworkers-activations.postactivations
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getactivations
        description: Akamai List Activations
        call: edgeworkers-activations.getactivations
        with:
          version: rest.version
          activeOnNetwork: rest.activeOnNetwork
          network: rest.network
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ids/{edgeworkerid}/activations/rollback
      name: ids-edgeworkerid-activations-rollback
      description: REST surface for ids-edgeWorkerId-activations-rollback.
      operations:
      - method: POST
        name: postrollbacktopreviousactiveversion
        description: Akamai Roll Back to the Previous Active EdgeWorker Version
        call: edgeworkers-activations.postrollbacktopreviousactiveversion
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/ids/{edgeworkerid}/activations/{activationid}
      name: ids-edgeworkerid-activations-activationid
      description: REST surface for ids-edgeWorkerId-activations-activationId.
      operations:
      - method: GET
        name: getactivation
        description: Akamai Get an Activation
        call: edgeworkers-activations.getactivation
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteactivation
        description: Akamai Cancel an Activation
        call: edgeworkers-activations.deleteactivation
        with:
          activationId: rest.activationId
          edgeWorkerId: rest.edgeWorkerId
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: edgeworkers-activations-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for Akamai: EdgeWorkers API — Activations. One tool per consumed operation, routed inline through
      this capability''s consumes block.'
    tools:
    - name: akamai-activate-edgeworker-version
      description: Akamai Activate an EdgeWorker Version
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: edgeworkers-activations.postactivations
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-list-activations
      description: Akamai List Activations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edgeworkers-activations.getactivations
      with:
        version: tools.version
        activeOnNetwork: tools.activeOnNetwork
        network: tools.network
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-roll-back-previous-active
      description: Akamai Roll Back to the Previous Active EdgeWorker Version
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: edgeworkers-activations.postrollbacktopreviousactiveversion
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-get-activation
      description: Akamai Get an Activation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edgeworkers-activations.getactivation
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-cancel-activation
      description: Akamai Cancel an Activation
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: edgeworkers-activations.deleteactivation
      with:
        activationId: tools.activationId
        edgeWorkerId: tools.edgeWorkerId
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.