capabilities.work

List roles that have a restriction query

One step with Datadog. We can help you get access.

Look something up

List roles that have a restriction query

with Datadog
Works with AI assistants

Use Datadog: its Datadog Lists API lets you list roles that have a restriction query in a single step (GET /api/v2/logs/config/restriction_queries/{restriction_query_id}/roles). 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 roles are bound to a given log restriction query?
  • Can I page through the roles attached to a restriction query?
Say it to your AI assistant
  • List the roles assigned restriction query {restriction_query_id}.
  • Show which roles use restriction query {restriction_query_id}, {size} at a time.
For your developer

GET /api/v2/logs/config/restriction_queries/{restriction_query_id}/roles in Datadog Lists API. Full spec on APIs.io.