Get the log restriction query for a role
One step with Datadog. We can help you get access.
Look something up
Get the log restriction query for a role
with Datadog
Works with AI assistants
Use Datadog: its Datadog Get API lets you get the log restriction query for a role in a single step (GET /api/v2/logs/config/restriction_queries/role/{role_id}). Datadog also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Which logs restriction query applies to a particular role?
- What log data can users in a given role see?
Say it to your AI assistant
- Get the logs restriction query attached to role {role_id}.
- Show which restriction query limits log access for role {role_id}.
For your developer
GET /api/v2/logs/config/restriction_queries/role/{role_id} in Datadog Get API. Full spec on APIs.io.