naftiko: 1.0.0-alpha2 info: label: 'Akamai: Application Security API — Shared resources: Rate policies' description: 'Akamai: Application Security API — Shared resources: Rate policies. 6 operations. Lead operation: Akamai API Security Create a Rate Policy. Self-contained Naftiko capability covering one Akamai Api Security business surface.' tags: - Akamai Api Security - 'Shared resources: Rate policies' created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AKAMAI_API_SECURITY_API_KEY: AKAMAI_API_SECURITY_API_KEY capability: consumes: - type: http namespace: akamai-api-security-shared-resources-rate-policies baseUri: https://{hostname}/appsec/v1 description: 'Akamai: Application Security API — Shared resources: Rate policies business capability. Self-contained, no shared references.' resources: - name: configs-configId-versions-versionNumber-rate-policies path: /configs/{configId}/versions/{versionNumber}/rate-policies operations: - name: postratepolicies method: POST description: Akamai API Security Create a Rate Policy 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: getratepolicies method: GET description: Akamai API Security List Rate Policies 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: configs-configId-versions-versionNumber-rate-policies-ratePolicyId path: /configs/{configId}/versions/{versionNumber}/rate-policies/{ratePolicyId} operations: - name: getratepolicy method: GET description: Akamai API Security Get a Rate Policy 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: putratepolicy method: PUT description: Akamai API Security Modify a Rate Policy 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: deleteratepolicy method: DELETE description: Akamai API Security Remove a Rate Policy 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: configs-configId-versions-versionNumber-rate-policies-ratePolicyId-evaluation path: /configs/{configId}/versions/{versionNumber}/rate-policies/{ratePolicyId}/evaluation operations: - name: putratepolicyevaluation method: PUT description: Akamai API Security Modify a Rate Policy Evaluation 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: akamai-api-security-shared-resources-rate-policies-rest port: 8080 description: 'REST adapter for Akamai: Application Security API — Shared resources: Rate policies. One Spectral-compliant resource per consumed operation, prefixed with /v1.' resources: - path: /v1/configs/{configid}/versions/{versionnumber}/rate-policies name: configs-configid-versions-versionnumber-rate-policies description: REST surface for configs-configId-versions-versionNumber-rate-policies. operations: - method: POST name: postratepolicies description: Akamai API Security Create a Rate Policy call: akamai-api-security-shared-resources-rate-policies.postratepolicies with: accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getratepolicies description: Akamai API Security List Rate Policies call: akamai-api-security-shared-resources-rate-policies.getratepolicies with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - path: /v1/configs/{configid}/versions/{versionnumber}/rate-policies/{ratepolicyid} name: configs-configid-versions-versionnumber-rate-policies-ratepolicyid description: REST surface for configs-configId-versions-versionNumber-rate-policies-ratePolicyId. operations: - method: GET name: getratepolicy description: Akamai API Security Get a Rate Policy call: akamai-api-security-shared-resources-rate-policies.getratepolicy with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - method: PUT name: putratepolicy description: Akamai API Security Modify a Rate Policy call: akamai-api-security-shared-resources-rate-policies.putratepolicy with: accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteratepolicy description: Akamai API Security Remove a Rate Policy call: akamai-api-security-shared-resources-rate-policies.deleteratepolicy with: accountSwitchKey: rest.accountSwitchKey outputParameters: - type: object mapping: $. - path: /v1/configs/{configid}/versions/{versionnumber}/rate-policies/{ratepolicyid}/evaluation name: configs-configid-versions-versionnumber-rate-policies-ratepolicyid-evaluation description: REST surface for configs-configId-versions-versionNumber-rate-policies-ratePolicyId-evaluation. operations: - method: PUT name: putratepolicyevaluation description: Akamai API Security Modify a Rate Policy Evaluation call: akamai-api-security-shared-resources-rate-policies.putratepolicyevaluation with: accountSwitchKey: rest.accountSwitchKey body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: akamai-api-security-shared-resources-rate-policies-mcp port: 9090 transport: http description: 'MCP adapter for Akamai: Application Security API — Shared resources: Rate policies. One tool per consumed operation, routed inline through this capability''s consumes block.' tools: - name: akamai-api-security-create-rate description: Akamai API Security Create a Rate Policy hints: readOnly: false destructive: false idempotent: false call: akamai-api-security-shared-resources-rate-policies.postratepolicies with: accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $. - name: akamai-api-security-list-rate description: Akamai API Security List Rate Policies hints: readOnly: true destructive: false idempotent: true call: akamai-api-security-shared-resources-rate-policies.getratepolicies with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-api-security-get-rate description: Akamai API Security Get a Rate Policy hints: readOnly: true destructive: false idempotent: true call: akamai-api-security-shared-resources-rate-policies.getratepolicy with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-api-security-modify-rate description: Akamai API Security Modify a Rate Policy hints: readOnly: false destructive: false idempotent: true call: akamai-api-security-shared-resources-rate-policies.putratepolicy with: accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $. - name: akamai-api-security-remove-rate description: Akamai API Security Remove a Rate Policy hints: readOnly: false destructive: true idempotent: true call: akamai-api-security-shared-resources-rate-policies.deleteratepolicy with: accountSwitchKey: tools.accountSwitchKey outputParameters: - type: object mapping: $. - name: akamai-api-security-modify-rate-2 description: Akamai API Security Modify a Rate Policy Evaluation hints: readOnly: false destructive: false idempotent: true call: akamai-api-security-shared-resources-rate-policies.putratepolicyevaluation with: accountSwitchKey: tools.accountSwitchKey body: tools.body outputParameters: - type: object mapping: $.