Every public symbol, grouped by entry point. For narrative usage, follow the per-feature guides linked from the docs index.
createClient(config: GlobalConfig): ApiClient— dynamic/untyped clientcreateTypedClient<OperationsMap>()(config, generatedModules): TypedApiClient— fully-typed, curried;config.modulesis the source of truth and overrides generated methods per-methodcreateModuleDefiner<Ops, typeof generatedModules>()→defineModule('store', {...})with method-name + input autocompletebuildModulesFromDescriptors(descriptors)— build runtime modules from a generated descriptor mapdefineModule({ config?, methods, extends? }): ModuleDefinition
api.[module].[method](...args)— your declared methodsapi.cache.get(key)/.clear()/.invalidate(pattern?)api.config.get()/.update(partial)api.setEnvironment(name)api.getSchema()api.on(event, handler)/api.off(event, handler)
ApiError, NetworkError, TimeoutError, AuthError, SchemaError,
SchemaParseError, ConfigurationError, classifyError, extractServerError.
See responses & errors.
createFetchAdapter(), createAxiosAdapter(instance?), detectEnvironment(),
type HttpAdapter.
createAuthManager(deps), and config types
BearerAuthConfig / CookieAuthConfig / ApiKeyAuthConfig / OAuth2AuthConfig.
See authentication.
runWithTenant(id, fn), getTenantFromContext(), hasTenantContext(),
resolveTenantId(input), readServerHeader(name), readServerCookie(name),
serverTenantResolver(headerName?), serverTokenFromCookie(cookieName?).
See multi-tenancy.
createSchemaCache(), createSchemaLoader(deps), diffSchemas(a, b),
hashSchema(ast), hasDrift(diff), handleDrift(diff, policy),
validateValue(value, type, ast),
validateResponseBody(ast, path, method, status, body).
See schema validation.
parseSse, parseNdjson, types StreamOptions, StreamRunner, SseEvent.
See streaming.
createDeduplicator(), computeDedupeKey(input), createCache(config),
computeCacheKey(input), isFresh(entry, now), createQueue(config),
createCancellationManager(config), isAbortError(err), linkSignals(...signals),
withRetry(fn, opts, deps?), computeBackoff(...), parseRetryAfter(headers).
createRpcHandler(api, options): RpcHandler— options:expose(required, deny-by-default, typed allowlist),authorize?,onRequest?,onError?,transformResult?,maxInputDepth?,maxInputKeys?,maxTimeout?,maxBatchSize?,dev?createNextRpcAction(handler): NextRpcAction— wrap as a Next.js Server ActioncreateRpcRouteHandler(handler, { csrf?, allowedOrigins?, maxBodyBytes? }): (Request) => Promise<Response>createStartRpcRoute(handler)/createRemixRpcAction(handler)— TanStack Start / Remix gluecreateRateLimiter({ windowMs, max, keyFor?, trustProxy?, store? })— see RPC rate limitingRpcSecurityError, typesRpcHandlerOptions,ExposeMap,RpcRequestContext,RpcCall,RpcResponse,RpcErrorShape
createRpcClient<Api>(transport, { batch?, maxBatchSize? }): RpcClient<Api>— dependency-free proxy;Apiis a type-only importserverActionTransport(action),httpTransport({ endpoint, fetch?, headers? })ApiError(forinstanceofafter rehydration),isRpcErrorShape,isRpcResponse, typesTransport,RpcPerCall,RpcClient
createMemoryPersistentStore(), createIndexedDbStore(options?),
createRedisStore(client, options?), createLayeredCacheStore(...),
isCacheEntry, type PersistentCacheStore.
See cache persistence.
generate(options), validate(input), diff(input, output),
defineCodegenConfig(config), loadCodegenConfig(), watchAndGenerate(...),
withApiClientCodegen(nextConfig, options), parseOpenApi(doc),
emitTypes(ast, opts?), emitModules(ast, opts?), emitRpcModules(ast, opts?),
emitReactQueryHooks(ast, opts?).
See codegen.
createMockClient(options), createMockAdapter().
See testing.
createQueryIntegration(client, { modules, getNextPageParam?, pageParamName? }),
moduleKey(module), methodKey(module, method, params?).
See TanStack Query.
apiClientCodegen(options?) — Vite plugin (also covers TanStack Start).
See codegen.