AIDR API Reference
Base URL
https://api.crowdstrike.com/aidr/aiguardcurl -sSLX POST 'https://api.crowdstrike.com/aidr/aiguard/v1/guard_chat_completions' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'This endpoint cannot be called through the documentation site
Guard LLM Chat Completions
Analyze and redact content to avoid manipulation of the model, addition of malicious content, and other undesirable data transfers.
curl -sSLX POST 'https://api.crowdstrike.com/aidr/aiguard/v1/unredact' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'This endpoint cannot be called through the documentation site
Unredact text or structured JSON
Decrypt or unredact fpe redactions
Status Codes
| Status | Status Code | Description |
|---|---|---|
| InactiveDevice | 200 | Device is not active. |
| TokenDeletionFailed | 200 | Failed to delete device attached token. |
| AIDRDisputeExists | 400 | Disputed issue already exists. |
| AIDRFieldAliasExists | 400 | Field alias already exists. |
| AIDRListExists | 400 | List already exists. |
| AIDRPolicyExists | 400 | Policy already exists. |
| BadLSSearch | 400 | The search query is invalid. |
| CSPLogTooLarge | 400 | CSP log is too large. |
| ConfigurationSettingsExists | 400 | Configuration settings already exists. |
| DeviceExists | 400 | Device already exists. |
| InvalidAIDRDisputeState | 400 | Invalid disputed issue state transition. |
| InvalidAIDRFieldAlias | 400 | Field alias does not exist. |
| InvalidAIDRListContent | 400 | Unsupported List content. |
| InvalidAIDRListType | 400 | Unsupported List type. |
| InvalidAIDRPolicy | 400 | Unsupported Policy content. |
| InvalidCollectorType | 400 | The operation is not available for this collector type |
| InvalidConfigurationSettings | 400 | Invalid configuration settings. |
| InvalidDevice | 400 | Device does not exist. |
| InvalidDeviceId | 400 | The operation is made with invalid device id |
| InvalidSavedFilter | 400 | Saved filter does not exist. |
| InvalidSearchId | 400 | The search id is invalid because it has either already been completed and the results have been retrieved, or the search request does not exist. |
| MissingAIDRDispute | 400 | Disputed issue does not exist. |
| MissingAIDRList | 400 | List does not exist. |
| MissingAIDRPolicy | 400 | Policy does not exist. |
| MissingConfigurationSettings | 400 | Configuration settings does not exist. |
| SavedFilterExists | 400 | Saved filter already exists. |
| UnsupportedAIDRPolicyVersion | 400 | Unsupported Policy version. |
| InvalidCID | 403 | CID is either invalid or missing. |
| UnAuthorizedLSSearch | 403 | User or Service Account are not authorized. |
| InvalidLSServiceAccount | 500 | Invalid service account user. |