provider Service Scorecards GET
/api/v2/scorecard/outcomes @utdk/datadog
/api/v2/scorecard/outcomes List all rule outcomes
Fetches all rule outcomes.
- page[size] query
- Size for a given page. The maximum allowed value is 100.
- integer
- page[offset] query
- Specific offset to use as the beginning of the returned page.
- integer
- include query
- Include related rule details in the response.
- string
- fields[outcome] query
- Return only specified values in the outcome attributes.
- string
- fields[rule] query
- Return only specified values in the included rule details.
- string
- filter[outcome][service_name] query
- Filter the outcomes on a specific service name.
- string
- filter[outcome][state] query
- Filter the outcomes by a specific state.
- string
- filter[rule][enabled] query
- Filter outcomes on whether a rule is enabled/disabled.
- boolean
- filter[rule][id] query
- Filter outcomes based on rule ID.
- string
- filter[rule][name] query
- Filter outcomes based on rule name.
- string
Try it
Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.listscorecardoutcomes({
"page[size]": 10,
"page[offset]": 0
})