Copilot
Current-period copilot usage rollup
Ask Luca consumption for the current billing period: included units used, units left in top-up packs, overage units and what they cost, and the overage cap in force. A coach who set their own cap keeps it. The tier default only fills in for someone who never did.
Session-only. This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.
get/api/copilot/usage
Request
- Base URL: https://api.setluca.com
- URL: https://api.setluca.com/api/copilot/usage
- Auth: API key in cookie luca.session_token
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.