Skip to main content

Choose an interface

Choose an interface for the data and lifecycle you need: defining a Table, reading a Document, computing a result or observing change. The data model connects representations, computation lifetimes and policies. Each interface exposes selected operations through the owning data or execution service; a transport never grants authority.

Your taskEntry pointSupported boundary
Define, query and evolve TablesQuickstart, Table catalogShared SQL/typed lifecycle, current object rights and atomic statement publication
Use KV or collaborative DocumentsResource client, Document servicesExplicit encoding or accepted structured revisions; SQL declarations do not provision these objects
Run interactive SQLConsole, SQL referenceIndependent server-managed local/remote sessions; finite reads, Table mutations and scoped administration
Build a SQL session clientSQL HTTP/TLS APILogical sessions, typed results and token-based recovery of accepted operations
Use a PostgreSQL or MySQL clientDatabase protocolsExplicit listeners and authentication, autocommit Table reads/writes and six scalar types; optional local TLS
Inspect the systemBoard OpenAPIPrivate viewers share a scoped read identity; optional query/operator identities are separate
Expose application commands and readsServing OpenAPISigned native commands and scoped reads through a published service
Follow changesReactive API / AsyncAPIInt64 Table sessions and resumable notifications, fetch-SSE or WebSocket
Connect an Arrow analytical clientFlight SQL / ADBCFinite Table v1, selected int64 types and independently tested clients
Capture or maintain a relational resultTyped Zig query ownersFrozen definitions, explicit activation and recorded source vectors; maintained wakeups are host-managed
Call an external HTTP or RPC serviceConnectors, gRPCRecorded effect intent, capture, retry policy and unknown outcomes
Start a server or install an appTransit CLITrusted local Linux supervisor; automatic first startup and exact recovery
Implement a worker or durable callerZig client and language SDKsShared protocol/Station semantics with target-language types and ownership
Integrate a native protocol clientSigned HTTP protocolVersioned JSON envelopes, canonical signing, current grants and exact retry

Version and capability rules​

The versioning policy requires one current v1 definition per Transit-owned protocol before 1.0 and hard cutovers between incompatible definitions. The interfaces below use the current v1 definitions.

A CLI version, native protocol version, query profile and application revision are different identifiers. Use the profile in your actual configuration and the server's authorized capability read. No interface silently converts old durable history into a new profile.

  • Query v1 declares KV, Table or accepted Document sources and preserves five cell states in nested Arrow output.
  • Flight SQL uses the same query path for its configured int64 Table subset, converting verified results to primitive Arrow columns.
  • OpenAPI describes Board and the serving HTTP adapter. It does not replace the native signing specification or turn every kernel operation into a REST route.
  • AsyncAPI describes the reactive WebSocket binding. Fetch-SSE is documented by OpenAPI; both use the same durable session/subscription semantics.
  • SQL reference grammar contains additional administrative declarations. Parser acceptance does not make them executable commands.

See architecture and scope for component responsibilities and deployment for supported environments. The interface and architecture map connects each surface to its contract, usage reference and internals.