Skip to main content
POST
Run Security Audit From Trace

Authorizations

Authorization
string
header
required

Valiqor API key. Pass as Bearer token: Authorization: Bearer vq-xxxxxxxxxxxxxxxxxxxx

Body

application/json

Request to run security audit from a trace

project_name
string
required

Project name (will be created if doesn't exist)

trace
Trace · object
required

Trace data containing messages/spans

batch_name
string | null

Optional batch name

categories
string[] | null

Categories to check (e.g., ['S1', 'S2'])

config
Config · object | null

Optional configuration

openai_api_key
string | null

Optional OpenAI key override

Response

Successful Response