Endpoints
Verify Result Equivalence
Checks if two result sets are semantically equivalent.
POST
Submit two result sets and verify whether they are semantically equivalent.
This endpoint is typically used to compare:
- The original query result
- The Isofold-optimized query result
Useful for audit logging, testing, and compliance scenarios.
Request
Fields
Field | Type | Required | Description |
---|---|---|---|
original | array | ✅ | Result set from the original query |
rewritten | array | ✅ | Result set from the rewritten query |
Response
If the results do not match, you’ll see the differences:
Notes
- Comparison is order-insensitive
- Field names must match exactly
- Null vs undefined are treated as distinct
Use this endpoint to integrate Isofold verification into your CI, analytics pipelines, or regulated audit flows.
Next: Query Completion Webhook
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200 - application/json
Verification result
The response is of type object
.