Skip to content
Start here

Rego Metadata

List Rego metadata documents
GET/accounts/{account_id}/cws/rego-metadata
Get a rego metadata document by ID
GET/accounts/{account_id}/cws/rego-metadata/{rego_metadata_id}
Create a new rego metadata document
POST/accounts/{account_id}/cws/rego-metadata
Update a rego metadata document
PUT/accounts/{account_id}/cws/rego-metadata/{rego_metadata_id}
Delete a rego metadata document
DELETE/accounts/{account_id}/cws/rego-metadata/{rego_metadata_id}
ModelsExpand Collapse
RegoMetadata object { id, created_at, data, 3 more }
id: string

Server-assigned UUID

formatuuid
created_at: string
formatdate-time
data: unknown
import_path: string

Unique Rego import path in the form metadata., with one alphanumeric or underscore segment. Reference it as data.<import_path>.

maxLength255
minLength1
name: string

Human-readable name; unique per account

maxLength100
minLength1
updated_at: string
formatdate-time
RegoMetadataDeleteResponse object { id }
id: string
formatuuid