Skip to main content
This guide provides practical examples of common API requests. All examples use JSON format and require authentication via API key.

Reports

Examples for V1 report endpoints (/v1/reports/*): daily pre-aggregated data in EST. For hourly granularity, use the Hourly Reports (V2) tab above.
Raw Agent Analytics log endpoints are retired. For raw per-execution prompt-answer rows, use POST /v2/prompts/answers. For bot and referral traffic, use the aggregated /v2/reports/bots and /v2/reports/referrals endpoints.
  • Capacity: Full date ranges in one request using aggregated report endpoints.
  • Granularity: Data is bucketed by day. Timestamps are normalized to the start of each day in EST.

Bot Reports

Get a count of visits by bot type:Dashboard Metrics

Referral Reports

Get a count of referrals broken down by platform:
Note:other represents referrals from Traditional Sources, e.g. LinkedIn, Facebook, etc.internal represents referrals from within your website, e.g. a blog post linking to another blog post.
Referrals By Platform

Raw Data

The raw Agent Analytics endpoints POST /v1/logs/raw and POST /v1/logs/raw/bots were retired on 2026-06-10. Use the V2 bot and referral report examples for aggregated traffic data, or V2 prompt answers for raw per-execution rows.