Run security audit on a dataset
Evaluates each item in the dataset for safety violations (S1-S23). Creates a batch with all items and returns aggregate statistics.
Request Body:
{
"project_id": "uuid",
"dataset": [
{
"input": "User prompt",
"output": "Model response"
}
],
"batch_name": "Optional batch name",
"config": {
"check_categories": ["S1", "S2", "S3"]
}
}
Valiqor API key. Pass as Bearer token: Authorization: Bearer vq-xxxxxxxxxxxxxxxxxxxx
Request to run security audit
Successful Response