openapi: 3.0.3 info: title: Framework Apps Encore API version: '1.57' description: 'Conceptual OpenAPI describing the runtime HTTP surface that the Encore framework (Encore.ts and Encore.go) exposes for every Encore application. This is not a single hosted API — it is the per-application surface generated by the framework when an api() / //encore:api declaration is parsed. Real endpoints, paths, and schemas are app-specific. ' contact: name: Encore url: https://encore.dev license: name: MPL-2.0 url: https://github.com/encoredev/encore/blob/main/LICENSE servers: - url: http://localhost:4000 description: Local Encore dev server (encore run) - url: https://staging-{app-id}.encr.app description: Encore Cloud staging environment variables: app-id: default: example - url: https://{app-id}.encr.app description: Encore Cloud production environment variables: app-id: default: example tags: - name: Encore paths: /__encore/healthz: get: operationId: healthCheck summary: Health Check description: Built-in liveness endpoint exposed by every Encore application for platform-level health probing. responses: '200': description: Application is healthy. content: application/json: schema: $ref: '#/components/schemas/Health' tags: - Encore /__encore/meta: get: operationId: getAppMetadata summary: Get Application Metadata description: Returns metadata describing the running Encore application — services, endpoints, databases, Pub/Sub topics, and cron jobs — as derived from the parsed source. responses: '200': description: Application metadata. content: application/json: schema: $ref: '#/components/schemas/AppMetadata' tags: - Encore components: schemas: Endpoint: type: object properties: name: type: string method: type: string description: HTTP method declared in the api() options. example: GET path: type: string example: /hello/:name expose: type: boolean description: Whether the endpoint is reachable from outside the Encore application. auth: type: boolean description: Whether Encore requires a valid auth context before invoking the endpoint. sensitive: type: boolean description: Whether Encore should redact request and response payloads in traces. raw: type: boolean description: Whether this is a raw HTTP endpoint declared via api.raw(). AppMetadata: type: object properties: app_id: type: string description: Encore application identifier. services: type: array items: $ref: '#/components/schemas/Service' Health: type: object required: - code - message properties: code: type: string example: ok message: type: string example: Healthy Service: type: object properties: name: type: string endpoints: type: array items: $ref: '#/components/schemas/Endpoint'