v1
latestOpenAPI 3.1.02026-07-263370112.1 KBai-referrals
Push AI Referrals Events
Push a batch of pre-aggregated daily AI-referral events for a registered connection.
Accepts application/json (a JSON array of events) or application/x-ndjson (one event per line). The upsert key is (date, raw_referrer_value, raw_page_value) — re-sending the same tuple replaces the prior values, so backfills and corrections are safe to retry.
Limits:
- Maximum 10,000 events per batch.
- Maximum 5 MB request body.
post/{brand_id}/ai-referrals/connections/{connection_id}/events
Path parameters
brand_idinteger required
The unique identifier for the brand.
connection_idstring required
The ULID of the AI Referrals connection.
Request body
Example request
[
{
"date": "2026-05-20",
"raw_referrer_value": "chatgpt.com",
"raw_page_value": "/blog/launch-notes"
}
]Response
Batch accepted.