Retrieve Scan Results by ScanIDs
GET/v1/scan/results
Get the Scan results for upto a maximum of 5 Scan IDs
Request
Query Parameters
Scan Ids for Results
Header Parameters
API key token
Responses
- 200
- 400
- 401
- 403
- 404
- 405
- 413
- 415
- 429
- default
Successfully returned records for Scan Results
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Unique identifier of an individual element sent in the batch scan request
Scan request processing state such as "complete" or "pending"
Unique identifier for the scan
result object
Unique identifier for the scan report
Unique identifier for the scan
Unique identifier for the transaction
Unique identifier of the AI security profile used for scanning
AI security profile name used for scanning
Category of the scanned content verdicts such as "malicious" or "benign"
The action is set to "block" or "allow" based on AI security profile used for scanning
prompt_detected object
Indicates whether prompt contains any malicious URLs
Indicates whether prompt contains any sensitive information
Indicates whether prompt contains any injection threats
response_detected object
Indicates whether response contains any malicious URLs
Indicates whether response contains any sensitive information
Scan request timestamp
Scan completion timestamp
[
{
"req_id": 0,
"status": "complete",
"scan_id": "020e7c31-0000-4e0d-a2a6-215a0d5c56d9",
"result": {
"report_id": "R82f1e879-0000-49af-9345-da907431c08f",
"scan_id": "82f1e879-0000-49af-9345-da907431c08f",
"tr_id": 1234,
"profile_id": "12345678-0000-1234-1234-123456789012",
"profile_name": "ai-dummy-profile",
"category": "malicious",
"action": "block",
"prompt_detected": {
"url_cats": true,
"dlp": true,
"injection": true
},
"response_detected": {
"url_cats": true,
"dlp": true
},
"created_at": "2024-07-29T15:51:28.071Z",
"completed_at": "2024-07-29T15:51:28.071Z"
}
}
]
Bad Request - Request data is invalid or malformed
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"message": "Request data is invalid or malformed"
}
}
Unauthenticated - Not Authenticated
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"message": "Not Authenticated"
}
}
Forbidden - Invalid API Key
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"message": "Invalid API Key"
}
}
Not Found - Resource is not found
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"message": "Resource is not found"
}
}
Method Not Allowed - The method is not allowed
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"message": "The method is not allowed"
}
}
Request Too Large - The request body is too large
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"message": "The request body is too large"
}
}
Unsupported Media Type - The media type is not supported
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"message": "The media type is not supported"
}
}
Too Many Requests - Request exceeds limit
- application/json
- Schema
- Example (from schema)
Schema
error object
retry_after object
{
"error": {
"message": "Request exceeds limit",
"retry_after": {
"interval": 5,
"unit": "minute"
}
}
}
error occurred
- application/json
- Schema
- Example (from schema)
Schema
The HTTP status code for the error
The error message
{
"status_code": 0,
"message": "string"
}