provider Actions Datastores GET
/api/v2/actions-datastores/{datastore_id}/items @utdk/datadog
/api/v2/actions-datastores/{datastore_id}/items List datastore items
Lists items from a datastore. You can filter the results by specifying either an item key or a filter query parameter, but not both at the same time. Supports server-side pagination for large datasets.
- datastore_id path required
- The unique identifier of the datastore to retrieve.
- string
- filter query
- Optional query filter to search items using the [logs search syntax](https://docs.datadoghq.com/logs/explorer/search_syntax/).
- string
- item_key query
- Optional primary key value to retrieve a specific item. Cannot be used together with the filter parameter.
- string
- page[limit] query
- Optional field to limit the number of items to return per page for pagination. Up to 100 items can be returned per page.
- integer
- page[offset] query
- Optional field to offset the number of items to skip from the beginning of the result set for pagination.
- integer
- sort query
- Optional field to sort results by. Prefix with '-' for descending order (e.g., '-created_at').
- 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.listdatastoreitems()