Get API key audit trail
key_get_auditRetrieve the last 100 audit events for an API key to investigate suspicious activity or verify rotation history. Requires api_keys:read scope.
Instructions
Get the most recent 100 audit events (create/rotate/revoke/auth activity) for one API key. Use when investigating suspicious key usage or verifying rotation history. Requires the api_keys:read scope.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customer_id": "<customer_id>",
"key_id": "<key_id>"
},
"name": "key_get_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_id | Yes | API key UUID | |
| customer_id | Yes | Your customer UUID (shown in the WARP portal under Settings) |