v1

latestOpenAPI 3.1.02026-07-13250151.3 KB
workspace

Get the active constitution rules for the authenticated workspace.

Only returns is_active=true rules, sorted created_at DESC. rationale/scope omitted when null; examples omitted when not an array; enforcement defaults to 'required'. count is rules.length.

get/api/v1/workspace/constitution

Query parameters

workspace_idstring

Required ONLY for cookie-session auth (no Bearer key); ignored for API-key auth.

Response

Rules returned.

object required