Every service, API endpoint, and database automatically documented. Generated from your TypeScript or Go types, always current.
Encore extracts types directly from your code. Request and response schemas, endpoint descriptions, and service dependencies are always accurate.

Request/response types, nested objects, enums, and unions extracted directly from your source code. Full type information without manual annotation.
Test endpoints from the browser with auto-generated forms based on your types. Works locally and in cloud environments.
Documentation updates when code changes. Change an API parameter, the docs update automatically. No manual sync required.
Define your API with TypeScript interfaces. Encore extracts type information, validates requests at runtime, and generates documentation including nested types, unions, and optionals.
Includes authentication requirements, path parameters, query strings, headers, and response types. All extracted automatically from your code.
interface CreateUserRequest {
email: string;
name: string;
role: "admin" | "member";
}
interface User {
id: string;
email: string;
name: string;
createdAt: string;
}
export const createUser = api(
{ method: "POST", path: "/users", auth: true },
async (req: CreateUserRequest): Promise<User> => {
// ...
}
);The service catalog gives you a complete map of your APIs and services, from high-level architecture down to individual field types.
All your services listed with their endpoints and dependencies
Every endpoint with method, path, request/response types, and auth requirements
Full type information extracted from TypeScript or Go, including nested objects
Which services call which, visualized in the architecture diagram
See which endpoints require authentication at a glance
Test any endpoint directly from the catalog with type-aware forms

The service catalog includes an API explorer that lets you call any endpoint directly from the browser. Request parameters are pre-filled based on your type definitions, and responses are formatted for readability.
Encore generates architecture diagrams showing how your services connect, which databases they use, and how messages flow through pub/sub topics. The diagrams update automatically as your code changes.
Learn more →