Step 1: Create an API Key
Create an API key in Promptwatch. Go to Settings → API Keys in your Promptwatch dashboard.Step 2: Create a DataStream 2 Dataset
Create a DataStream 2 dataset in Akamai, following these instructions. Make sure to allow sending at least the following fields:- HTTP status code (statusCode)
- Request time (reqTimeSec)
- Request host (reqHost)
- Request method (reqMethod)
- Request path (reqPath)
- Response Content-Type (rspContentType)
- Query string (queryStr)
- Client IP (cliIP)
- User-Agent (UA)
- Referer (referer)
Step 3: Configure Destination
Use the following information for the Akamai DataStream 2 destination configuration: Endpoint URL:application/json
Basic Auth Username: promptwatch
Basic Auth Password: YOUR_API_KEY