Back to Registry

api.http.response_matches

HARD

Verifies that an HTTP response body contains expected substrings.

Scorecard

Determinismdeterministic
Evidence Qualityhard-state
Intended Useeval-and-train
Gating RequiredNo
Permissions
net:http

Test Fixtures

9 total
TypeCount
Positive3
Negative3
Adversarial3

Metadata

Version0.1.0
Domainapi
Task Typestate_verification
Contributorvr.dev

Use in SDK

# CLI
vr verify --verifier api.http.response_matches --ground-truth '{"order_id": "ORD-42"}'

# Python
from vrdev import verify
result = verify("api.http.response_matches", ground_truth={"order_id": "ORD-42"})

# API
curl -X POST https://api.vr.dev/v1/verify \
  -H "X-API-Key: vr_live_..." \
  -d '{"verifier": "api.http.response_matches", "ground_truth": {"order_id": "ORD-42"}}'
Verifier Registry | vr.dev