Returns every GraphObjectTypeCategory paired with the graph object types assigned to it. Use this query to build category-grouped navigation over the security graph; every GraphObjectType belongs to exactly one category, so iterating the result's categories visits every known object type exactly once. See graphObjectTypes for a flat, filterable listing of the same object types.
Response
Returns a GraphObjectTypeCategoriesPayload!
Example
Query
query graphObjectCategories {
graphObjectCategories {
categories {
category
categoryLabel
objectTypes {
...GraphObjectTypeInfoFragment
}
}
}
}
Response
{
"data": {
"graphObjectCategories": {
"categories": [GraphObjectTypeCategoryInfo]
}
}
}