SpacetimeDB HTTP API
The SpacetimeDB HTTP API lets clients and tools interact with SpacetimeDB databases: publish and delete database modules, manage database names, retrieve schema and logs, invoke reducers, run SQL queries, open real-time subscription WebSockets, and create/verify Spacetime identities and JWT tokens. Authentication is a Bearer JWT (SpacetimeAuth/OIDC, or an anonymously generated identity token). Base host is the hosted SpacetimeDB Cloud (Maincloud); the same API is served by any self-hosted `spacetime start` instance.
Documentation
Documentation
https://spacetimedb.com/docs/http/database/
APIReference
https://spacetimedb.com/docs/http/database/
Authentication
https://raw.githubusercontent.com/api-evangelist/clockwork-labs/refs/heads/main/authentication/clockwork-labs-authentication.yml
Other Resources
ErrorCatalog
https://raw.githubusercontent.com/api-evangelist/clockwork-labs/refs/heads/main/errors/clockwork-labs-problem-types.yml
Conventions
https://raw.githubusercontent.com/api-evangelist/clockwork-labs/refs/heads/main/conventions/clockwork-labs-conventions.yml
Conformance
https://raw.githubusercontent.com/api-evangelist/clockwork-labs/refs/heads/main/conformance/clockwork-labs-conformance.yml
MCPServer
https://raw.githubusercontent.com/api-evangelist/clockwork-labs/refs/heads/main/mcp/clockwork-labs-mcp.yml
APIsJSON
https://raw.githubusercontent.com/api-evangelist/clockwork-labs/refs/heads/main/apis.yml