Skip to main content
The current TIBS API section now distinguishes between:
  1. live app interfaces already implemented in the repos
  2. a future public API contract draft in openapi.json

What this section covers

This section is organized around the real code already present in the confirmed repos:
  • tibs live route handlers under apps/web/app/api
  • tibs-survey restricted route handlers under app/api
  • tibs-learning-center auth callback routes plus browser-side Supabase RPC usage
  • a future external API draft kept in api-reference/openapi.json

Current source of truth

Use these pages together: The current source repos behind those surfaces are:
  • tibs for the main transport safety platform and Supabase schema
  • tibs-survey for surveyor operations and project workflows
  • tibs-learning-center for course progress and learning flows

Future contract

The draft OpenAPI file is still useful, but it should be treated as a future public contract, not as a description of the live route handlers. Use Future public API draft when you want the proposed external contract shape rather than the current repo implementation.

Live interfaces

Start here for the route handlers and Supabase-backed interfaces that exist today.

Future public API draft

Use this when you need the proposed external contract rather than the live app routes.