---
updatedAt: 2026-09-01T12:57:17.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/edgeworkers/llms.txt
---

# Get EdgeWorker behavior locations for an environment version

__Beta__ View all the JSON Pointer locations in the rule sets where an EdgeWorker is configured within a specific environment version. For more information, see [Delivery Manager Beta](doc:delivery-manager-beta) in this guide.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's EdgeWorkers API",
    "url": "https://techdocs.akamai.com/edgeworkers/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "EdgeWorker IDs",
    "version": "v1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/ids/{edgeWorkerId}/environments/edgeworker-locations": {
      "get": {
        "description": "__Beta__ View all the JSON Pointer locations in the rule sets where an EdgeWorker is configured within a specific environment version. For more information, see [Delivery Manager Beta](https://techdocs.akamai.com/edgeworkers/docs/delivery-manager-beta) in this guide.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's EdgeWorkers API",
          "url": "https://techdocs.akamai.com/edgeworkers/reference/get-environment-edgeworker-locations"
        },
        "operationId": "get-environment-edgeworker-locations",
        "parameters": [
          {
            "description": "Name of the workspace that unifies all resources for your application or service. The name is unique within an account.",
            "in": "query",
            "name": "workspaceName",
            "required": true,
            "schema": {
              "example": "my-site-ws-5678",
              "minLength": 1,
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/workspace-name-query.yaml"
            }
          },
          {
            "description": "Name of the environment. The name is unique within a workspace.",
            "in": "query",
            "name": "environmentName",
            "required": true,
            "schema": {
              "example": "my-prod-env-1223434",
              "minLength": 1,
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/environment-name-query.yaml"
            }
          },
          {
            "description": "A unique system identifier for a version.",
            "in": "query",
            "name": "environmentVersion",
            "required": true,
            "schema": {
              "example": 10,
              "minimum": 1,
              "type": "integer"
            },
            "x-akamai": {
              "file-path": "parameters/environment-version-query.yaml"
            }
          },
          {
            "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-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "locations": [
                    {
                      "continueOnError": false,
                      "location": "/rules/children/12/children/46/behaviors/0"
                    },
                    {
                      "continueOnError": true,
                      "location": "/rules/behaviors/3"
                    }
                  ]
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "This object contains the locations where an EdgeWorker is referenced in a specific environment version.",
                  "properties": {
                    "locations": {
                      "description": "List of rule set locations where the EdgeWorker is referenced.",
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "continueOnError": {
                            "description": "Whether [continue on error](https://techdocs.akamai.com/edgeworkers/docs/continue-on-error) is enabled in the default rule.",
                            "type": "boolean"
                          },
                          "location": {
                            "description": "The location of the EdgeWorkers behavior in the active property version.",
                            "type": "string"
                          }
                        },
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/property-behavior-locations.yaml"
                        }
                      },
                      "minItems": 0,
                      "type": "array"
                    }
                  },
                  "required": [
                    "locations"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/environment-edgeworker-locations-get-200.yaml"
                  }
                }
              }
            },
            "description": "The response lists the JSON Pointer locations where the EdgeWorker is referenced."
          }
        },
        "summary": "Get EdgeWorker behavior locations for an environment version",
        "tags": [
          "Environments"
        ],
        "x-akamai": {
          "status": "BETA"
        }
      },
      "parameters": [
        {
          "description": "Unique identifier for an EdgeWorker.",
          "in": "path",
          "name": "edgeWorkerId",
          "required": true,
          "schema": {
            "example": 42,
            "minimum": 1,
            "type": "integer"
          },
          "x-akamai": {
            "file-path": "parameters/edge-worker-id-path.yaml"
          }
        }
      ]
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/edgeworkers/v1"
    }
  ],
  "tags": [
    {
      "description": "Get information about the environments using EdgeWorkers.",
      "name": "Environments"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "ids.yaml"
  },
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
```

# Sibling pages

* [List environments](https://techdocs.akamai.com/edgeworkers/reference/get-environments.md)