admin role and can be called with a session cookie or Authorization: Bearer lsk_....
PUT /roles/
Create or replace a role. Invalid CEL is rejected before storage, as is a policy that references an unmarked field.string
required
The role name, used in user assignments.
array of objects
required
One or more policy objects. Each object requires
title and expression; description is optional.Example
Roles OR together. A user assigned both
booking-analyst and a restricted-reviewer role sees the union of both role’s authorized traces.