Skip to main content
GET
List the workspace's policies.

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

status
enum<string>

Filter to policies in this operational state (default: all non-disabled). Operational state of a policy: running, temporarily paused, or disabled.

Available options:
active,
paused,
disabled
category
string

Filter to policies in this category.

q
string

Case-insensitive match on the policy name.

Required string length: 3 - 100
includeDisabled
boolean

Include disabled policies too (default: false).

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.