API reference
Read AI-referral visits
Visits from AI engines to the project's site, per engine per day, for the last 7, 30 or 90 days (`?days=`, default 30). Days before the first counted visit are null, not zero. Reads only what is already stored; calls no provider and spends nothing.
GET
apiKeyheader
AuthorizationBearer <token>An API key (rmk_…).
id*stringdays?integerDefault
30Value in
73090Visits per engine per day.
application/json- response
visits*curl -X GET 'https://api.recomention.com/v1/projects/string/visits'Example Response
{ "visits": { "days": 7, "from": "string", "to": "string", "status": "SNIPPET_NOT_SET_UP", "measuredFrom": "string", "engines": [ { "source": "chatgpt", "label": "string" } ], "series": [ { "day": "string", "total": 0, "bySource": { "property1": 0, "property2": 0 } } ], "totals": { "total": 0, "bySource": { "property1": 0, "property2": 0 } }, "topPaths": [ { "path": "string", "count": 0 } ] }}