API referenceAudit product

POST /audit/agents/{id}/policy/check

POST
/audit/agents/{id}/policy/check

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/audit/agents/string/policy/check" \  -H "Content-Type: application/json" \  -d '{    "subjectRef": "string"  }'
{  "$schema": "https://example.com/schemas/PolicyOutputBody.json",  "agentId": "string",  "grants": [    {      "agentId": "string",      "enforcement": "string",      "mode": "string",      "rule": "string",      "system": "string",      "tool": "string"    }  ],  "mode": "string",  "optOut": true,  "suspended": true,  "version": 0}