---
updatedAt: 2026-03-01T18:49:36.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/edge-diagnostics/llms.txt
---

# List available edge server locations for metadata tracing

Lists active locations you can use to run the [Launch a metadata tracing request](ref:post-mdt) operation together with information about supported HTTP methods. The operation responds with a subset of edge servers returned by the [List available edge server locations](ref:get-edge-locations) operation.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Edge Diagnostics API",
    "url": "https://techdocs.akamai.com/edge-diagnostics/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Metadata Tracer",
    "version": "v1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/metadata-tracer/locations": {
      "get": {
        "description": "Lists active locations you can use to run the [Launch a metadata tracing request](ref:post-mdt) operation together with information about supported HTTP methods. The operation responds with a subset of edge servers returned by the [List available edge server locations](ref:get-edge-locations) operation.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Edge Diagnostics API",
          "url": "https://techdocs.akamai.com/edge-diagnostics/reference/get-mdt-locations"
        },
        "operationId": "get-mdt-locations",
        "parameters": [
          {
            "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": {
                  "mdtLocations": [
                    {
                      "id": "adelaide-sa-australia",
                      "supportedMethods": [
                        "GET",
                        "POST"
                      ],
                      "value": "Adelaide, SA, Australia"
                    },
                    {
                      "id": "amsterdam-netherlands",
                      "supportedMethods": [
                        "POST"
                      ],
                      "value": "Amsterdam, Netherlands"
                    }
                  ]
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "Collects available locations you can run the [Launch a metadata tracing request](ref:post-mdt) operation with.",
                  "properties": {
                    "mdtLocations": {
                      "description": "Lists identifiers, names, and supported HTTP methods of available locations.",
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "id": {
                            "description": "Unique identifier for the location. Use this value for a `mdtLocationId` member in the [Launch a metadata tracing request](ref:post-mdt) operation.",
                            "minLength": 1,
                            "type": "string"
                          },
                          "supportedMethods": {
                            "description": "Lists HTTP methods supported by the location, either `HEAD`, `GET`, or `POST`.",
                            "items": {
                              "enum": [
                                "HEAD",
                                "GET",
                                "POST"
                              ],
                              "type": "string"
                            },
                            "minItems": 0,
                            "type": "array"
                          },
                          "value": {
                            "description": "Name of the location.",
                            "minLength": 1,
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "value"
                        ],
                        "type": "object"
                      },
                      "minItems": 0,
                      "type": "array"
                    }
                  },
                  "required": [
                    "mdtLocations"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "The response lists the supported locations and HTTP methods for metadata tracing.",
            "headers": {
              "X-RateLimit-Limit": {
                "description": "The rate limit ceiling for this endpoint.",
                "example": 10,
                "schema": {
                  "type": "integer"
                }
              },
              "X-RateLimit-Remaining": {
                "description": "The number of requests left for the time window.",
                "example": 5,
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "400": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Provide only one of these members, either `edgeLocationId` or `edgeIp`.",
                  "errors": [
                    {
                      "requestField": "edgeLocationId",
                      "title": "Conflicting values.",
                      "type": "field.conflict"
                    },
                    {
                      "requestField": "edgeIp",
                      "title": "Conflicting values.",
                      "type": "field.conflict"
                    }
                  ],
                  "status": 400,
                  "title": "Incorrect request.",
                  "type": "bad.request.error"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies the errors.",
                  "properties": {
                    "detail": {
                      "description": "Detail about the problem.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "errors": {
                      "description": "[HTTP Problem Details](https://tools.ietf.org/html/rfc9457) objects indicating causes of failure.",
                      "items": {
                        "additionalProperties": true,
                        "description": "Specifies the error that occurred.",
                        "properties": {
                          "requestField": {
                            "description": "Request field name the error refers to. It can be a URL path or query parameter or any request payload field name.",
                            "type": "string"
                          },
                          "requestValues": {
                            "description": "Lists values corresponding to the `requestField`.",
                            "items": {
                              "anyOf": [
                                {
                                  "title": "String",
                                  "type": "string"
                                },
                                {
                                  "title": "Integer",
                                  "type": "integer"
                                },
                                {
                                  "title": "Object",
                                  "type": "object"
                                }
                              ]
                            },
                            "type": "array"
                          },
                          "title": {
                            "description": "Title of the error.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of error.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "requestField": {
                      "description": "Request field name the error refers to. It can be a path or query parameter of the URL or any request payload field name.",
                      "type": "string"
                    },
                    "requestValues": {
                      "description": "Lists values corresponding to the `requestField`.",
                      "items": {
                        "anyOf": [
                          {
                            "title": "String",
                            "type": "string"
                          },
                          {
                            "title": "Integer",
                            "type": "integer"
                          },
                          {
                            "title": "Object",
                            "type": "object"
                          }
                        ]
                      },
                      "type": "array"
                    },
                    "status": {
                      "description": "HTTP response code.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "Title of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of error.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "[Validation error](ref:400)."
          },
          "401": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Inactive client token",
                  "instance": "https://akab-nedrvuylepskzabx-lv3dgceqqktx3i5b.luna.akamaiapis.net/edge-diagnostics/v1/grep/requests",
                  "status": 401,
                  "title": "Not authorized",
                  "type": "https://problems.luna.akamaiapis.net/-/pep-authn/deny"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies the errors.",
                  "properties": {
                    "detail": {
                      "description": "Detail about the problem.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "errors": {
                      "description": "[HTTP Problem Details](https://tools.ietf.org/html/rfc9457) objects indicating causes of failure.",
                      "items": {
                        "additionalProperties": true,
                        "description": "Specifies the error that occurred.",
                        "properties": {
                          "requestField": {
                            "description": "Request field name the error refers to. It can be a URL path or query parameter or any request payload field name.",
                            "type": "string"
                          },
                          "requestValues": {
                            "description": "Lists values corresponding to the `requestField`.",
                            "items": {
                              "anyOf": [
                                {
                                  "title": "String",
                                  "type": "string"
                                },
                                {
                                  "title": "Integer",
                                  "type": "integer"
                                },
                                {
                                  "title": "Object",
                                  "type": "object"
                                }
                              ]
                            },
                            "type": "array"
                          },
                          "title": {
                            "description": "Title of the error.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of error.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "requestField": {
                      "description": "Request field name the error refers to. It can be a path or query parameter of the URL or any request payload field name.",
                      "type": "string"
                    },
                    "requestValues": {
                      "description": "Lists values corresponding to the `requestField`.",
                      "items": {
                        "anyOf": [
                          {
                            "title": "String",
                            "type": "string"
                          },
                          {
                            "title": "Integer",
                            "type": "integer"
                          },
                          {
                            "title": "Object",
                            "type": "object"
                          }
                        ]
                      },
                      "type": "array"
                    },
                    "status": {
                      "description": "HTTP response code.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "Title of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of error.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "[Authorization error](ref:401)."
          },
          "429": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "You have exceeded total number of requests configured for this API.",
                  "status": 429,
                  "title": "Too Many Requests",
                  "type": "requests.exceeded.error"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Specifies the errors.",
                  "properties": {
                    "detail": {
                      "description": "Detail about the problem.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "errors": {
                      "description": "[HTTP Problem Details](https://tools.ietf.org/html/rfc9457) objects indicating causes of failure.",
                      "items": {
                        "additionalProperties": true,
                        "description": "Specifies the error that occurred.",
                        "properties": {
                          "requestField": {
                            "description": "Request field name the error refers to. It can be a URL path or query parameter or any request payload field name.",
                            "type": "string"
                          },
                          "requestValues": {
                            "description": "Lists values corresponding to the `requestField`.",
                            "items": {
                              "anyOf": [
                                {
                                  "title": "String",
                                  "type": "string"
                                },
                                {
                                  "title": "Integer",
                                  "type": "integer"
                                },
                                {
                                  "title": "Object",
                                  "type": "object"
                                }
                              ]
                            },
                            "type": "array"
                          },
                          "title": {
                            "description": "Title of the error.",
                            "type": "string"
                          },
                          "type": {
                            "description": "Type of error.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "title"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "requestField": {
                      "description": "Request field name the error refers to. It can be a path or query parameter of the URL or any request payload field name.",
                      "type": "string"
                    },
                    "requestValues": {
                      "description": "Lists values corresponding to the `requestField`.",
                      "items": {
                        "anyOf": [
                          {
                            "title": "String",
                            "type": "string"
                          },
                          {
                            "title": "Integer",
                            "type": "integer"
                          },
                          {
                            "title": "Object",
                            "type": "object"
                          }
                        ]
                      },
                      "type": "array"
                    },
                    "status": {
                      "description": "HTTP response code.",
                      "type": "integer"
                    },
                    "title": {
                      "description": "Title of the error.",
                      "type": "string"
                    },
                    "type": {
                      "description": "Type of error.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "[Too many requests](ref:429)."
          }
        },
        "summary": "List available edge server locations for metadata tracing",
        "tags": [
          "Metadata Tracer"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/edge-diagnostics/v1"
    }
  ],
  "tags": [
    {
      "description": "Run metadata tracer to get information about latest behaviors and criteria applied to a [Property Manager property](https://techdocs.akamai.com/property-mgr/reference/api).",
      "name": "Metadata Tracer"
    }
  ],
  "x-readme": {
    "samples-languages": [
      "curl",
      "python",
      "node"
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```

# Sibling pages

* [Launch a metadata tracing request](https://techdocs.akamai.com/edge-diagnostics/reference/post-mdt.md)
* [Check a metadata tracing request status](https://techdocs.akamai.com/edge-diagnostics/reference/get-mdt-request.md)