Akamai API Security · Capability

Akamai: Application Security API — Match targets

Akamai: Application Security API — Match targets. 7 operations. Lead operation: Akamai API Security Get the Hostname Coverage Match Targets. Self-contained Naftiko capability covering one Akamai Api Security business surface.

Run with Naftiko Akamai Api SecurityMatch targets

What You Can Do

GET
Getcoveragematchtargets — Akamai API Security Get the Hostname Coverage Match Targets
/v1/configs/{configid}/versions/{versionnumber}/hostname-coverage/match-targets
POST
Postmatchtargets — Akamai API Security Create a Match Target
/v1/configs/{configid}/versions/{versionnumber}/match-targets
GET
Getmatchtargets — Akamai API Security List Match Targets
/v1/configs/{configid}/versions/{versionnumber}/match-targets
PUT
Putmatchtargetssequence — Akamai API Security Modify Match Target Order
/v1/configs/{configid}/versions/{versionnumber}/match-targets/sequence
GET
Getmatchtarget — Akamai API Security Get a Match Target
/v1/configs/{configid}/versions/{versionnumber}/match-targets/{targetid}
PUT
Putmatchtarget — Akamai API Security Modify a Match Target
/v1/configs/{configid}/versions/{versionnumber}/match-targets/{targetid}
DELETE
Deletematchtarget — Akamai API Security Remove a Match Target
/v1/configs/{configid}/versions/{versionnumber}/match-targets/{targetid}

MCP Tools

akamai-api-security-get-hostname

Akamai API Security Get the Hostname Coverage Match Targets

read-only idempotent
akamai-api-security-create-match

Akamai API Security Create a Match Target

akamai-api-security-list-match

Akamai API Security List Match Targets

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

Akamai API Security Modify Match Target Order

idempotent
akamai-api-security-get-match

Akamai API Security Get a Match Target

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

Akamai API Security Modify a Match Target

idempotent
akamai-api-security-remove-match

Akamai API Security Remove a Match Target

idempotent

Capability Spec

