v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01206322659.2 KB
k2

List access-shaping rules authored on a knowledge base.

get/orgs/{org_id}/k2/{kb_id}/policies

Path parameters

org_idstring required
kb_idstring required

Query parameters

table_namestring nullable

Restrict to policies that target this exact table.

enabledboolean nullable

Restrict to enabled or disabled rules. Omit for both.

include_deletedboolean

When true, also return soft-deleted rules. Defaults to false.

page_tokenstring nullable

Pagination cursor. Pass the previous response's next_page_token.

Response

Policies listed

next_page_tokenstring nullable