Stream logs from Fastly CDN
Step 1: Create an API Key
Create an API key in Promptwatch. Go to Settings → API Keys in your Promptwatch dashboard.Step 2: Create HTTPS Logging Endpoint
Create an HTTPS logging endpoint following these instructions. Use these settings: URL:- Content Type:
application/json - Custom header name:
X-API-Key - Custom header value:
YOUR_API_KEY - Method: POST
- JSON log entry format: Array of JSON
Step 3: Finish
Create and activate your configuration to start sending logs to Promptwatch. Logs should be visible in a few minutes.For a full list of API response codes, see API Response Codes.