naftiko: 1.0.0-alpha2 info: label: 'Akamai: EdgeWorkers API — EdgeWorker IDs' description: 'Akamai: EdgeWorkers API — EdgeWorker IDs. 7 operations. Lead operation: Akamai Create a New EdgeWorker ID. Self-contained Naftiko capability covering one Akamai business surface.' tags: - Akamai - EdgeWorker IDs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AKAMAI_API_KEY: AKAMAI_API_KEY capability: consumes: - type: http namespace: edgeworkers-edgeworker-ids baseUri: https://{hostname}/edgeworkers/v1 description: 'Akamai: EdgeWorkers API — EdgeWorker IDs business capability. Self-contained, no shared references.' resources: - name: ids path: /ids operations: - name: postids method: POST description: Akamai Create a New EdgeWorker ID 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: getids method: GET description: Akamai List EdgeWorker IDs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: groupId in: query type: integer description: Unique identifier for the Akamai group containing the EdgeWorker. - name: resourceTierId in: query type: integer description: Unique identifier of the resource tier. - 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 path: /ids/{edgeWorkerId} operations: - name: getid method: GET description: Akamai Get an EdgeWorker ID 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: putid method: PUT description: Akamai Update an EdgeWorker ID 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: deleteid method: DELETE description: Akamai Delete an EdgeWorker ID 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: ids-edgeWorkerId-clone path: /ids/{edgeWorkerId}/clone operations: - name: postidclone method: POST description: Akamai Clone an EdgeWorker ID 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-resource-tier path: /ids/{edgeWorkerId}/resource-tier operations: - name: getidresourcetier method: GET description: Akamai Get the Resource Tier 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-edgeworker-ids-rest port: 8080 description: 'REST adapter for Akamai: EdgeWorkers API — EdgeWorker IDs. One Spectral-compliant resource per consumed operation, prefixed with /v1.' resources: - path: /v1/ids name: ids description: REST surface for ids. operations: - method: POST name: postids description: Akamai Create a New EdgeWorker ID call: edgeworkers-edgeworker-ids.postids with: accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getids description: Akamai List EdgeWorker IDs call: edgeworkers-edgeworker-ids.getids with: groupId: rest.groupId resourceTierId: rest.resourceTierId accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - path: /v1/ids/{edgeworkerid} name: ids-edgeworkerid description: REST surface for ids-edgeWorkerId. operations: - method: GET name: getid description: Akamai Get an EdgeWorker ID call: edgeworkers-edgeworker-ids.getid with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - method: PUT name: putid description: Akamai Update an EdgeWorker ID call: edgeworkers-edgeworker-ids.putid with: accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteid description: Akamai Delete an EdgeWorker ID call: edgeworkers-edgeworker-ids.deleteid with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - path: /v1/ids/{edgeworkerid}/clone name: ids-edgeworkerid-clone description: REST surface for ids-edgeWorkerId-clone. operations: - method: POST name: postidclone description: Akamai Clone an EdgeWorker ID call: edgeworkers-edgeworker-ids.postidclone with: accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - path: /v1/ids/{edgeworkerid}/resource-tier name: ids-edgeworkerid-resource-tier description: REST surface for ids-edgeWorkerId-resource-tier. operations: - method: GET name: getidresourcetier description: Akamai Get the Resource Tier call: edgeworkers-edgeworker-ids.getidresourcetier with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - type: mcp namespace: edgeworkers-edgeworker-ids-mcp port: 9090 transport: http description: 'MCP adapter for Akamai: EdgeWorkers API — EdgeWorker IDs. One tool per consumed operation, routed inline through this capability''s consumes block.' tools: - name: akamai-create-new-edgeworker-id description: Akamai Create a New EdgeWorker ID hints: readOnly: false destructive: false idempotent: false call: edgeworkers-edgeworker-ids.postids with: accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $. - name: akamai-list-edgeworker-ids description: Akamai List EdgeWorker IDs hints: readOnly: true destructive: false idempotent: true call: edgeworkers-edgeworker-ids.getids with: groupId: tools.groupId resourceTierId: tools.resourceTierId accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-get-edgeworker-id description: Akamai Get an EdgeWorker ID hints: readOnly: true destructive: false idempotent: true call: edgeworkers-edgeworker-ids.getid with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-update-edgeworker-id description: Akamai Update an EdgeWorker ID hints: readOnly: false destructive: false idempotent: true call: edgeworkers-edgeworker-ids.putid with: accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $. - name: akamai-delete-edgeworker-id description: Akamai Delete an EdgeWorker ID hints: readOnly: false destructive: true idempotent: true call: edgeworkers-edgeworker-ids.deleteid with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-clone-edgeworker-id description: Akamai Clone an EdgeWorker ID hints: readOnly: false destructive: false idempotent: false call: edgeworkers-edgeworker-ids.postidclone with: accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $. - name: akamai-get-resource-tier description: Akamai Get the Resource Tier hints: readOnly: true destructive: false idempotent: true call: edgeworkers-edgeworker-ids.getidresourcetier with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $.