Put audits context
Replace an audit’s extra context. This is a full replacement, not a merge: the brief and the reference URL list are both set to exactly what you send, so send an empty value to clear one. Context is edited here rather than through the audit itself, so an ordinary unrelated edit to the audit can never overwrite it.
Authorizations
A scoped AgentEye API key. Mint one in the dashboard under Settings → API keys, or with POST /v1/keys. Each endpoint names the permission it requires; a key without it gets 403 and a required_permission field naming what was missing.
Path Parameters
The audit's id.
Body
The audit's written brief. Replaced wholesale — send an empty string to clear it. Limited to 8192 characters.
Reference URLs this audit draws on. Replaced wholesale — send an empty array to remove every source and the text stored for it. The order you send is the order they are used. At most 5.
Response
Context replaced. Returns the stored brief and sources.

