Synthetics
Get an API test result
Get a specific full result from a given Synthetic API test.
get/api/v1/synthetics/tests/{public_id}/results/{result_id}
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v1/synthetics/tests/{public_id}/results/{result_id}
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token scopes: synthetics_read
Path parameters
public_idstring required
The public ID of the API test to which the target result belongs.
result_idstring required
The ID of the result to get.
Response
OK
Example response
{
"check": {
"config": {
"assertions": [],
"configVariables": [
{
"name": "VARIABLE_NAME",
"type": "text"
}
],
"request": {
"basicAuth": {
"password": "PaSSw0RD!",
"type": "web",
"username": "my_username"
},
"bodyType": "text/plain",
"callType": "unary",
"mcpProtocolVersion": "2025-06-18",
"proxy": {
"url": "https://example.com"
},
"service": "Greeter",
"toolName": "search",
"url": "https://example.com"
},
"variables": [
{
"name": "VARIABLE_NAME",
"type": "text"
}
]
}
},
"result": {
"failure": {
"message": "Error during DNS resolution (ENOTFOUND)."
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.