The rule document's JSON Schema
JSON Schema (2020-12) for the v1 rule grammar. Feed it to a model or a validator; the same rules are enforced on save and preview.
Authorization
apiKey AuthorizationBearer <token>
API key in the Authorization header: Authorization: Bearer wv_live_…. Keys are created on the API keys page in the app, shown once, and scoped to your workspace. X-Api-Key: wv_live_… is accepted as a fallback for tools that can't set Authorization.
In: header
Response Body
application/schema+json
application/problem+json
application/problem+json
{}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"traceId": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"traceId": "string"
}