search_entities
Query monitored entities by selector to locate services, hosts, and other Dynatrace resources. Filter by type, tags, entity ID, and time range for targeted results.
Instructions
Search monitored entities by selector (GET /api/v2/entities). Needs entities.read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | +properties,+tags,+managementZones,+fromRelationships,+toRelationships | +tags,+managementZones |
| to_time | No | End: now, ISO-8601 or epoch ms | now |
| from_time | No | Start: now-2h, ISO-8601 (2026-10-31T10:00:00Z) or epoch ms | now-72h |
| page_size | No | ||
| next_page_key | No | nextPageKey from the previous page; other filters are ignored when set | |
| entity_selector | Yes | Must contain type(...) or entityId(...), e.g. type("SERVICE"),tag("env:prod") |