---
updatedAt: 2026-09-18T12:17:31.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/site-shield/llms.txt
---

# List test profiles

Returns a list of all Test Profiles for a map.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Site Shield API",
    "url": "https://techdocs.akamai.com/site-shield/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Maps",
    "version": "v1"
  },
  "openapi": "3.0.0",
  "paths": {
    "/maps/{id}/test-profiles": {
      "get": {
        "description": "Returns a list of all Test Profiles for a map.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Site Shield API",
          "url": "https://techdocs.akamai.com/site-shield/reference/list-test-profiles"
        },
        "operationId": "list-test-profiles",
        "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": [
                  {
                    "cidrsType": [
                      "CURRENT"
                    ],
                    "id": 12345,
                    "lastExecutionDate": "2026-05-06T11:27:33.000+0000",
                    "name": "Test Profile",
                    "notification": {
                      "emails": [
                        "user@akamai.com"
                      ]
                    },
                    "origins": [
                      {
                        "hostHeader": "akamai.com",
                        "id": 12345,
                        "notes": "Origin akamai.com",
                        "origin": "akamai.com",
                        "port": 443,
                        "protocol": "HTTPS",
                        "requestPath": "/",
                        "sniCompliant": false
                      }
                    ],
                    "scheduler": {
                      "atTime": "00:00:00.000+0000",
                      "enabled": true,
                      "endDate": "2026-07-31T00:00:00.000+0000",
                      "nextRunDate": "2026-07-20T00:00:00.000+0000",
                      "onDayOfWeek": "MON",
                      "recurring": "WEEKLY",
                      "startDate": "2026-07-15T00:00:00.000+0000"
                    },
                    "status": "IDLE",
                    "successCriteria": [
                      "RESPONSE_CODES_2XX",
                      "RESPONSE_CODES_3XX"
                    ],
                    "type": "HTTP"
                  }
                ],
                "schema": {
                  "items": {
                    "description": "A CIDR testing test profile bound to a Site Shield map. Defines the origins to\ntest, the success criteria, notification and scheduling settings, and reflects\nthe profile's current execution status.",
                    "properties": {
                      "cidrsType": {
                        "description": "Specify which set of map CIDRs to test. Either CURRENT or PROPOSED.\n- CURRENT: The currently active CIDRs configured for the Site Shield map.\n- PROPOSED: The new CIDRs proposed for the Site Shield map.",
                        "items": {
                          "enum": [
                            "CURRENT",
                            "PROPOSED"
                          ],
                          "type": "string"
                        },
                        "minItems": 1,
                        "type": "array",
                        "uniqueItems": true
                      },
                      "id": {
                        "description": "__Read-only__ The unique identifier of the test profile is assigned by the server. Omit this field when creating a new profile.",
                        "format": "int64",
                        "readOnly": true,
                        "type": "integer"
                      },
                      "lastExecutionDate": {
                        "description": "__Read-only__ The timestamp indicating the most recent execution of this test profile.",
                        "example": 1785456000000,
                        "format": "int64",
                        "readOnly": true,
                        "type": "integer"
                      },
                      "name": {
                        "description": "Specify the human-readable name of the test profile. This required value must be unique within the map and can contain up to 200 characters.",
                        "maxLength": 200,
                        "minLength": 1,
                        "type": "string"
                      },
                      "notification": {
                        "description": "Specify the notification settings applied when the test profile finishes executing.",
                        "nullable": true,
                        "properties": {
                          "emails": {
                            "description": "Set of email addresses notified with the execution results.",
                            "items": {
                              "format": "email",
                              "minLength": 1,
                              "type": "string"
                            },
                            "minItems": 0,
                            "type": "array",
                            "uniqueItems": true
                          }
                        },
                        "type": "object"
                      },
                      "origins": {
                        "description": "Specify at least one origin tested by this profile. You can add up to 300.",
                        "items": {
                          "description": "Specify a single origin endpoint to be tested.",
                          "properties": {
                            "hostHeader": {
                              "description": "Specify the host header sent with the request to the origin. You can use up to 200 characters.",
                              "maxLength": 200,
                              "minLength": 1,
                              "type": "string"
                            },
                            "id": {
                              "description": "__Read-only__ The unique identifier of the origin. The server assigns this value. Omit it when creating a new origin.",
                              "format": "int64",
                              "readOnly": true,
                              "type": "integer"
                            },
                            "notes": {
                              "description": "Specify any free-form notes for the origin. You can use up to 500 characters.",
                              "maxLength": 500,
                              "type": "string"
                            },
                            "origin": {
                              "description": "Specify the origin hostname or IP address to connect to. The limit is 200 characters.",
                              "maxLength": 200,
                              "minLength": 1,
                              "type": "string"
                            },
                            "port": {
                              "description": "Specify the TCP port on the origin to connect to. This value must be positive and up to 65535.",
                              "format": "int32",
                              "maximum": 65535,
                              "minimum": 1,
                              "type": "integer"
                            },
                            "protocol": {
                              "description": "Specify the protocol to use to connect to the origin.",
                              "enum": [
                                "HTTP",
                                "HTTPS"
                              ],
                              "type": "string"
                            },
                            "requestPath": {
                              "description": "Specify the request path used for the test. This value must start with a /, be no longer than 200 characters, and contain no whitespaces.",
                              "maxLength": 200,
                              "minLength": 1,
                              "pattern": "^/\\S*",
                              "type": "string"
                            },
                            "sniCompliant": {
                              "description": "Specify whether the origin is SNI-compliant, meaning it presents a certificate matching the `hostHeader` for HTTPS.",
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "hostHeader",
                            "origin",
                            "port",
                            "protocol",
                            "requestPath",
                            "sniCompliant"
                          ],
                          "type": "object"
                        },
                        "maxItems": 300,
                        "minItems": 1,
                        "type": "array"
                      },
                      "scheduler": {
                        "description": "Specify the scheduler configuration that controls the recurring automatic execution of the test profile.",
                        "properties": {
                          "atTime": {
                            "description": "Specify the timestamp (full hour only) indicating when the scheduled execution runs.",
                            "type": "string"
                          },
                          "enabled": {
                            "description": "Specify whether automatic scheduled execution is enabled. When set to false, the remaining scheduler fields are ignored.",
                            "type": "boolean"
                          },
                          "endDate": {
                            "description": "__Read-only__ Specify the UTC timestamp indicating when the schedule stops. If set, this value must be after the `startDate`.",
                            "example": 1785456000000,
                            "format": "int64",
                            "readOnly": true,
                            "type": "integer"
                          },
                          "nextRunDate": {
                            "description": "__Read-only__ The UTC timestamp indicating the next scheduled execution. The server computes this value.",
                            "example": 1785456000000,
                            "format": "int64",
                            "readOnly": true,
                            "type": "integer"
                          },
                          "onDayOfMonth": {
                            "description": "Specify the day of the month (1-31) when the execution runs. This applies only when recurring is set to `MONTHLY`.",
                            "format": "int32",
                            "type": "integer"
                          },
                          "onDayOfWeek": {
                            "description": "Specify the day of week (`SUN`-`SAT`) indicating when the scheduled execution runs. This applies only when recurring is set to `WEEKLY`.",
                            "enum": [
                              "MON",
                              "TUE",
                              "WED",
                              "THU",
                              "FRI",
                              "SAT",
                              "SUN"
                            ],
                            "type": "string"
                          },
                          "recurring": {
                            "description": "Specify the recurring frequency of the schedule: either WEEKLY or MONTHLY.",
                            "enum": [
                              "WEEKLY",
                              "MONTHLY"
                            ],
                            "type": "string"
                          },
                          "startDate": {
                            "description": "__Read-only__ Specify the UTC timestamp indicating when the schedule becomes active.",
                            "example": 1785456000000,
                            "format": "int64",
                            "readOnly": true,
                            "type": "integer"
                          }
                        },
                        "type": "object"
                      },
                      "status": {
                        "description": "__Read-only__ The status indicating the current execution status of the test profile. An IDLE status indicates it is not running, QUEUED indicates it is scheduled to run, and RUNNING indicates a test is in progress.",
                        "enum": [
                          "IDLE",
                          "QUEUED",
                          "RUNNING"
                        ],
                        "readOnly": true,
                        "type": "string"
                      },
                      "successCriteria": {
                        "description": "Specify at least one HTTP response code range that counts as a successful test. A 404 counts as a failure unless you explicitly select RESPONSE_CODE_404.",
                        "items": {
                          "enum": [
                            "RESPONSE_CODES_2XX",
                            "RESPONSE_CODES_3XX",
                            "RESPONSE_CODES_4XX",
                            "RESPONSE_CODE_404",
                            "RESPONSE_CODES_5XX"
                          ],
                          "type": "string"
                        },
                        "minItems": 1,
                        "type": "array",
                        "uniqueItems": true
                      },
                      "type": {
                        "description": "Specify the type of connectivity test to run against the origins.",
                        "enum": [
                          "HTTP"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "cidrsType",
                      "name",
                      "origins",
                      "scheduler",
                      "successCriteria",
                      "type"
                    ],
                    "type": "object",
                    "x-akamai": {
                      "file-path": "schemas/test-profile.yaml"
                    }
                  },
                  "type": "array"
                }
              }
            },
            "description": "Successful response."
          },
          "400": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "The request could not be understood by the server due to malformed syntax.",
                  "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                  "status": 400,
                  "title": "Bad Request",
                  "type": "https://problems.luna.akamaiapis.net/appsec/error-types/BAD-REQUEST"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Collects data for errors.",
                  "properties": {
                    "detail": {
                      "description": "Detail error message.",
                      "type": "string"
                    },
                    "errors": {
                      "description": "A nested problem object.",
                      "items": {
                        "description": "A nested problem object.",
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-nested.yaml"
                        }
                      },
                      "minItems": 0,
                      "type": "array"
                    },
                    "instance": {
                      "description": "The non-referencable URI that indicates the error instance.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The name of the error.",
                      "example": "Not found.",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Bad request](ref:400).",
            "x-akamai": {
              "file-path": "errors/400.yaml"
            }
          },
          "403": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "You do not have the necessary access to perform this operation or the requested resource cannot be modified",
                  "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                  "status": 403,
                  "title": "Forbidden",
                  "type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/ACCESS-DENIED"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Collects data for errors.",
                  "properties": {
                    "detail": {
                      "description": "Detail error message.",
                      "type": "string"
                    },
                    "errors": {
                      "description": "A nested problem object.",
                      "items": {
                        "description": "A nested problem object.",
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-nested.yaml"
                        }
                      },
                      "minItems": 0,
                      "type": "array"
                    },
                    "instance": {
                      "description": "The non-referencable URI that indicates the error instance.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The name of the error.",
                      "example": "Not found.",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Forbidden](ref:403). You don't have permission to access the resource.",
            "x-akamai": {
              "file-path": "errors/403.yaml"
            }
          },
          "404": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Invalid map: 12345677",
                  "instance": "https://problems.luna.akamaiapis.net/siteshield/error-instances/666929c8-c53f-4ac6-88ad-a157310eef79",
                  "problemId": "95bfad29-c2aa-4531-b324-d33806665ba0",
                  "status": 404,
                  "title": "Invalid map id",
                  "type": "https://problems.luna.akamaiapis.net/siteshield/not-found"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Collects data for errors.",
                  "properties": {
                    "detail": {
                      "description": "Detail error message.",
                      "type": "string"
                    },
                    "errors": {
                      "description": "A nested problem object.",
                      "items": {
                        "description": "A nested problem object.",
                        "type": "object",
                        "x-akamai": {
                          "file-path": "schemas/http-problem-details-nested.yaml"
                        }
                      },
                      "minItems": 0,
                      "type": "array"
                    },
                    "instance": {
                      "description": "The non-referencable URI that indicates the error instance.",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The name of the error.",
                      "example": "Not found.",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "type",
                    "title"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/http-problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Not found](ref:404).",
            "x-akamai": {
              "file-path": "errors/404.yaml"
            }
          }
        },
        "summary": "List test profiles",
        "tags": [
          "Test Profiles"
        ]
      },
      "parameters": [
        {
          "description": "A unique identifier for a map.",
          "in": "path",
          "name": "id",
          "required": true,
          "schema": {
            "example": 1,
            "type": "integer"
          },
          "x-akamai": {
            "file-path": "parameters/id-path.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/test-profiles.yaml",
        "path-info": "/maps/{id}/test-profiles"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/siteshield/v1"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "site-shield.yaml"
  },
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
```

# Sibling pages

* [List test profile executions](https://techdocs.akamai.com/site-shield/reference/list-map-test-profile-executions.md)
* [Get a test profile](https://techdocs.akamai.com/site-shield/reference/get-test-profile.md)
* [List test profile executions](https://techdocs.akamai.com/site-shield/reference/list-test-profile-executions.md)
* [Get a test profile execution](https://techdocs.akamai.com/site-shield/reference/get-test-profile-execution-details.md)