Aggregated proxy decisions for compliance review
const url = 'https://your-org.evershell.ai/v1/agent-roles/example/access-review?decision=allow&policy_type=http';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://your-org.evershell.ai/v1/agent-roles/example/access-review?decision=allow&policy_type=http' \ --header 'Authorization: Bearer <token>'Permissions: any signed-in caller.
Pivots the audit log into a “what destinations did this role
actually hit, and how often” summary. Groups all
policy_decision events for the role by (destination, method,
path, decision) and surfaces frequency + recency. Use the
decision query param to focus on denies or allows; from /
to to bound the time window.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Query Parameters
Section titled “Query Parameters ”Responses
Section titled “ Responses ”OK
object
Aggregated proxy-decision row produced by
GET /agent-roles/{id}/access-review. Groups every
policy_decision audit event for a role by (destination,
method, path, decision) and surfaces frequency + recency.
object
Example
{ "entries": [ { "decision": "allow" } ]}Resource not found in the caller’s org
object
object
Closed-enum slug (e.g. permission_denied, validation_error, workspace_not_found)
Human-readable summary
Server-generated request id for correlating logs
Optional structured context. Validation errors land at
details.fields as a per-field map.
object
Example
{ "error": { "code": "permission_denied", "message": "caller lacks required scope", "request_id": "7f3a9c2e" }}