POST /v1/policies:explain
PolicyService_ExplainPolicies
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
No path or query parameters.
Request body
context_jsonstringpolicy_typestring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/policies:explain' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"context_json": "<value>",
"policy_type": "<value>"
}'Response contract
200 · OK
candidatesarrayExpand fields
condition_matchedbooleaneffect_jsonstringexclusion_groupstringmax_matchesinteger · int32policy_codestringpolicy_idstringpolicy_namestringpriorityinteger · int32revision_idstringrevision_nointeger · int32rolloutobjectExpand fields
customer_account_idsarraymodestringpercentageinteger · int32
rollout_applybooleanrollout_bucketinteger · int32rollout_eligiblebooleanselectedbooleanselection_reasonstringstack_groupstringstack_modestringstepsarrayExpand fields
detailstringfieldstringmatchedbooleanoperatorstringpathstring
policy_typestringwarningsarray
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.