Skip to main content
Every tRPC procedure is available as a plain HTTP endpoint at <app-url>/api/.

Discovery

Returns the full API manifest including OAuth configuration and all available procedures. Each procedure includes its path, description, HTTP method, input/output schemas, and required scopes:
This discovery response contains everything an AI agent needs to build a Synthetiq service for the app’s API.

Queries (GET)

Mutations (POST)

Authentication

Protected procedures require a valid access token in the Authorization: Bearer <token> header. Tokens are obtained through the app’s built-in OAuth 2.0 provider. Public procedures (publicProcedure) can be called without authentication. Responses are plain JSON without the tRPC envelope.