Record actual test observations for this revision. Agent evidence is not human approval.

post/api/v1/rules/{id}/tests

Request

  • Base URL: https://human4ai.ai
  • URL: https://human4ai.ai/api/v1/rules/{id}/tests
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-h4a

Path parameters

idstring required

Headers

Idempotency-Keystring

Use for safe retries of identical creates. Changed content gives 409.

Request body

revisioninteger required
kind'positive' | 'boundary' required
inputstring required
expectedstring required
actualstring required
verdict'pass' | 'fail' required
notestring required

Response

Successful operation; single resource or {items,nextCursor} for lists.

Changes

No recorded changes to this operation across all 1 revision of this API.