Skip to main content
GET
Get recent AI traffic events

Authorizations

Authorization
string
header
required

Send your API key in the Authorization header as Bearer API_KEY. Account API keys work in every workspace you belong to: send X-Notra-Organization-Id with the workspace id or slug to choose one. Workspace endpoints require it when you belong to more than one workspace; GET /v1/me/workspaces works without it. Organization keys only accept their own workspace there.

Path Parameters

projectId
string
required
Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]{1,100}$
Example:

"b1f2c3d4-0000-4000-8000-000000000000"

Query Parameters

limit
integer

Maximum rows to return. Defaults to 50.

Required range: 1 <= x <= 200
visitorTypes
string

Comma-separated. One or more of: crawler, ai_referral.

categories
string

Comma-separated. One or more of: training-crawler, search-index, assistant-browse.

host
string

Hostname to filter on. Subdomains of this host are included. Omit for every host.

Maximum string length: 128

Response

Traffic log fetched successfully

configured
boolean
required

False when the traffic backend is not configured for this deployment; the payload is then empty rather than an error.

log
object[]
required

Newest requests first, from the last 90 days.

total
integer
required

Number of entries in log, not the overall request count.

organization
object
required