Skip to main content
C

Manually setup the integration

Step 1: Create an API Key

Create an API key in Promptwatch. Go to Settings → API Keys in your Promptwatch dashboard.

Step 2: Send HTTP Request Logs

Send your HTTP request logs to https://logs.promptwatch.com/event in the following format: Request:
You can batch multiple events together in a single request by sending a JSON array. The maximum request size is 50MB. All properties need to be present for each event. query_string and referrer can be null. timestamp should be an ISO 8601 string. Example body:

Optional: Filter on known AI Crawler user agents

Promptwatch identifies AI crawlers automatically and only stores AI crawler visits, all other traffic is discarded. You can safely send all your server logs without worrying about non-crawler data being retained. If you prefer to only forward AI crawler traffic, you can use the user agents listed below to pre-filter on your side. Keep in mind that you’ll need to maintain this list yourself as new crawlers emerge.

Step 3: Finish

Once implemented on your end, view your crawler logs in the Promptwatch dashboard.
For a full list of API response codes, see API Response Codes.