---
search:
  tags:
    - Operations
    - GET
seo:
  description: >-
    Owner-only OpenAPI 3.1 document with one method-specific path entry per
    route.… Reference for the GET /app/{id}/openapi.json endpoint in the
    Charming API API.
sidebar:
  badge: GET
  label: Per-app OpenAPI document derived from `export const routes`
title: Per-app OpenAPI document derived from `export const routes`
type: openapi-operation
---
Owner-only OpenAPI 3.1 document with one method-specific path entry per route. requestBody schema comes from route.inputSchema; the 200 response schema wraps route.outputSchema as `{ ok: true, value }`. Apps that do not declare `routes` get an empty `paths: {}` document.

<Operation source="reference" id="get-app-openapi" />

Found a bug or need a feature? [Tell us](/docs/capabilities/feedback) with `submit_feedback` or `POST /app/{id}/feedback`. Your feedback shapes what we build next.
