Skip to main content
GET
List policy resources

Authorizations

klef.session
string
cookie
required

Cookie-based session. Obtain by completing the /auth/login/{provider} OAuth flow; the /auth/callback response sets the klef.session cookie that subsequent requests send automatically.

Query Parameters

kind
enum<string>[]

Filter to resources of any of these kinds.

The kind of reusable building block a policy draws from.

Available options:
script,
lookup,
secret
q
string

Case-insensitive match on the resource name.

Required string length: 3 - 100
sort
enum<string>

Order the results by this column (default: updatedAt).

Available options:
name,
updated_at,
kind
dir
enum<string>

Sort direction for sort (default: descending for updatedAt, ascending otherwise).

Available options:
asc,
desc
cursor
integer<int32>
limit
integer<int32>

Response

OK

The envelope for a collection response: IReadOnlyList<T> ApiCollectionResponse<T>.Results.

results
object[]
required
errors
object[]
required
pagination
null | object
required

Cursor-pagination metadata shared across every paged read. int? PageInfo.NextCursor is the offset of the next page, null on the last page.