Search client grants
Search client grants using SCIM or Lucene filter syntax with low-latency, eventually consistent results. Use the parser parameter to specify “scim” or “lucene” syntax (default: “lucene”). This endpoint provides an alternative to the standard GET /client-grants endpoint with better performance for complex queries. Results may not reflect recent updates immediately.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Filter expression in SCIM or Lucene syntax (depending on parser parameter). SCIM examples: audience eq "https://api.example.com", client_id eq "cli_abc", subject_type eq "client", allow_any_organization eq true, default_for eq "third_party_clients", audience co "example" and organization_id eq "org_123". SCIM operators: eq, ne, sw, ew, co, pr, gt, ge, lt, le, and, or.
Supported Fields:
- audience - Filter by audience (eq, ne, sw, co, ew, pr)
- client_id - Filter by client ID (eq, ne, sw, pr)
- subject_type - Filter by subject type (eq, ne, sw, pr)
- allow_any_organization - Filter by allow_any_organization (eq, ne, pr)
- organization_id - Filter by organization ID (eq, ne, sw, pr)
- updated_at - Filter by last update date (eq, ne, gt, ge, lt, le, pr)
- default_for - Filter by default grant group (eq, ne, sw, pr)
1000Query parser to use for the filter expression. Use "scim" for SCIM filter syntax or "lucene" for Lucene query syntax (default).
scim, lucene Comma-separated list of fields to include or exclude in the response. Works with the include_fields parameter to control projection mode.
1000Controls field projection mode. Set to true to include only fields specified in the fields parameter. Set to false to exclude fields specified in the fields parameter. Defaults to true if not specified.
Maximum number of results to return per page (1-100). Defaults to 50.
1 <= x <= 100Cursor for the next page of results. Use the value from the next field in the previous response.
1000Field name to sort results by in ascending order. Defaults to insertion order (oldest first) if not provided.
audience, updated_at