Docs
Live demo
GET/api/v2/access-templates/-/facets
access:readAPI token

Retrieve facet value counts for the access template list filters. The engine facet is counted over the latest template versions that match the search, without the engine filter. Total counts the versions that match every filter

Parameters

Query3 optional
enginestringquery

Filter templates by target engine.

postgreskubernetesmysqlclickhousemongodbapplicationssh
engine[]array of stringquery

Filter templates by any of these engines, in addition to engine

searchstringquery

Search template names, engines and descriptions (case-insensitive)

max length 200

Responses

200

OK

ListFacetsResponse · 3 fields
totalintegerrequired

Rows that match the search and every filter.

facetsmap of string → array of ListFacetValueResponserequired

Values with counts per facet, ordered by count descending.

viewsmap of string → integerrequired

Rows per named view, counted under the search without facet filters.

Common errors: 400 401 403 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close