provider CI Visibility Tests GET
/api/v2/ci/tests/events @utdk/datadog
/api/v2/ci/tests/events Get a list of tests events
List endpoint returns CI Visibility test events that match a [search query](https://docs.datadoghq.com/continuous_integration/explorer/search_syntax/).
[Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).
Use this endpoint to see your latest test events.
- filter[query] query
- Search query following log syntax.
- string
- filter[from] query
- Minimum timestamp for requested events.
- string
- filter[to] query
- Maximum timestamp for requested events.
- string
- sort query
- Order of events in results.
- enum: timestamp, -timestamp
- page[cursor] query
- List following results with a cursor provided in the previous query.
- string
- page[limit] query
- Maximum number of events in the response.
- integer
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.listciapptestevents({
"page[limit]": 10
})