API Documentation
WorkOrder Systems OSS aims to be the Linux of maintenance software: a production-grade, self-hostable core you can deploy and extend without vendor lock-in. This site documents the Supabase-backed public API—reads through views, writes through RPCs—wrapped by @workorder-systems/sdk for tenants, work orders, assets, labor, reporting, and the rest of the domain. The project vision and adoption notes live in docs/PROJECT.md.
Getting started
- Copy your project URL and anon key from the dashboard → Project Settings → API.
- Install
@workorder-systems/sdkand@supabase/supabase-js, then callcreateDbClient(url, anonKey). - Sign users in with Supabase Auth. For tenant-scoped data, set tenant context and refresh the session so the JWT includes
tenant_id.
Guides
Capability inventory
Vendors as contractors, warranties, docs metadata, tools, handover — what exists vs gaps.
How to build a plugin
Checklist: catalog, Vault, install, webhooks, subscriptions, and local verification.
Building plugins
Architecture and deep reference for plugins, HMAC, and the public API surface.