Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview

Get workspace onboarding progress

Report setup milestones and the first-message activation state, plus chart-ready progress data.

GET/api/v2/analytics/onboarding
Authorization
AuthorizationBearer token (Anlyon API key) · headerrequired

Workspace API key sent as Authorization: Bearer <key>.

or
better-auth.session_tokenAPI key · cookierequired

Browser session used by dashboard-only operations.

Header parameters
X-Request-Idstring

Optional caller correlation ID. Unsafe or oversized values are replaced.

max length 128
Responses
200

Workspace onboarding status and progress projections returned.

successbooleanrequired
Allowed:true
dataOnboardingStatusrequired
Show properties
isOnboardedbooleanrequired

True after the workspace has invoked its first action, whatever the outcome.

hasApiKeybooleanrequired
hasInvocationsbooleanrequired
totalInvocationsintegerrequired

Action invocations recorded for the workspace.

min 0
stepsOnboardingStep[]required
Show properties
Array of OnboardingStep
idstringrequired
Allowed:api_keyfirst_invocation
completedbooleanrequired
labelstringrequired
completedStepsintegerrequired
min 0
totalStepsintegerrequired
min 0
completionPercentageintegerrequired
min 0 · max 100
chartsAnalyticsChartsrequired

Chart-library-ready projections of the canonical data payload.

401

Unauthorized - Invalid or missing API key

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
403

Authenticated credential lacks the required scope or workspace access.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
429

Too Many Requests - Rate limit exceeded

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.anlyon.com/api/v2/analytics/onboarding' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": {
    "isOnboarded": true,
    "hasApiKey": true,
    "hasInvocations": true,
    "totalInvocations": 0,
    "steps": [
      {
        "id": "api_key",
        "completed": true,
        "label": "string"
      }
    ],
    "completedSteps": 0,
    "totalSteps": 0,
    "completionPercentage": 0
  },
  "charts": {}
}