AI Defense Inspection Credentials
Use AI Defense Inspection Credentials to authenticate chat and HTTP inspection requests. The key belongs to a specific AI Defense application connection and cannot be used for Management API operations.
Prerequisites
- Create the key in AI Defense:
-
Select Applications.
-
Add or open an application configured for API runtime protection.
-
Create or edit the application's API connection.
-
Enter a name for the API key and choose an expiration date, or select Never Expire.
-
Generate and copy the key. The key cannot be viewed again after the page is closed.
-
If the connection uses an AI Defense policy, associate the policy with the connection.
Creating an AI Defense Inspection Credentials
-
In Workflows, go to Automation > Account Keys.
-
Select New Account Key.
-
Select AI Defense Inspection Credentials.
-
Enter a display name and description.
-
Paste only the generated key into Inspection API Key. Do not include a header name or prefix.
-
Select Save.
Workflows sends the key in the X-Cisco-AI-Defense-API-Key header. Treat it as a secret and do not store it in an ordinary workflow variable.
If the key expires, is revoked, or is regenerated, replace the key in the saved Workflows account key. A revoked or regenerated key becomes inactive immediately.

