Analytics
Read the coach's AI-attributed revenue and plan ROI for a period
Revenue attributed to Luca over a period, sat next to what the plan costs, as a return figure.
API key scopes: analytics:read.
get/api/analytics/revenue
Request
- Base URL: https://api.setluca.com
- URL: https://api.setluca.com/api/analytics/revenue
- Auth: one of:
- API key in cookie luca.session_token
- API key in header x-api-key
- HTTP bearer
Query parameters
period'this_week' | 'this_month' | 'last_week' | 'last_month' | 'last_30_days'
Reporting window the figures cover.
channel'telegram' | 'instagram' | 'messenger' | 'whatsapp'
Return only records on this messaging channel.
Headers
Luca-API-Version'1'
The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.
Response
ok
Changes
No recorded changes to this operation across all 1 revision of this API.