Testing
Test input against all active policies (legacy)
Legacy endpoint. Evaluates the supplied input against all active dynamic policies and returns the raw policy evaluation result. Prefer POST /api/v1/policies/simulate (dry-run semantics, tier-aware) or POST /api/v1/dynamic-policies/{id}/test (single-policy testing).
post/api/v1/policies/test
Request
- Base URLhttps://agent.getaxonflow.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"user": {
"email": "analyst@company.com",
"role": "analyst"
}
}Response
Policy evaluation result
Changes
No recorded changes to this operation across all 1 revision of this API.