First run

First-session state and Day-1 checklist for the trial coach

One read for everything the Getting Started view needs. That's first-session state, the Day-1 checklist, plan and trial dates, the coach's niche for personalized copy, the demo lead's name, sticky experiment variants, and any trial extension waiting to be claimed. It also backfills experiment assignments for a coach who signed up before a test shipped.

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/first-run

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/first-run
  • 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

firstSessionState'first_visit' | 'demo_drafting' | 'demo_ready' | 'activated' | 'dismissed' | 'completed' required
planStatusstring required
planTierstring required
trialStartedAtstring nullable required
trialEndsAtstring nullable required
experimentAssignmentsobject required
nichestring required
demoLeadNamestring nullable required
unansweredBeforeTrialinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.