Docs

Get Rule Sets

GET /rule-sets

GET/rule-sets

Lists the organization's library rule sets with the resource types that use each by default and its rule count. Pass resourceId to also list the rule sets that crew resource owns. Use it to find rule set ids. Requires ResourceTypeDatabase.Read.

Query Parameters

FieldTypeRequiredDescription
resourceIduuidOptional

Response

Type: GetRuleSetListResponse[]

GetRuleSetListResponse

FieldTypeDescription
iduuid
namestring| null
resourceIduuid| null
resourceTypesGetRuleSetListResponseResourceTypeRef[]| null
ruleCountinteger

GetRuleSetListResponseResourceTypeRef

FieldTypeDescription
iduuid
namestring| null