DOCUMENTATION

API REFERENCE

Type-safe tRPC and public REST API with OpenAPI docs.

TRPC

Internal API calls are fully type-safe end-to-end with no code generation.

const { data } = api.workflows.list.useQuery({ teamId })
const createMutation = api.workflows.create.useMutation()

PUBLIC REST API

Hono provides type-safe REST with auto-generated OpenAPI spec at /api/docs.