Synthetics
Trigger tests from CI/CD pipelines
Trigger a set of Synthetic tests for continuous integration.
post/api/v1/synthetics/tests/trigger/ci
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v1/synthetics/tests/trigger/ci
- 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_write
Request body
Example request
{
"tests": [
{
"basicAuth": {
"password": "PaSSw0RD!",
"type": "web",
"username": "my_username"
},
"deviceIds": [
"chrome.laptop_large"
],
"locations": [
"aws:eu-west-3"
],
"public_id": "aaa-aaa-aaa"
}
]
}Response
OK
Example response
{
"results": [
{
"device": "chrome.laptop_large"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.