Skip to main content
Timeback provides API clients for direct access to all services in both 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 all via the unified client:

Authentication

All clients use OAuth 2.0 client credentials flow. There are two configuration modes: 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
  • Refreshed when expired

SDK Integration

When using the full SDK, clients are available via timeback.api:

Common Patterns

All clients follow consistent CRUD patterns:
Return values for update() and upsert() are client-specific:
  • Most clients return the updated entity
  • 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