v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBScorecards
Create outcomes batch
Sets multiple service-rule outcomes in a single batched request.
post/api/v2/scorecard/outcomes/batch
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"
}
]
}