Skip to main content
This is the internal / platform endpoint used by the ARGUS platform’s tracing and guardrail system. It analyzes a user-supplied prompt against the policies configured for the asset and returns a verdict.
Prefer the SDK endpoint POST /sdk/v1/analyze/prompt for direct integrations. The /scan endpoints are used by the platform tracing layer and, unlike the SDK endpoint, do not accept an inline policies array — only the asset’s configured policies are applied.

Authentication

X-API-Key
string
required
Your ARGUS API key.

Request body

asset_id
string
required
Identifier of the asset whose configured policies should be applied.
scan_data
object
required
Container for the content to analyze.
session_id
string
Optional session identifier used to group related interactions.
user_id
string
Optional end-user identifier.
metadata
object
Optional free-form metadata attached to the scan record.
save
boolean
default:"true"
Whether to persist this scan. Defaults to true when omitted.

Example request

Response

request_id
string
required
Internal scan event identifier for this request.
verdict
string
required
The definitive outcome of the scan. One of passed, flagged, or blocked.
policies_violated
array
Policies that found a violation. Empty when the verdict is passed.

Example response — 200 OK

Errors