---
title: "Get an organization rule suite"
method: GET
path: "/orgs/{org}/rulesets/rule-suites/{rule_suite_id}"
tags: ["repos"]
---

# Get an organization rule suite

`GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}`

Gets information about a suite of rule evaluations from within an organization.
For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-cloud@latest/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)."

## Path parameters

- `org` string, required
- `rule_suite_id` integer, required

## Response `200`

Response

- RuleSuite — Response
  - `id` integer — The unique identifier of the rule insight.
  - `actor_id` integer, nullable — The number that identifies the user.
  - `actor_name` string, nullable — The handle for the GitHub user account.
  - `before_sha` string — The previous commit SHA of the ref.
  - `after_sha` string — The new commit SHA of the ref.
  - `ref` string — The ref name that the evaluation ran on.
  - `repository_id` integer — The ID of the repository associated with the rule evaluation.
  - `repository_name` string — The name of the repository without the `.git` extension.
  - `pushed_at` string, date-time
  - `result` 'pass' | 'fail' | 'bypass' — The result of the rule evaluations for rules with the `active` enforcement status.
  - `evaluation_result` 'pass' | 'fail' | 'bypass', nullable — The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run.
  - `rule_evaluations` object[] — Details on the evaluated rules.
    - `rule_source` object
      - `type` string — The type of rule source.
      - `id` integer, nullable — The ID of the rule source.
      - `name` string, nullable — The name of the rule source.
    - `enforcement` 'active' | 'evaluate' | 'deleted ruleset' — The enforcement level of this rule source.
    - `result` 'pass' | 'fail' — The result of the evaluation of the individual rule.
    - `rule_type` string — The type of rule.
    - `details` string, nullable — The detailed failure message for the rule. Null if the rule passed.

## Other responses

- `404` — Resource not found
- `500` — Internal Error

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/revisions/dc0584ac4e13/schema)
