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

# Get a test profile execution

Returns Test Profile Executions Details

# 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/{testProfileId}/test-executions/{testExecutionId}": {
      "get": {
        "description": "Returns Test Profile Executions Details",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Site Shield API",
          "url": "https://techdocs.akamai.com/site-shield/reference/get-test-profile-execution-details"
        },
        "operationId": "get-test-profile-execution-details",
        "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": {
                  "cidrsCount": 1,
                  "cidrsType": "CURRENT",
                  "completedAt": "2026-05-06T11:27:33.000+0000",
                  "failedCidrsCount": 0,
                  "id": 12345,
                  "inactiveCidrsCount": 0,
                  "originsCount": 1,
                  "originsResults": [
                    {
                      "cidrResults": [
                        {
                          "cidr": "111.111.111.111/24",
                          "failedRequestsCount": 0,
                          "status": "SUCCESS",
                          "successfulRequestsCount": 5
                        }
                      ],
                      "failedCidrsCount": 0,
                      "hostHeader": "akamai.com",
                      "inactiveCidrsCount": 0,
                      "notes": null,
                      "origin": "akamai.com",
                      "partiallyFailedCidrsCount": 0,
                      "port": 443,
                      "protocol": "HTTPS",
                      "requestPath": "/",
                      "successfulCidrsCount": 1
                    }
                  ],
                  "partiallyFailedCidrsCount": 0,
                  "runBy": "user",
                  "startedAt": "2026-05-06T11:27:23.000+0000",
                  "status": "SUCCESS",
                  "successfulCidrsCount": 1,
                  "testProfileId": 54321,
                  "testProfileName": "Test Profile",
                  "testType": "HTTP"
                },
                "schema": {
                  "allOf": [
                    {
                      "description": "The summary of a single test profile execution.  The test execution summaries endpoint for a map responds with the overall  outcome and aggregated result counts for one execution, without the per-origin detail.",
                      "properties": {
                        "cidrsCount": {
                          "description": "__Read-only__ The number of CIDRs tested in this execution.",
                          "format": "int64",
                          "readOnly": true,
                          "type": "integer"
                        },
                        "cidrsType": {
                          "description": "__Read-only__ Specify which set of map CIDRs was tested in this execution. Either `CURRENT` or `PROPOSED`.",
                          "enum": [
                            "CURRENT",
                            "PROPOSED"
                          ],
                          "readOnly": true,
                          "type": "string"
                        },
                        "completedAt": {
                          "description": "__Read-only__ Date time when the execution completed.",
                          "example": 1785456000000,
                          "format": "int64",
                          "readOnly": true,
                          "type": "integer"
                        },
                        "failedCidrsCount": {
                          "description": "__Read-only__ The number of tested CIDRs across all origins whose status was `FAILURE` in this execution.",
                          "format": "int64",
                          "readOnly": true,
                          "type": "integer"
                        },
                        "id": {
                          "description": "__Read-only__ The unique identifier of the test execution.",
                          "format": "int64",
                          "readOnly": true,
                          "type": "integer"
                        },
                        "inactiveCidrsCount": {
                          "description": "__Read-only__ The number of tested CIDRs across all origins whose status was `NO_ACTIVE_SERVERS` in this execution.",
                          "format": "int64",
                          "readOnly": true,
                          "type": "integer"
                        },
                        "originsCount": {
                          "description": "__Read-only__ The number of origins tested in this execution.",
                          "format": "int64",
                          "readOnly": true,
                          "type": "integer"
                        },
                        "partiallyFailedCidrsCount": {
                          "description": "__Read-only__ The number of tested CIDRs across all origins whose status was `PARTIAL_FAILURE` in this execution.",
                          "format": "int64",
                          "readOnly": true,
                          "type": "integer"
                        },
                        "runBy": {
                          "description": "__Read-only__ The user or scheduler that triggered the execution.",
                          "readOnly": true,
                          "type": "string"
                        },
                        "startedAt": {
                          "description": "__Read-only__ Epoch timestamp for when the execution completed.",
                          "example": 1785456000000,
                          "format": "int64",
                          "readOnly": true,
                          "type": "integer"
                        },
                        "status": {
                          "description": "__Read-only__ The status indicating the overall outcome of the execution. A `SUCCESS` status indicates all results succeeded,  `FAILED` indicates one or more results failed, and `ERROR` indicates the execution could not be completed.",
                          "enum": [
                            "SUCCESS",
                            "FAILED",
                            "ERROR"
                          ],
                          "readOnly": true,
                          "type": "string"
                        },
                        "successfulCidrsCount": {
                          "description": "__Read-only__ The number of tested CIDRs across all origins whose status was `SUCCESS` in this execution.",
                          "format": "int64",
                          "readOnly": true,
                          "type": "integer"
                        },
                        "testProfileId": {
                          "description": "__Read-only__ The profile ID of the executed test profile.",
                          "format": "int64",
                          "readOnly": true,
                          "type": "integer"
                        },
                        "testProfileName": {
                          "description": "The name of the test profile.",
                          "type": "string"
                        },
                        "testType": {
                          "description": "__Read-only__ The type of the connectivity test run.",
                          "enum": [
                            "HTTP"
                          ],
                          "readOnly": true,
                          "type": "string"
                        }
                      },
                      "type": "object",
                      "x-akamai": {
                        "file-path": "schemas/test-profile-execution-summary.yaml"
                      }
                    },
                    {
                      "properties": {
                        "originsResults": {
                          "description": "__Read-only__ The per-origin result of a single test profile execution.  The test execution details endpoint responds with one entry per tested origin,  including aggregated counts and a breakdown of results for each tested CIDR.",
                          "items": {
                            "properties": {
                              "cidrResults": {
                                "description": "__Read-only__ The array for the per-CIDR breakdown of the test results for this origin.",
                                "items": {
                                  "description": "The result of testing this origin from a single CIDR.",
                                  "properties": {
                                    "cidr": {
                                      "description": "__Read-only__ The CIDR block from which the origin was tested.",
                                      "readOnly": true,
                                      "type": "string"
                                    },
                                    "failedRequestsCount": {
                                      "description": "__Read-only__ The number of individual requests sent from this CIDR to the origin that did not match the success criteria.",
                                      "format": "int64",
                                      "readOnly": true,
                                      "type": "integer"
                                    },
                                    "status": {
                                      "description": "__Read-only__ The status outcome of testing the origin from this CIDR.  Either `SUCCESS`, `FAILURE`, `PARTIAL_FAILURE`, `ERROR`, or `NO_ACTIVE_SERVERS`.",
                                      "enum": [
                                        "SUCCESS",
                                        "FAILURE",
                                        "PARTIAL_FAILURE",
                                        "ERROR",
                                        "NO_ACTIVE_SERVERS"
                                      ],
                                      "readOnly": true,
                                      "type": "string"
                                    },
                                    "successfulRequestsCount": {
                                      "description": "__Read-only__ The number of individual requests sent from this CIDR to the origin whose HTTP response matched the success criteria.",
                                      "format": "int64",
                                      "readOnly": true,
                                      "type": "integer"
                                    }
                                  },
                                  "type": "object"
                                },
                                "readOnly": true,
                                "type": "array"
                              },
                              "failedCidrsCount": {
                                "description": "__Read-only__ The number of CIDRs whose status was `FAILURE` when testing this origin.",
                                "format": "int64",
                                "readOnly": true,
                                "type": "integer"
                              },
                              "hostHeader": {
                                "description": "__Read-only__ The host header sent with the request to the origin.",
                                "readOnly": true,
                                "type": "string"
                              },
                              "inactiveCidrsCount": {
                                "description": "__Read-only__ The number of CIDRs that had no active servers when testing this origin.",
                                "format": "int64",
                                "readOnly": true,
                                "type": "integer"
                              },
                              "notes": {
                                "description": "__Read-only__ Any free-form notes configured for the origin.",
                                "nullable": true,
                                "readOnly": true,
                                "type": "string"
                              },
                              "origin": {
                                "description": "__Read-only__ The origin hostname or IP address tested.",
                                "readOnly": true,
                                "type": "string"
                              },
                              "partiallyFailedCidrsCount": {
                                "description": "__Read-only__ The number of CIDRs whose status was `PARTIAL_FAILURE` when testing this origin.",
                                "format": "int64",
                                "readOnly": true,
                                "type": "integer"
                              },
                              "port": {
                                "description": "__Read-only__ The TCP port on the origin tested.",
                                "readOnly": true,
                                "type": "integer"
                              },
                              "protocol": {
                                "description": "__Read-only__ The protocol used to connect to the origin.",
                                "enum": [
                                  "HTTP",
                                  "HTTPS"
                                ],
                                "readOnly": true,
                                "type": "string"
                              },
                              "requestPath": {
                                "description": "__Read-only__ The request path used for the test.",
                                "readOnly": true,
                                "type": "string"
                              },
                              "successfulCidrsCount": {
                                "description": "__Read-only__ The number of CIDRs whose status was `SUCCESS` when testing this origin.",
                                "format": "int64",
                                "readOnly": true,
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          },
                          "readOnly": true,
                          "type": "array"
                        }
                      },
                      "type": "object"
                    }
                  ],
                  "x-akamai": {
                    "file-path": "schemas/test-profile-execution-details.yaml"
                  }
                }
              }
            },
            "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": "Get a test profile execution",
        "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"
          }
        },
        {
          "description": "Specify a unique identifier for the test profile.",
          "in": "path",
          "name": "testProfileId",
          "required": true,
          "schema": {
            "example": 17193,
            "format": "int64",
            "type": "integer"
          },
          "x-akamai": {
            "file-path": "parameters/test-profile-id-path.yaml"
          }
        },
        {
          "description": "Specify a unique identifier for each test profile execution.",
          "in": "path",
          "name": "testExecutionId",
          "required": true,
          "schema": {
            "example": 52445,
            "format": "int64",
            "type": "integer"
          },
          "x-akamai": {
            "file-path": "parameters/test-execution-id-path.yaml"
          }
        }
      ],
      "x-akamai": {
        "file-path": "paths/test-profiles-execution.yaml",
        "path-info": "/maps/{id}/test-profiles/{testProfileId}/test-executions/{testExecutionId}"
      }
    }
  },
  "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)
* [List test profiles](https://techdocs.akamai.com/site-shield/reference/list-test-profiles.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)