Policy Management
Makes a decision
This endpoint will evaluate input data (config+metadata) against owner's stored policies and return a decision.
post/owner/{ownerID}/context/{context}/decision
Request
- Base URLhttps://circleci.com/api/v2
- URLhttps://circleci.com/api/v2/owner/{ownerID}/context/{context}/decision
- Auth
- API key in header Circle-Token
- or HTTP bearer
- or HTTP basic
- or API key in query parameter circle-token
Path parameters
ownerIDstring required
contextstring required
Request body
Response
Decision rendered by applying the policy against the provided data. Response will be modeled by the data and rego processed.
Changes
No recorded changes to this operation across all 1 revision of this API.