cURL
curl --request GET \ --url https://api.osohq.com/api/policy \ --header 'Authorization: Bearer <token>'
{ "policy": { "filename": "<string>", "src": "<string>" } }
Gets the currently active policy in Oso Cloud. The policy is expressed as a string containing Polar code.
Requires an API key to access. Signup at https://ui.osohq.com/
Show child attributes
Was this page helpful?