akamai-api-security-match-targets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 'Akamai: Application Security API — Match targets'
  description: 'Akamai: Application Security API — Match targets. 7 operations. Lead operation: Akamai API Security Get the
    Hostname Coverage Match Targets. Self-contained Naftiko capability covering one Akamai Api Security business surface.'
  tags:
  - Akamai Api Security
  - Match targets
  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-match-targets
    baseUri: https://{hostname}/appsec/v1
    description: 'Akamai: Application Security API — Match targets business capability. Self-contained, no shared references.'
    resources:
    - name: configs-configId-versions-versionNumber-hostname-coverage-match-targets
      path: /configs/{configId}/versions/{versionNumber}/hostname-coverage/match-targets
      operations:
      - name: getcoveragematchtargets
        method: GET
        description: Akamai API Security Get the Hostname Coverage Match Targets
        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-match-targets
      path: /configs/{configId}/versions/{versionNumber}/match-targets
      operations:
      - name: postmatchtargets
        method: POST
        description: Akamai API Security Create a Match Target
        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: getmatchtargets
        method: GET
        description: Akamai API Security List Match Targets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: policyId
          in: query
          type: string
          description: Specifies the security policy to filter match targets.
        - name: includeChildObjectName
          in: query
          type: boolean
          description: Specify whether to return the object name in the payload, true` by default.
        - 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-match-targets-sequence
      path: /configs/{configId}/versions/{versionNumber}/match-targets/sequence
      operations:
      - name: putmatchtargetssequence
        method: PUT
        description: Akamai API Security Modify Match Target Order
        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-match-targets-targetId
      path: /configs/{configId}/versions/{versionNumber}/match-targets/{targetId}
      operations:
      - name: getmatchtarget
        method: GET
        description: Akamai API Security Get a Match Target
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: includeChildObjectName
          in: query
          type: boolean
          description: Specify whether to return the object name in the payload, true` by default.
        - 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: putmatchtarget
        method: PUT
        description: Akamai API Security Modify a Match Target
        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: deletematchtarget
        method: DELETE
        description: Akamai API Security Remove a Match Target
        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: akamai-api-security-match-targets-rest
    port: 8080
    description: 'REST adapter for Akamai: Application Security API — Match targets. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.'
    resources:
    - path: /v1/configs/{configid}/versions/{versionnumber}/hostname-coverage/match-targets
      name: configs-configid-versions-versionnumber-hostname-coverage-match-targets
      description: REST surface for configs-configId-versions-versionNumber-hostname-coverage-match-targets.
      operations:
      - method: GET
        name: getcoveragematchtargets
        description: Akamai API Security Get the Hostname Coverage Match Targets
        call: akamai-api-security-match-targets.getcoveragematchtargets
        with:
          hostname: rest.hostname
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/configs/{configid}/versions/{versionnumber}/match-targets
      name: configs-configid-versions-versionnumber-match-targets
      description: REST surface for configs-configId-versions-versionNumber-match-targets.
      operations:
      - method: POST
        name: postmatchtargets
        description: Akamai API Security Create a Match Target
        call: akamai-api-security-match-targets.postmatchtargets
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getmatchtargets
        description: Akamai API Security List Match Targets
        call: akamai-api-security-match-targets.getmatchtargets
        with:
          policyId: rest.policyId
          includeChildObjectName: rest.includeChildObjectName
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/configs/{configid}/versions/{versionnumber}/match-targets/sequence
      name: configs-configid-versions-versionnumber-match-targets-sequence
      description: REST surface for configs-configId-versions-versionNumber-match-targets-sequence.
      operations:
      - method: PUT
        name: putmatchtargetssequence
        description: Akamai API Security Modify Match Target Order
        call: akamai-api-security-match-targets.putmatchtargetssequence
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/configs/{configid}/versions/{versionnumber}/match-targets/{targetid}
      name: configs-configid-versions-versionnumber-match-targets-targetid
      description: REST surface for configs-configId-versions-versionNumber-match-targets-targetId.
      operations:
      - method: GET
        name: getmatchtarget
        description: Akamai API Security Get a Match Target
        call: akamai-api-security-match-targets.getmatchtarget
        with:
          includeChildObjectName: rest.includeChildObjectName
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: putmatchtarget
        description: Akamai API Security Modify a Match Target
        call: akamai-api-security-match-targets.putmatchtarget
        with:
          accountSwitchKey: rest.accountSwitchKey
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletematchtarget
        description: Akamai API Security Remove a Match Target
        call: akamai-api-security-match-targets.deletematchtarget
        with:
          accountSwitchKey: rest.accountSwitchKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: akamai-api-security-match-targets-mcp
    port: 9090
    transport: http
    description: 'MCP adapter for Akamai: Application Security API — Match targets. One tool per consumed operation, routed
      inline through this capability''s consumes block.'
    tools:
    - name: akamai-api-security-get-hostname
      description: Akamai API Security Get the Hostname Coverage Match Targets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: akamai-api-security-match-targets.getcoveragematchtargets
      with:
        hostname: tools.hostname
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-create-match
      description: Akamai API Security Create a Match Target
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: akamai-api-security-match-targets.postmatchtargets
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-list-match
      description: Akamai API Security List Match Targets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: akamai-api-security-match-targets.getmatchtargets
      with:
        policyId: tools.policyId
        includeChildObjectName: tools.includeChildObjectName
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-modify-match
      description: Akamai API Security Modify Match Target Order
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: akamai-api-security-match-targets.putmatchtargetssequence
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-get-match
      description: Akamai API Security Get a Match Target
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: akamai-api-security-match-targets.getmatchtarget
      with:
        includeChildObjectName: tools.includeChildObjectName
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-modify-match-2
      description: Akamai API Security Modify a Match Target
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: akamai-api-security-match-targets.putmatchtarget
      with:
        accountSwitchKey: tools.accountSwitchKey
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: akamai-api-security-remove-match
      description: Akamai API Security Remove a Match Target
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: akamai-api-security-match-targets.deletematchtarget
      with:
        accountSwitchKey: tools.accountSwitchKey
      outputParameters:
      - type: object
        mapping: $.