Skip to main content
Scans an LLM-generated response against the policies configured for the asset (or against policies supplied inline in the request) and returns a verdict. Rate limit: 500 requests per 60 seconds per API key.

Authentication

string
required
Your ARGUS API key.

Request body

The body is identical to Analyze Prompt, except that scan_data carries a response field instead of a prompt field.
string
required
Identifier of the asset whose configured policies should be applied.
object
required
Container for the content to analyze.
array
Optional inline policies to apply in addition to (or instead of) the asset’s configured policies. Each item is a policy object. See Enumerations for the canonical PolicyName and Action values.
string
Optional session identifier used to group related interactions.
string
Optional end-user identifier.
object
Optional free-form metadata attached to the scan record.
boolean
default:"true"
Whether to persist this scan. Defaults to true when omitted.

Example request

Response

string
required
Unique identifier (UUID v4) for this scan request.
string
required
The definitive outcome of the scan. One of passed, flagged, or blocked.
array
Policies that found a violation. Empty when the verdict is passed.

Example response — 200 OK

Errors