---
updatedAt: 2026-03-01T18:47:35.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/cloudlets/v2/llms.txt
---

# Get a policy

Returns information about a specific Cloudlets policy.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Policies",
    "version": "v2"
  },
  "x-akamai": {
    "auth-type": "EDGE_GRID"
  },
  "servers": [
    {
      "url": "https://{hostname}/cloudlets/api/v2"
    }
  ],
  "paths": {
    "/policies": {
      "post": {
        "operationId": "post-policy",
        "summary": "Create a policy",
        "tags": [
          "Policies"
        ],
        "description": "Create a new Cloudlet policy. If a policy already exists with the same policy name, you receive a 409 (Conflict) status response that contains data for the existing policy. New policies are automatically assigned version number 1.\n",
        "parameters": [
          {
            "description": "If cloning an existing policy, this parameter is the ID of the policy (`policyId`) you want to clone. If there are attributes that you do _not_ want propagated from the source policy, you must provide the new values in the request.\n",
            "in": "query",
            "name": "clonePolicyId",
            "schema": {
              "type": "integer",
              "example": 1001
            }
          },
          {
            "description": "For POST operations, indicates the version of the existing policy to use for the new policy.  If not specified, the latest version of the existing policy is copied.\n",
            "in": "query",
            "name": "version",
            "schema": {
              "type": "integer",
              "example": 2
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "cloudletId": 0,
                "description": "Testing the creation of a policy",
                "groupId": 12345,
                "name": "TestCreatePolicy1"
              },
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "description": "TBD.\n",
                "required": [
                  "cloudletId",
                  "name"
                ],
                "properties": {
                  "cloudletId": {
                    "description": "The ID of cloudlet that this policy is for. The `cloudletId` for Edge Redirector is `0`, Visitor Prioritization is `1`, Forward Rewrite is `3`, Request Control is `4`, API Prioritization is `5`, Audience Segmentation is `6`, Phased Release is `7`, and Application Load Balancer is `9`. To see the available Cloudlets, run the [List Cloudlets](ref:get-cloudlets) operation.\n",
                    "type": "integer",
                    "enum": [
                      0,
                      1,
                      3,
                      4,
                      5,
                      6,
                      7,
                      9
                    ]
                  },
                  "description": {
                    "description": "Description of the policy.\n",
                    "type": "string"
                  },
                  "groupId": {
                    "description": "The group to place the policy in.\n",
                    "type": "integer"
                  },
                  "name": {
                    "description": "Name of the policy.\n",
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "example": {
                  "location": "/cloudlets/api/v2/policies/1002",
                  "serviceVersion": null,
                  "apiVersion": "2.0",
                  "policyId": 1000,
                  "cloudletId": 0,
                  "cloudletCode": "ER",
                  "groupId": 32145,
                  "name": "TestCreatePolicy1",
                  "description": "Testing the creation of a policy",
                  "deleted": false,
                  "propertyName": null,
                  "createdBy": "adevi",
                  "createDate": 1428957069841,
                  "lastModifiedBy": "jsmith",
                  "lastModifiedDate": 1428957070000,
                  "activations": []
                },
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "description": "Returns details of a policy.\n",
                  "required": [
                    "policyId",
                    "cloudletId",
                    "cloudletCode",
                    "groupId",
                    "name",
                    "description",
                    "createdBy",
                    "createdDate",
                    "lastModifiedBy",
                    "lastModifiedDate",
                    "activations",
                    "location"
                  ],
                  "properties": {
                    "policyId": {
                      "type": "integer",
                      "description": "ID of the policy.\n"
                    },
                    "cloudletId": {
                      "type": "integer",
                      "enum": [
                        0,
                        1,
                        3,
                        4,
                        5,
                        6,
                        7,
                        9
                      ],
                      "description": "The ID of cloudlet that this policy is for. The `cloudletId` for Edge Redirector is `0`, Visitor Prioritization is `1`, Forward Rewrite is `3`, Request Control is `4`, API Prioritization is `5`, Audience Segmentation is `6`, Phased Release is `7`, and Application Load Balancer is `9`. To see the available Cloudlets, run the [List Cloudlets](ref:get-cloudlets) operation.\n"
                    },
                    "cloudletCode": {
                      "type": "string",
                      "description": "The type of Cloudlet that this policy is for. To see the available Cloudlets, run the [List Cloudlets](ref:get-cloudlets) operation. Possible values include: `ALB` for Application Load Balancer, `AP` for API Prioritization, `AS` for Audience Segmentation, `CD` for Phased Release, `ER` for Edge Redirector, `FR` for Forward Rewrite, `IG` for Request Control, and `VP` for Visitor Prioritization.\n",
                      "enum": [
                        "ALB",
                        "AP",
                        "AS",
                        "CD",
                        "ER",
                        "FR",
                        "IG",
                        "VP"
                      ]
                    },
                    "groupId": {
                      "type": "integer",
                      "description": "The ID of the group this policy is associated with.\n"
                    },
                    "name": {
                      "type": "string",
                      "description": "Name of the policy.\n"
                    },
                    "description": {
                      "type": "string",
                      "description": "The description of the policy.\n"
                    },
                    "propertyName": {
                      "type": "string",
                      "description": "This field now only returns `null`. It does not reflect the properties currently associated with this Cloudlets policy.\n",
                      "deprecated": true,
                      "nullable": true
                    },
                    "createdBy": {
                      "type": "string",
                      "description": "User name who created the policy.\n"
                    },
                    "createDate": {
                      "type": "integer",
                      "description": "Date of the policy creation in milliseconds.\n"
                    },
                    "lastModifiedBy": {
                      "type": "string",
                      "description": "User name who recently modified the policy.\n"
                    },
                    "lastModifiedDate": {
                      "type": "integer",
                      "description": "Date of the recent policy modification in milliseconds.\n"
                    },
                    "activations": {
                      "type": "array",
                      "description": "List of activations associated with the policy.\n",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "description": "Returns details of a policy activation.\n",
                        "required": [
                          "network",
                          "policyInfo",
                          "propertyInfo"
                        ],
                        "properties": {
                          "network": {
                            "type": "string",
                            "description": "The network, either `STAGING`, `PRODUCTION`, or `prod` as shorthand, on which a load balancing configuration for Application Load Balancer has been activated. Values are case-insensitive in requests.\n",
                            "enum": [
                              "prod",
                              "staging"
                            ]
                          },
                          "policyInfo": {
                            "type": "object",
                            "additionalProperties": false,
                            "description": "Returns details of a policy associated with policy activation.\n",
                            "required": [
                              "policyId",
                              "name",
                              "version",
                              "status",
                              "statusDetail",
                              "activatedBy",
                              "activationDate"
                            ],
                            "properties": {
                              "policyId": {
                                "type": "integer",
                                "description": "ID of the policy.\n"
                              },
                              "name": {
                                "type": "string",
                                "description": "Name of the policy.\n"
                              },
                              "version": {
                                "type": "integer",
                                "description": "Version of the policy.\n"
                              },
                              "status": {
                                "type": "string",
                                "description": "Value representing activation status.\n",
                                "enum": [
                                  "INACTIVE",
                                  "PENDING",
                                  "ACTIVE",
                                  "FAILED",
                                  "DEACTIVATED"
                                ]
                              },
                              "statusDetail": {
                                "type": "string",
                                "description": "Details of the activation status.\n"
                              },
                              "activatedBy": {
                                "type": "string",
                                "description": "User name who issued the activation.\n"
                              },
                              "activationDate": {
                                "type": "integer",
                                "description": "Date of the activation in milliseconds.\n"
                              }
                            }
                          },
                          "propertyInfo": {
                            "type": "object",
                            "additionalProperties": false,
                            "description": "Returns details of a property associated with policy activation.\n",
                            "required": [
                              "name",
                              "version",
                              "groupId",
                              "status",
                              "activatedBy",
                              "activationDate",
                              "id"
                            ],
                            "properties": {
                              "name": {
                                "type": "string",
                                "description": "Name of the property.\n"
                              },
                              "version": {
                                "type": "integer",
                                "description": "Version of the property.\n"
                              },
                              "groupId": {
                                "type": "integer",
                                "description": "Identifies the group where the property is placed.\n"
                              },
                              "status": {
                                "$ref": "#/paths/~1policies/post/responses/201/content/application~1json/schema/properties/activations/items/properties/policyInfo/properties/status"
                              },
                              "activatedBy": {
                                "type": "string",
                                "description": "User name who issued the activation.\n"
                              },
                              "activationDate": {
                                "type": "integer",
                                "description": "Date of the activation in milliseconds.\n"
                              },
                              "id": {
                                "type": "integer",
                                "description": "ID of the property.\n"
                              }
                            }
                          },
                          "apiVersion": {
                            "type": "string",
                            "description": "The specific version of this API.\n"
                          },
                          "serviceVersion": {
                            "type": "string",
                            "nullable": true,
                            "description": "The build of the software running on the server. The value can be `null`.\n",
                            "x-akamai": {
                              "status": "DEPRECATED"
                            }
                          }
                        }
                      }
                    },
                    "deleted": {
                      "type": "boolean",
                      "description": "Flag determining whether the policy is deleted or not.\n"
                    },
                    "location": {
                      "type": "string",
                      "description": "The navigable endpoint used for the object referred to in the operation.\n"
                    },
                    "apiVersion": {
                      "type": "string",
                      "description": "The specific version of this API.\n"
                    },
                    "serviceVersion": {
                      "type": "string",
                      "nullable": true,
                      "description": "The build of the software running on the server. The value can be `null`.\n",
                      "x-akamai": {
                        "status": "DEPRECATED"
                      }
                    }
                  }
                }
              }
            },
            "description": "The Cloudlet policy was created.\n"
          }
        }
      }
    },
    "/policies/{policyId}": {
      "get": {
        "operationId": "get-policy",
        "summary": "Get a policy",
        "tags": [
          "Policies"
        ],
        "description": "Returns information about a specific Cloudlets policy.\n",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "location": "/cloudlets/api/v2/policies/1001",
                  "serviceVersion": null,
                  "apiVersion": "2.0",
                  "policyId": 1001,
                  "cloudletId": 99,
                  "cloudletCode": "CC",
                  "groupId": 32145,
                  "name": "CookieCutter",
                  "description": "Custom cookie cutter",
                  "propertyName": "www.example.org",
                  "createdBy": "jsmith",
                  "createDate": 1428957070000,
                  "lastModifiedBy": "hgildong",
                  "lastModifiedDate": 1441829042000,
                  "activations": [
                    {
                      "serviceVersion": null,
                      "apiVersion": "2.0",
                      "network": "prod",
                      "policyInfo": {
                        "policyId": 1001,
                        "name": "CookieCutter",
                        "version": 2,
                        "status": "INACTIVE",
                        "detailCode": 0,
                        "activatedBy": "jsmith",
                        "activationDate": 1433901173000
                      },
                      "propertyInfo": {
                        "name": "www.example.org",
                        "version": 2,
                        "groupId": 32145,
                        "status": "INACTIVE",
                        "activatedBy": "mrossi",
                        "activationDate": 1441829042000,
                        "id": 1846234
                      }
                    },
                    {
                      "serviceVersion": null,
                      "apiVersion": "2.0",
                      "network": "staging",
                      "policyInfo": {
                        "policyId": 1001,
                        "name": "CookieCutter",
                        "version": 22,
                        "status": "ACTIVE",
                        "detailCode": 0,
                        "activatedBy": "jsmith",
                        "activationDate": 1433901173000
                      },
                      "propertyInfo": {
                        "name": "www.example.org",
                        "version": 22,
                        "groupId": 32145,
                        "status": "ACTIVE",
                        "activatedBy": "jsmith",
                        "activationDate": 1441915442000,
                        "id": 10489133
                      }
                    }
                  ]
                },
                "schema": {
                  "$ref": "#/paths/~1policies/post/responses/201/content/application~1json/schema"
                }
              }
            },
            "description": "Provides data for the Cloudlets policy.\n"
          }
        }
      },
      "parameters": [
        {
          "description": "The ID of the policy.\n",
          "in": "path",
          "name": "policyId",
          "required": true,
          "schema": {
            "type": "integer",
            "example": 1001
          }
        }
      ]
    }
  },
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "externalDocs": {
    "url": "https://techdocs.akamai.com/cloudlets/reference",
    "description": "See documention for Akamai's Cloudlets API"
  }
}
```

# Sibling pages

* [List policies](https://techdocs.akamai.com/cloudlets/v2/reference/get-policies.md)
* [Create a policy](https://techdocs.akamai.com/cloudlets/v2/reference/post-policy.md)
* [Remove a policy](https://techdocs.akamai.com/cloudlets/v2/reference/delete-policy.md)
* [Update a policy](https://techdocs.akamai.com/cloudlets/v2/reference/put-policy.md)