Akamai API Security · Capability

Akamai: Application Security API — Hostnames

Akamai: Application Security API — Hostnames. 6 operations. Lead operation: Akamai API Security List Hostname Overlaps. Self-contained Naftiko capability covering one Akamai Api Security business surface.

Run with Naftiko Akamai Api SecurityHostnames

What You Can Do

GET
Gethostnamecoverageoverlapping — Akamai API Security List Hostname Overlaps
/v1/configs/{configid}/versions/{versionnumber}/hostname-coverage/overlapping
GET
Getselectedhostnamesperpolicy — Akamai API Security List Selected Hostnames for a Security Policy
/v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/selected-hostnames
PUT
Putselectedhostnamesperconfig — Akamai API Security Modify Selected Hostnames for a Security Policy
/v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/selected-hostnames
GET
Getselectablehostnames — Akamai API Security List Selectable Hostnames
/v1/configs/{configid}/versions/{versionnumber}/selectable-hostnames
GET
Getselectedhostnames — Akamai API Security List Selected Hostnames
/v1/configs/{configid}/versions/{versionnumber}/selected-hostnames
PUT
Putselectedhostnames — Akamai API Security Modify Selected Hostnames
/v1/configs/{configid}/versions/{versionnumber}/selected-hostnames

MCP Tools

akamai-api-security-list-hostname

Akamai API Security List Hostname Overlaps

read-only idempotent
akamai-api-security-list-selected

Akamai API Security List Selected Hostnames for a Security Policy

read-only idempotent
akamai-api-security-modify-selected

Akamai API Security Modify Selected Hostnames for a Security Policy

idempotent
akamai-api-security-list-selectable

Akamai API Security List Selectable Hostnames

read-only idempotent
akamai-api-security-list-selected-2

Akamai API Security List Selected Hostnames

read-only idempotent
akamai-api-security-modify-selected-2

Akamai API Security Modify Selected Hostnames

idempotent

Capability Spec

akamai-api-security-hostnames.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Akamai: Application Security API — Hostnames'
  description: 'Akamai: Application Security API — Hostnames. 6 operations. Lead operation: Akamai API Security List Hostname
    Overlaps. Self-contained Naftiko capability covering one Akamai Api Security business surface.'
  tags:
  - Akamai Api Security
  - Hostnames
  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-hostnames
    baseUri: https://{hostname}/appsec/v1
    description: 'Akamai: Application Security API — Hostnames business capability. Self-contained, no shared references.'
    resources:
    - name: configs-configId-versions-versionNumber-hostname-coverage-overlapping
      path: /configs/{configId}/versions/{versionNumber}/hostname-coverage/overlapping
      operations:
      - name: gethostnamecoverageoverlapping
        method: GET
        description: Akamai API Security List Hostname Overlaps
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: hostname
          in: query
          type: string
          description: Get results by hostname.
        - 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-security-policies-policyId-selected-host
      path: /configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/selected-hostnames
      operations:
      - name: getselectedhostnamesperpolicy
        method: GET
        description: Akamai API Security List Selected Hostnames for a Security 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: putselectedhostnamesperconfig
        method: PUT
        description: Akamai API Security Modify Selected Hostnames for a Security 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: configs-configId-versions-versionNumber-selectable-hostnames
      path: /configs/{configId}/versions/{versionNumber}/selectable-hostnames
      operations:
      - name: getselectablehostnames
        method: GET
        description: Akamai API Security List Selectable Hostnames
        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-selected-hostnames
      path: /configs/{configId}/versions/{versionNumber}/selected-hostnames
      operations:
      - name: getselectedhostnames
        method: GET
        description: Akamai API Security List Selected Hostnames
        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: putselectedhostnames
        method: PUT
        description: Akamai API Security Modify Selected Hostnames
        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-hostnames-rest
    port: 8080
    description: 'REST adapter for Akamai: Application Security API — Hostnames. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.'
    resources:
    - path: /v1/configs/{configid}/versions/{versionnumber}/hostname-coverage/overlapping
      name: configs-configid-versions-versionnumber-hostname-coverage-overlapping
      description: REST surface for configs-configId-versions-versionNumber-hostname-coverage-overlapping.
      operations:
      - method: GET
        name: gethostnamecoverageoverlapping
        description: Akamai API Security List Hostname Overlaps
        call: akamai-api-security-hostnames.gethostnamecoverageoverlapping
        with:
          hostname: rest.hostname
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/configs/{configid}/versions/{versionnumber}/security-policies/{policyid}/selected-hostnames
      name: configs-configid-versions-versionnumber-security-policies-policyid-selected-host
      description: REST surface for configs-configId-versions-versionNumber-security-policies-policyId-selected-host.
      operations:
      - method: GET
        name: getselectedhostnamesperpolicy
        description: Akamai API Security List Selected Hostnames for a Security Policy
        call: akamai-api-security-hostnames.getselectedhostnamesperpolicy
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: putselectedhostnamesperconfig
        description: Akamai API Security Modify Selected Hostnames for a Security Policy
        call: akamai-api-security-hostnames.putselectedhostnamesperconfig
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/configs/{configid}/versions/{versionnumber}/selectable-hostnames
      name: configs-configid-versions-versionnumber-selectable-hostnames
      description: REST surface for configs-configId-versions-versionNumber-selectable-hostnames.
      operations:
      - method: GET
        name: getselectablehostnames
        description: Akamai API Security List Selectable Hostnames
        call: akamai-api-security-hostnames.getselectablehostnames
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/configs/{configid}/versions/{versionnumber}/selected-hostnames
      name: configs-configid-versions-versionnumber-selected-hostnames
      description: REST surface for configs-configId-versions-versionNumber-selected-hostnames.
      operations:
      - method: GET
        name: getselectedhostnames
        description: Akamai API Security List Selected Hostnames
        call: akamai-api-security-hostnames.getselectedhostnames
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: putselectedhostnames
        description: Akamai API Security Modify Selected Hostnames
        call: akamai-api-security-hostnames.putselectedhostnames
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: akamai-api-security-hostnames-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for Akamai: Application Security API — Hostnames. One tool per consumed operation, routed inline
      through this capability''s consumes block.'
    tools:
    - name: akamai-api-security-list-hostname
      description: Akamai API Security List Hostname Overlaps
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: akamai-api-security-hostnames.gethostnamecoverageoverlapping
      with:
        hostname: tools.hostname
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-list-selected
      description: Akamai API Security List Selected Hostnames for a Security Policy
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: akamai-api-security-hostnames.getselectedhostnamesperpolicy
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-modify-selected
      description: Akamai API Security Modify Selected Hostnames for a Security Policy
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: akamai-api-security-hostnames.putselectedhostnamesperconfig
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-list-selectable
      description: Akamai API Security List Selectable Hostnames
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: akamai-api-security-hostnames.getselectablehostnames
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-list-selected-2
      description: Akamai API Security List Selected Hostnames
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: akamai-api-security-hostnames.getselectedhostnames
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-modify-selected-2
      description: Akamai API Security Modify Selected Hostnames
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: akamai-api-security-hostnames.putselectedhostnames
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.