Scorecards
Create outcomes batch
Sets multiple service-rule outcomes in a single batched request.
post/api/v2/scorecard/outcomes/batch
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/scorecard/outcomes/batch
- 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: apm_service_catalog_write
Request body
Example request
{
"data": {
"attributes": {
"results": [
{
"remarks": "See: <a href=\"https://app.datadoghq.com/services\">Services</a>",
"rule_id": "q8MQxk8TCqrHnWkx",
"service_name": "my-service",
"state": "pass"
}
]
},
"type": "batched-outcome"
}
}Response
OK
Example response
{
"data": [
{
"attributes": {
"remarks": "See: <a href=\"https://app.datadoghq.com/services\">Services</a>",
"service_name": "my-service",
"state": "pass"
},
"relationships": {
"rule": {
"data": {
"id": "q8MQxk8TCqrHnWkx",
"type": "rule"
}
}
},
"type": "outcome"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.