Skip to main content
Timeback provides API clients for direct access to the supported services below in TypeScript and Python. Use these when you need fine-grained control over API interactions or want to build custom integrations.

Available Clients

Installation

Install individual clients as needed:
Or install the composed client (MasteryTrack remains separate; TypeScript also includes Reporting, which is not in the reviewed Python core):

Authentication

Most clients use the OAuth2 client credentials flow. MasteryTrack uses its API key and registered email to obtain a JWT from its authorizer. The examples below show environment and explicit URL configuration. Some clients also accept an auth provider or transport; see their specific types. Connect to Timeback platforms with automatic URL resolution:

Explicit Mode

Connect to custom OneRoster APIs:
Tokens are automatically managed:
  • Fetched on first request
  • Cached for subsequent requests
  • OAuth tokens are refreshed as needed according to the provider’s expiry cache. MasteryTrack uses a separate fixed-duration token cache.

SDK Integration

With a fully configured SDK server, direct clients are available through timeback.api. The browser client does not expose server API credentials or the same direct API namespace.
Inside your server code
Inside your server code
See server setup or FastAPI for complete configuration and Caliper for event payloads.

Common Patterns

Many resource clients provide these operations. This notation is a guide to common patterns, not a guarantee that every service exposes every method:
Return values for update() and upsert() are client-specific:
  • Read the resource-specific signature; return shapes vary by operation
  • Some APIs return no body on write, so the SDK returns void
  • In OneRoster specifically: rostering/resources return void, while gradebook/assessment return the updated entity

Environment Configuration

Configure clients via environment variables (when using environment mode, URLs are auto-resolved):
.env

Client Guides

OneRoster

Rostering, enrollments, and gradebook

EduBridge

Analytics and resource management

Caliper

Learning analytics events

QTI

Assessments and questions

PowerPath

Adaptive learning paths

CASE

Competencies and standards

CLR

Comprehensive Learner Records

MasteryTrack

Test inventory and assignments

Webhooks

Webhook management and filters