Create a principle
POST/targets/:tid/principles
Adds one principle to this target — a rule the AI service under test is expected to uphold, which every evaluated transcript is then judged against. Phrase it as a checkable expectation about the service's behaviour rather than a topic. importance weights how heavily a violation counts, from 1 (lowest) to 5 (highest).
Request
Responses
- 201
- 401
- 404
- 409
- 422
- 503
Successful Response
Response Headers
Idempotent-Replayed
Present and true when this response is a replay.
Missing or invalid credentials
Resource not found (incl. cross-org ids)
Idempotency-Key conflict or in-flight duplicate
Request validation failed
Idempotency store unavailable (fail-closed)