Skip to main content
Fastly

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:
Logging format:
Advanced settings:
  • 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
The rest of the settings should keep their default values.

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.