Labels
Create a label version
Changed onPublishes an immutable version under the label. text is single-label DSL by default; set text_format to TEXT_FORMAT_PLAIN_TEXT to send a plain-language rule instead, which is stored as a single signal. Reads always return the compiled DSL, not the text that was submitted. There is no current/live version: evaluation always uses an explicit version ID. There is no PATCH or DELETE for versions. Requires a label-first account; other accounts receive FAILED_PRECONDITION.
post/v1/labels/{labelId}/versions
Request
- Base URLhttps://gateway.app.clavata.ai:8443
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
labelIdstring required
The label ID this version belongs to
Request body
Response
A successful response.
Changes
- info
added the new optional request property
- info
- info
endpoint added
- info