Akamai · Capability

Akamai: EdgeKV API — Namespaces

Akamai: EdgeKV API — Namespaces. 7 operations. Lead operation: Akamai Modify the Default Data Access Policy. Self-contained Naftiko capability covering one Akamai business surface.

Run with Naftiko AkamaiNamespaces

What You Can Do

PUT
Putauthdatabase — Akamai Modify the Default Data Access Policy
/v1/auth/database
PUT
Putreauthorizenamespace — Akamai Reauthorize a Namespace
/v1/auth/namespaces/{namespaceid}
POST
Postnamespace — Akamai Create a Namespace
/v1/networks/{network}/namespaces
GET
Getnamespaces — Akamai List Namespaces
/v1/networks/{network}/namespaces
GET
Getnamespace — Akamai Get Namespace Details
/v1/networks/{network}/namespaces/{namespaceid}
PUT
Putnamespace — Akamai Update Namespace Details
/v1/networks/{network}/namespaces/{namespaceid}
GET
Getnamespacegroups — Akamai List Groups Within a Namespace
/v1/networks/{network}/namespaces/{namespaceid}/groups

MCP Tools

akamai-modify-default-data-access

Akamai Modify the Default Data Access Policy

idempotent
akamai-reauthorize-namespace

Akamai Reauthorize a Namespace

idempotent
akamai-create-namespace

Akamai Create a Namespace

akamai-list-namespaces

Akamai List Namespaces

read-only idempotent
akamai-get-namespace-details

Akamai Get Namespace Details

read-only idempotent
akamai-update-namespace-details

Akamai Update Namespace Details

idempotent
akamai-list-groups-within-namespace

Akamai List Groups Within a Namespace

read-only idempotent

Capability Spec

edgekv-namespaces.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Akamai: EdgeKV API — Namespaces'
  description: 'Akamai: EdgeKV API — Namespaces. 7 operations. Lead operation: Akamai Modify the Default Data Access Policy.
    Self-contained Naftiko capability covering one Akamai business surface.'
  tags:
  - Akamai
  - Namespaces
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AKAMAI_API_KEY: AKAMAI_API_KEY
capability:
  consumes:
  - type: http
    namespace: edgekv-namespaces
    baseUri: https://{hostname}/edgekv/v1
    description: 'Akamai: EdgeKV API — Namespaces business capability. Self-contained, no shared references.'
    resources:
    - name: auth-database
      path: /auth/database
      operations:
      - name: putauthdatabase
        method: PUT
        description: Akamai Modify the Default Data Access 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: false
    - name: auth-namespaces-namespaceId
      path: /auth/namespaces/{namespaceId}
      operations:
      - name: putreauthorizenamespace
        method: PUT
        description: Akamai Reauthorize a Namespace
        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: networks-network-namespaces
      path: /networks/{network}/namespaces
      operations:
      - name: postnamespace
        method: POST
        description: Akamai Create a Namespace
        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: false
      - name: getnamespaces
        method: GET
        description: Akamai List Namespaces
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: details
          in: query
          type: string
          description: __Enum__ Whether to return all namespace attributes or only names.
        - 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: networks-network-namespaces-namespaceId
      path: /networks/{network}/namespaces/{namespaceId}
      operations:
      - name: getnamespace
        method: GET
        description: Akamai Get Namespace Details
        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: putnamespace
        method: PUT
        description: Akamai Update Namespace Details
        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: false
    - name: networks-network-namespaces-namespaceId-groups
      path: /networks/{network}/namespaces/{namespaceId}/groups
      operations:
      - name: getnamespacegroups
        method: GET
        description: Akamai List Groups Within a Namespace
        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: edgekv-namespaces-rest
    port: 8080
    description: 'REST adapter for Akamai: EdgeKV API — Namespaces. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.'
    resources:
    - path: /v1/auth/database
      name: auth-database
      description: REST surface for auth-database.
      operations:
      - method: PUT
        name: putauthdatabase
        description: Akamai Modify the Default Data Access Policy
        call: edgekv-namespaces.putauthdatabase
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/auth/namespaces/{namespaceid}
      name: auth-namespaces-namespaceid
      description: REST surface for auth-namespaces-namespaceId.
      operations:
      - method: PUT
        name: putreauthorizenamespace
        description: Akamai Reauthorize a Namespace
        call: edgekv-namespaces.putreauthorizenamespace
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/networks/{network}/namespaces
      name: networks-network-namespaces
      description: REST surface for networks-network-namespaces.
      operations:
      - method: POST
        name: postnamespace
        description: Akamai Create a Namespace
        call: edgekv-namespaces.postnamespace
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getnamespaces
        description: Akamai List Namespaces
        call: edgekv-namespaces.getnamespaces
        with:
          details: rest.details
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/networks/{network}/namespaces/{namespaceid}
      name: networks-network-namespaces-namespaceid
      description: REST surface for networks-network-namespaces-namespaceId.
      operations:
      - method: GET
        name: getnamespace
        description: Akamai Get Namespace Details
        call: edgekv-namespaces.getnamespace
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: putnamespace
        description: Akamai Update Namespace Details
        call: edgekv-namespaces.putnamespace
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/networks/{network}/namespaces/{namespaceid}/groups
      name: networks-network-namespaces-namespaceid-groups
      description: REST surface for networks-network-namespaces-namespaceId-groups.
      operations:
      - method: GET
        name: getnamespacegroups
        description: Akamai List Groups Within a Namespace
        call: edgekv-namespaces.getnamespacegroups
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: edgekv-namespaces-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for Akamai: EdgeKV API — Namespaces. One tool per consumed operation, routed inline through
      this capability''s consumes block.'
    tools:
    - name: akamai-modify-default-data-access
      description: Akamai Modify the Default Data Access Policy
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: edgekv-namespaces.putauthdatabase
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-reauthorize-namespace
      description: Akamai Reauthorize a Namespace
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: edgekv-namespaces.putreauthorizenamespace
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-create-namespace
      description: Akamai Create a Namespace
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: edgekv-namespaces.postnamespace
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-list-namespaces
      description: Akamai List Namespaces
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edgekv-namespaces.getnamespaces
      with:
        details: tools.details
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-get-namespace-details
      description: Akamai Get Namespace Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edgekv-namespaces.getnamespace
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-update-namespace-details
      description: Akamai Update Namespace Details
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: edgekv-namespaces.putnamespace
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-list-groups-within-namespace
      description: Akamai List Groups Within a Namespace
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: edgekv-namespaces.getnamespacegroups
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.