Akamai · Capability

Akamai: Property Manager API — Property hostnames

Akamai: Property Manager API — Property hostnames. 3 operations. Lead operation: Akamai List Hostnames for an Account. Self-contained Naftiko capability covering one Akamai business surface.

Run with Naftiko AkamaiProperty hostnames

What You Can Do

GET
Gethostnames — Akamai List Hostnames for an Account
/v1/hostnames
POST
Postcertificatechallenges — Akamai Generate Domain Validation Challenges
/v1/hostnames/certificate-challenges
GET
Gethostnameaudithistory — Akamai Get Audit History
/v1/hostnames/{hostname}/audit-history

MCP Tools

akamai-list-hostnames-account

Akamai List Hostnames for an Account

read-only idempotent
akamai-generate-domain-validation-challenges

Akamai Generate Domain Validation Challenges

akamai-get-audit-history

Akamai Get Audit History

read-only idempotent

Capability Spec

papi-property-hostnames.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Akamai: Property Manager API — Property hostnames'
  description: 'Akamai: Property Manager API — Property hostnames. 3 operations. Lead operation: Akamai List Hostnames for
    an Account. Self-contained Naftiko capability covering one Akamai business surface.'
  tags:
  - Akamai
  - Property hostnames
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AKAMAI_API_KEY: AKAMAI_API_KEY
capability:
  consumes:
  - type: http
    namespace: papi-property-hostnames
    baseUri: https://{hostname}/papi/v1
    description: 'Akamai: Property Manager API — Property hostnames business capability. Self-contained, no shared references.'
    resources:
    - name: hostnames
      path: /hostnames
      operations:
      - name: gethostnames
        method: GET
        description: Akamai List Hostnames for an Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PAPI-Use-Prefixes
          in: header
          type: string
          description: __Enum__ Sets whether to represent [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes)
            in response data. Set to `false` when exchangin
          required: true
        - name: offset
          in: query
          type: integer
          description: For paginated responses, specifies the page of results you want to navigate to, starting from `0`.
        - name: limit
          in: query
          type: integer
          description: For paginated responses, specifies the number of `hostnames` objects to include on each page.
        - name: sort
          in: query
          type: string
          description: __Enum__ Sort the results based on the `cnameFrom` value, either `hostname:a` for ascending or `hostname:d`
            for descending order. The default is `hostname:a`.
        - name: hostname
          in: query
          type: string
          description: Filter the results by `cnameFrom`. Supports wildcard matches with `*`.
        - name: cnameTo
          in: query
          type: string
          description: Filter the results by edge hostname. Supports wildcard matches with `*`.
        - name: network
          in: query
          type: string
          description: __Enum__ Network of activated hostnames, either `STAGING` or `PRODUCTION`.
        - name: contractId
          in: query
          type: string
          description: Unique identifier for the contract. See [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes)
            for details on omitting the value's `ctr_`
        - name: groupId
          in: query
          type: string
          description: Unique identifier for the group. See [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes)
            for details on omitting the value's `grp_` pr
        - 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: hostnames-certificate-challenges
      path: /hostnames/certificate-challenges
      operations:
      - name: postcertificatechallenges
        method: POST
        description: Akamai Generate Domain Validation Challenges
        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: hostnames-hostname-audit-history
      path: /hostnames/{hostname}/audit-history
      operations:
      - name: gethostnameaudithistory
        method: GET
        description: Akamai Get Audit History
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: PAPI-Use-Prefixes
          in: header
          type: string
          description: __Enum__ Sets whether to represent [ID prefixes](https://techdocs.akamai.com/property-mgr/reference/id-prefixes)
            in response data. Set to `false` when exchangin
          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: papi-property-hostnames-rest
    port: 8080
    description: 'REST adapter for Akamai: Property Manager API — Property hostnames. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.'
    resources:
    - path: /v1/hostnames
      name: hostnames
      description: REST surface for hostnames.
      operations:
      - method: GET
        name: gethostnames
        description: Akamai List Hostnames for an Account
        call: papi-property-hostnames.gethostnames
        with:
          PAPI-Use-Prefixes: rest.PAPI-Use-Prefixes
          offset: rest.offset
          limit: rest.limit
          sort: rest.sort
          hostname: rest.hostname
          cnameTo: rest.cnameTo
          network: rest.network
          contractId: rest.contractId
          groupId: rest.groupId
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/hostnames/certificate-challenges
      name: hostnames-certificate-challenges
      description: REST surface for hostnames-certificate-challenges.
      operations:
      - method: POST
        name: postcertificatechallenges
        description: Akamai Generate Domain Validation Challenges
        call: papi-property-hostnames.postcertificatechallenges
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/hostnames/{hostname}/audit-history
      name: hostnames-hostname-audit-history
      description: REST surface for hostnames-hostname-audit-history.
      operations:
      - method: GET
        name: gethostnameaudithistory
        description: Akamai Get Audit History
        call: papi-property-hostnames.gethostnameaudithistory
        with:
          PAPI-Use-Prefixes: rest.PAPI-Use-Prefixes
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: papi-property-hostnames-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for Akamai: Property Manager API — Property hostnames. One tool per consumed operation, routed
      inline through this capability''s consumes block.'
    tools:
    - name: akamai-list-hostnames-account
      description: Akamai List Hostnames for an Account
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: papi-property-hostnames.gethostnames
      with:
        PAPI-Use-Prefixes: tools.PAPI-Use-Prefixes
        offset: tools.offset
        limit: tools.limit
        sort: tools.sort
        hostname: tools.hostname
        cnameTo: tools.cnameTo
        network: tools.network
        contractId: tools.contractId
        groupId: tools.groupId
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-generate-domain-validation-challenges
      description: Akamai Generate Domain Validation Challenges
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: papi-property-hostnames.postcertificatechallenges
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-get-audit-history
      description: Akamai Get Audit History
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: papi-property-hostnames.gethostnameaudithistory
      with:
        PAPI-Use-Prefixes: tools.PAPI-Use-Prefixes
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.