Create guardrail model
Create a guardrail model and start its first training run from a labelled JSONL file
Request
This endpoint expects a multipart form.
name
description
file
JSON Lines in UTF-8, one {“text”: ”…”, “label”: “yes” | “no”} object per line, yes meaning the text violates. The deployment sets the limits; by default 20 to 50,000 rows, at least 5 per label, up to 12,000 characters each, 50 MB
Response headers
Location
Response
Created
Errors
400
Bad Request Error
403
Forbidden Error
409
Conflict Error
429
Too Many Requests Error
503
Service Unavailable Error