AI Defense Inspection Credentials
AI Defense Inspection Credentials authenticate chat and HTTP inspection requests from Workflows. Each Inspection API key belongs to a specific AI Defense application connection and cannot authenticate Management API requests.
Use these account keys with AI Defense Inspection Endpoint targets.
Account key setup
Prerequisites
Have access to an AI Defense application configured for API-based runtime protection and permission to create or update its API connection.
Generating an API key
Create the key in AI Defense:
- Select Applications and open an API application. If needed, select Add Application, enter a name, choose API, and select Continue.
- Open the application's API Connections page and select Add Connection.
- Enter a connection name and select Add connection.
- On the Add API key page, enter a key name and choose an expiration date, or select Never Expire.
- Select Generate API Key and copy the key to a secure location. It cannot be viewed again after the page is closed.
- If inspection uses a stored policy, associate that policy with the connection. Otherwise, specify the inspection rules in each API request.
For more information, see the official AI Defense Inspection API authentication instructions.
Creating an account key
Complete the following steps to create an AI Defense Inspection account key:
- From the left navigation menu, select Automation > Targets.
- From the Account Keys tab, select New account key.
- On the New Account Key page, select AI Defense Inspection Credentials from the Account Key Type list.
- Enter a display name in Display Name and a brief description in Description.
- In the Credentials area, enter the following information:
- Inspection API Key: Paste only the API key generated for the application connection. Do not include a header name or prefix.
- Select Save.
Select this account key when creating an AI Defense Inspection Endpoint target. If the API key expires, is revoked, or is regenerated, update the saved account key with the replacement value.

