Akamai · Capability
Akamai: Property Manager API — Include version rules
Akamai: Property Manager API — Include version rules. 4 operations. Lead operation: Akamai Get an Include's Rule Tree. Self-contained Naftiko capability covering one Akamai business surface.
What You Can Do
GET
Getincludeversionrules
— Akamai Get an Include's Rule Tree
/v1/includes/{includeid}/versions/{includeversion}/rules
PUT
Putincludeversionrules
— Akamai Update an Include's Rule Tree
/v1/includes/{includeid}/versions/{includeversion}/rules
PATCH
Patchincludeversionrules
— Akamai Patch an Include's Rule Tree
/v1/includes/{includeid}/versions/{includeversion}/rules
HEAD
Headincludeversionrules
— Akamai Get a Digest for an Include's Rule Tree
/v1/includes/{includeid}/versions/{includeversion}/rules
MCP Tools
akamai-get-include-s-rule-tree
Akamai Get an Include's Rule Tree
read-only
idempotent
akamai-update-include-s-rule-tree
Akamai Update an Include's Rule Tree
idempotent
akamai-patch-include-s-rule-tree
Akamai Patch an Include's Rule Tree
idempotent
akamai-get-digest-include-s-rule
Akamai Get a Digest for an Include's Rule Tree
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: 'Akamai: Property Manager API — Include version rules'
description: 'Akamai: Property Manager API — Include version rules. 4 operations. Lead operation: Akamai Get an Include''s
Rule Tree. Self-contained Naftiko capability covering one Akamai business surface.'
tags:
- Akamai
- Include version rules
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
AKAMAI_API_KEY: AKAMAI_API_KEY
capability:
consumes:
- type: http
namespace: papi-include-version-rules
baseUri: https://{hostname}/papi/v1
description: 'Akamai: Property Manager API — Include version rules business capability. Self-contained, no shared references.'
resources:
- name: includes-includeId-versions-includeVersion-rules
path: /includes/{includeId}/versions/{includeVersion}/rules
operations:
- name: getincludeversionrules
method: GET
description: Akamai Get an Include's Rule Tree
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: contractId
in: query
type: string
description: Unique identifier for the contract. The parameter is optional if a property belongs to only one contract.
Otherwise you need to specify it along with the `group
- name: groupId
in: query
type: string
description: Unique identifier for the group. The parameter is optional if a property belongs to only one group.
Otherwise you need to specify it along with the `contractId`
- name: validateRules
in: query
type: boolean
description: Set to `true` by default. When `false`, skips validation tests that would identify potential problems
within the response object's `errors` and `warnings` array
- name: validateMode
in: query
type: string
description: __Enum__ With `validateRules` enabled, setting this to `fast` performs a quick validation check based
on the provided JSON. This is faster than the default `ful
- 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: putincludeversionrules
method: PUT
description: Akamai Update an Include's Rule Tree
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: If-Match
in: header
type: string
description: This corresponds to the `ETag` response header. Passing this value back as `If-Match` in write requests
ensures you don't overwrite edits by any other API clien
required: true
- 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: contractId
in: query
type: string
description: Unique identifier for the contract. The parameter is optional if a property belongs to only one contract.
Otherwise you need to specify it along with the `group
- name: groupId
in: query
type: string
description: Unique identifier for the group. The parameter is optional if a property belongs to only one group.
Otherwise you need to specify it along with the `contractId`
- name: validateRules
in: query
type: boolean
description: Set to `true` by default. When `false`, skips validation tests that would identify potential problems
within the response object's `errors` and `warnings` array
- name: validateMode
in: query
type: string
description: __Enum__ With `validateRules` enabled, setting this to `fast` performs a quick validation check based
on the provided JSON. This is faster than the default `ful
- name: dryRun
in: query
type: boolean
description: With the `validateRules` query parameter also enabled, allows for a _dry run_ in order to gather any
possible errors without saving the rule tree. See [Validati
- 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: patchincludeversionrules
method: PATCH
description: Akamai Patch an Include's Rule Tree
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: If-Match
in: header
type: string
description: This corresponds to the `ETag` response header. Passing this value back as `If-Match` in write requests
ensures you don't overwrite edits by any other API clien
required: true
- 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: contractId
in: query
type: string
description: Unique identifier for the contract. The parameter is optional if a property belongs to only one contract.
Otherwise you need to specify it along with the `group
- name: groupId
in: query
type: string
description: Unique identifier for the group. The parameter is optional if a property belongs to only one group.
Otherwise you need to specify it along with the `contractId`
- name: validateRules
in: query
type: boolean
description: Set to `true` by default. When `false`, skips validation tests that would identify potential problems
within the response object's `errors` and `warnings` array
- name: validateMode
in: query
type: string
description: __Enum__ With `validateRules` enabled, setting this to `fast` performs a quick validation check based
on the provided JSON. This is faster than the default `ful
- name: dryRun
in: query
type: boolean
description: With the `validateRules` query parameter also enabled, allows for a _dry run_ in order to gather any
possible errors without saving the rule tree. See [Validati
- 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: headincludeversionrules
method: HEAD
description: Akamai Get a Digest for an Include's Rule Tree
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Accept
in: header
type: string
description: A custom JSON type that validates against a dated rule format. When examining metadata from a [property
version](https://techdocs.akamai.com/property-mgr/refere
required: true
- name: contractId
in: query
type: string
description: Unique identifier for the contract. The parameter is optional if a property belongs to only one contract.
Otherwise you need to specify it along with the `group
- name: groupId
in: query
type: string
description: Unique identifier for the group. The parameter is optional if a property belongs to only one group.
Otherwise you need to specify it along with the `contractId`
- 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-include-version-rules-rest
port: 8080
description: 'REST adapter for Akamai: Property Manager API — Include version rules. One Spectral-compliant resource per
consumed operation, prefixed with /v1.'
resources:
- path: /v1/includes/{includeid}/versions/{includeversion}/rules
name: includes-includeid-versions-includeversion-rules
description: REST surface for includes-includeId-versions-includeVersion-rules.
operations:
- method: GET
name: getincludeversionrules
description: Akamai Get an Include's Rule Tree
call: papi-include-version-rules.getincludeversionrules
with:
PAPI-Use-Prefixes: rest.PAPI-Use-Prefixes
contractId: rest.contractId
groupId: rest.groupId
validateRules: rest.validateRules
validateMode: rest.validateMode
accountSwitchKey: rest.accountSwitchKey
outputParameters:
- type: object
mapping: $.
- method: PUT
name: putincludeversionrules
description: Akamai Update an Include's Rule Tree
call: papi-include-version-rules.putincludeversionrules
with:
If-Match: rest.If-Match
PAPI-Use-Prefixes: rest.PAPI-Use-Prefixes
contractId: rest.contractId
groupId: rest.groupId
validateRules: rest.validateRules
validateMode: rest.validateMode
dryRun: rest.dryRun
accountSwitchKey: rest.accountSwitchKey
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: PATCH
name: patchincludeversionrules
description: Akamai Patch an Include's Rule Tree
call: papi-include-version-rules.patchincludeversionrules
with:
If-Match: rest.If-Match
PAPI-Use-Prefixes: rest.PAPI-Use-Prefixes
contractId: rest.contractId
groupId: rest.groupId
validateRules: rest.validateRules
validateMode: rest.validateMode
dryRun: rest.dryRun
accountSwitchKey: rest.accountSwitchKey
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: HEAD
name: headincludeversionrules
description: Akamai Get a Digest for an Include's Rule Tree
call: papi-include-version-rules.headincludeversionrules
with:
Accept: rest.Accept
contractId: rest.contractId
groupId: rest.groupId
accountSwitchKey: rest.accountSwitchKey
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: papi-include-version-rules-mcp
port: 9090
transport: http
description: 'MCP adapter for Akamai: Property Manager API — Include version rules. One tool per consumed operation, routed
inline through this capability''s consumes block.'
tools:
- name: akamai-get-include-s-rule-tree
description: Akamai Get an Include's Rule Tree
hints:
readOnly: true
destructive: false
idempotent: true
call: papi-include-version-rules.getincludeversionrules
with:
PAPI-Use-Prefixes: tools.PAPI-Use-Prefixes
contractId: tools.contractId
groupId: tools.groupId
validateRules: tools.validateRules
validateMode: tools.validateMode
accountSwitchKey: tools.accountSwitchKey
outputParameters:
- type: object
mapping: $.
- name: akamai-update-include-s-rule-tree
description: Akamai Update an Include's Rule Tree
hints:
readOnly: false
destructive: false
idempotent: true
call: papi-include-version-rules.putincludeversionrules
with:
If-Match: tools.If-Match
PAPI-Use-Prefixes: tools.PAPI-Use-Prefixes
contractId: tools.contractId
groupId: tools.groupId
validateRules: tools.validateRules
validateMode: tools.validateMode
dryRun: tools.dryRun
accountSwitchKey: tools.accountSwitchKey
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: akamai-patch-include-s-rule-tree
description: Akamai Patch an Include's Rule Tree
hints:
readOnly: false
destructive: false
idempotent: true
call: papi-include-version-rules.patchincludeversionrules
with:
If-Match: tools.If-Match
PAPI-Use-Prefixes: tools.PAPI-Use-Prefixes
contractId: tools.contractId
groupId: tools.groupId
validateRules: tools.validateRules
validateMode: tools.validateMode
dryRun: tools.dryRun
accountSwitchKey: tools.accountSwitchKey
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: akamai-get-digest-include-s-rule
description: Akamai Get a Digest for an Include's Rule Tree
hints:
readOnly: false
destructive: false
idempotent: false
call: papi-include-version-rules.headincludeversionrules
with:
Accept: tools.Accept
contractId: tools.contractId
groupId: tools.groupId
accountSwitchKey: tools.accountSwitchKey
outputParameters:
- type: object
mapping: $.