Skip to content

Get Learning engagement results

GET/v1/organization/{orgId}/learning/workspace/engagement/results

US Region: https://public-api.sessionboard.com · EU Region: https://public-api-eu.sessionboard.com

Learning engagement over time: how many learners are in each band now and 30 days ago, how many moved up a band and which learning activities moved them (points added), and 30-day outcomes (courses completed, people certified, people who claimed credit and credit claimed). Reads only. Requires read:learning; refused for a key restricted to particular events. Also at GET /v1/learning/workspace/engagement/results.

Request example

Terminal window
curl --request GET \
--url 'https://public-api.sessionboard.com/v1/organization/{orgId}/learning/workspace/engagement/results' \
--header 'x-access-token: <api-token>'

Try it

Authorization

Your token stays in this page. It is sent only to the region above and is never saved; it is gone when you leave or reload the page.

Path parameters
GET

Authorizations

  • x-access-tokenstringheader

    Organization API token. Generate from Organization Settings → API Tokens.

  • AuthorizationBearer <token>headeror

    OAuth 2.1 access token. Obtained via the OAuth PKCE flow at /oauth/token.

Send one of these. See Authentication.

Path parameters

  • orgIdstringpathrequired

    Your organization ID. Any other organization returns 404.

Responses

200application/json

OK

  • successboolean
  • payloadLearningEngagementResults
    Show child attributes
    • linesLearningEngagementLines

      The scores where the bands start (default 50 and 80).

      Show child attributes
      • engagednumber
      • highlynumber
    • totalinteger

      People with a learning signal.

    • bandsobject[]
      Show child attributes
      • bandstring

        warming (Warming up), engaged (Engaged), highly (Highly engaged).

        Allowed values
        "warming", "engaged", "highly"
      • labelstring
      • nowinteger
      • thirty_days_agointeger
    • moved_upinteger

      People who moved up a band in 30 days.

    • what_moved_themobject[]
      Show child attributes
      • keystring
      • labelstring
      • pointsinteger
    • outcomes_30dobject
      Show child attributes
      • courses_completedinteger
      • certifiedinteger
      • claimed_peopleinteger
      • creditnumber
    • notestring

401

Missing, invalid or expired token.

403application/json

  • SCOPE_REQUIRED — the token lacks read:learning (reads) or write:learning (writes). Legacy tokens with no scopes cannot write.
  • ORG_WIDE_TOKEN_REQUIRED — the token is restricted to particular events: "The Learning workspace covers every event and learner in the organization, so this API key (restricted to particular events) cannot use it. Use a key without an event restriction."
  • FEATURE_NOT_ENABLED (feature: lessons_credits) — Learning is not on for the organization.
  • FORBIDDEN — the token's user is not an active member of the organization, or lacks the Lessons permission the operation needs.

Gateway errors carry error (a code) and message. Errors from Learning itself carry status, success: false, message, name, and sometimes code (and feature or paused_at).

  • errorstring | object

    The gateway's error code (SCOPE_REQUIRED, ORG_WIDE_TOKEN_REQUIRED, NOT_FOUND, …).

  • messagestring
  • statusinteger
  • successboolean
  • namestring
  • codestring

    FEATURE_NOT_ENABLED, AGENT_WRITES_PAUSED, …

  • featurestring
  • paused_atstring<date-time>

404application/json

orgId is not your organization (error: NOT_FOUND, message: Organization not found).

Gateway errors carry error (a code) and message. Errors from Learning itself carry status, success: false, message, name, and sometimes code (and feature or paused_at).

  • errorstring | object

    The gateway's error code (SCOPE_REQUIRED, ORG_WIDE_TOKEN_REQUIRED, NOT_FOUND, …).

  • messagestring
  • statusinteger
  • successboolean
  • namestring
  • codestring

    FEATURE_NOT_ENABLED, AGENT_WRITES_PAUSED, …

  • featurestring
  • paused_atstring<date-time>

429application/json

  • The token's request limit (100 requests per 15 minutes per bucket by default — see Rate Limiting). Wait Retry-After seconds.
  • QUOTA_EXCEEDED (writes) — the token's daily write quota (10,000 a day). Resets at midnight UTC.

Gateway errors carry error (a code) and message. Errors from Learning itself carry status, success: false, message, name, and sometimes code (and feature or paused_at).

  • errorstring | object

    The gateway's error code (SCOPE_REQUIRED, ORG_WIDE_TOKEN_REQUIRED, NOT_FOUND, …).

  • messagestring
  • statusinteger
  • successboolean
  • namestring
  • codestring

    FEATURE_NOT_ENABLED, AGENT_WRITES_PAUSED, …

  • featurestring
  • paused_atstring<date-time>
  • Retry-Afterintegerheader

    Seconds to wait before retrying.

Response examples

{
"success": true,
"payload": {
"lines": {
"engaged": 123.45,
"highly": 123.45
},
"total": 123,
"bands": [
{
"band": "warming",
"label": "<string>",
"now": 123,
"thirty_days_ago": 123
}
],
"moved_up": 123,
"what_moved_them": [
{
"key": "<string>",
"label": "<string>",
"points": 123
}
],
"outcomes_30d": {
"courses_completed": 123,
"certified": 123,
"claimed_people": 123,
"credit": 123.45
},
"note": "<string>"
}
}