Labels
Create a label
Changed onCreates a label in the authenticated account. Optionally compiles and publishes an initial version from initial_version_text. A label with no versions is a valid state. Evaluation is always by version ID (POST /v1/labels/evaluate); a label with no versions has nothing to evaluate, and that endpoint requires label_version_ids. Requires a label-first account; other accounts receive FAILED_PRECONDITION.
post/v1/labels
Request
- Base URLhttps://gateway.app.clavata.ai:8443
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
A successful response.
Changes
- info
endpoint added
- info