capabilities.work

List protection rules for an account, org or project

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

Look something up

List protection rules for an account, org or project

with Harness
Works with AI assistants

Use Harness: its Harness Rules API lets you list protection rules for an account, org or project in a single step (GET /code/api/v1/rules). Harness 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 protection rules are defined at the org or project level rather than per repo?
  • Can I search account-wide protection rules by name?
Say it to your AI assistant
  • List the protection rules defined at account {account} level.
  • Show protection rules for project {project} matching {query}.
For your developer

GET /code/api/v1/rules in Harness Rules API. Full spec on APIs.io.