Percher Apps API

The Apps API from Percher — 6 operation(s) for apps.

GitHub OpenAPI

Operations 8

GET /apps List apps #
POST /apps Create app #
GET /apps/{appRef} Get app details #
DELETE /apps/{appRef} Delete app #
POST /apps/{appRef}/rename Rename app #
POST /apps/{appRef}/unsuspend Unsuspend app #
GET /apps/{appRef}/uptime Get uptime stats #
GET /apps/{appRef}/requests Get recent requests #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/percher-app:percher-app-apps-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

percher-app-apps-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Percher Apps API
  version: 1.0.0
  description: AI-native hosting platform. Deploy apps via CLI, MCP, or API — live at name.percher.run.
  contact:
    url: https://percher.app
servers:
- url: https://api.percher.run
  description: Production
- url: http://localhost:3000
  description: Local development
tags:
- name: Apps
paths:
  /apps:
    get:
      tags:
      - Apps
      summary: List apps
      security:
      - bearer: []
      parameters:
      - name: light
        in: query
        required: false
        schema:
          type: string
          enum:
          - '1'
        description: When `1`, returns the trimmed `AppListItem` shape (just the fields the v2 dashboard's shell + apps-grid render — id, name, status, url, runtime, framework, dataMode, pocketbaseSuperuserEnv, createdAt, description, iconColour, iconImagePath, access). Default response carries the full `App`. The trimmed shape is what `apps.listLight()` in the SDK calls.
      responses:
        '200':
          description: List of apps
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/App'
      operationId: getApps
      x-operation-id-source: derived
    post:
      tags:
      - Apps
      summary: Create app
      security:
      - bearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  pattern: ^[a-z][a-z0-9-]{2,39}$
                  description: 3-40 chars, lowercase, start with letter
                runtime:
                  type: string
                framework:
                  type: string
              required:
              - name
              - runtime
      responses:
        '201':
          description: App created
        '400':
          description: Invalid name or name blocked
        '403':
          description: App limit reached or account suspended
        '409':
          description: Name already taken
        '503':
          description: Platform is in sunset read-only mode (at or past T-0). Mutating routes are frozen (`platform_read_only`); app/account delete is gated (`platform_delete_gated`) unless the dashboard password-reauth override is supplied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SunsetGate'
      operationId: postApps
      x-operation-id-source: derived
  /apps/{appRef}:
    get:
      tags:
      - Apps
      summary: Get app details
      security:
      - bearer: []
      parameters:
      - name: appRef
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: App details. Carries the caller's effective `access` ('owner' | 'admin' | 'viewer') so dashboards can render role-aware UI without a second roundtrip.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/App'
        '404':
          description: App not found OR not visible to the caller (pending invites and expired shares 404 here, matching resolveWithRole semantics).
      operationId: getAppsByAppRef
      x-operation-id-source: derived
    delete:
      tags:
      - Apps
      summary: Delete app
      description: 'Cascades deployments, env vars, custom domains, and the PocketBase sidecar. During the sunset window (T-0 .. T+90) this is gated: the override requires `?acknowledge=forfeit-export-window` AND a single-use `X-Sunset-Forfeit-Grant` token minted by the dashboard password-reauth flow (only the dashboard can create one). CLI/MCP cannot delete during sunset.'
      security:
      - bearer: []
      parameters:
      - name: appRef
        in: path
        required: true
        schema:
          type: string
      - name: acknowledge
        in: query
        required: false
        schema:
          type: string
          enum:
          - forfeit-export-window
        description: Sunset override intent signal (only meaningful during read-only mode). Must be paired with a valid single-use `X-Sunset-Forfeit-Grant` token header.
      responses:
        '204':
          description: App deleted
        '409':
          description: Deploy in progress
        '503':
          description: Platform is in sunset read-only mode (at or past T-0). Mutating routes are frozen (`platform_read_only`); app/account delete is gated (`platform_delete_gated`) unless the dashboard password-reauth override is supplied.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SunsetGate'
      operationId: deleteAppsByAppRef
      x-operation-id-source: derived
  /apps/{appRef}/rename:
    post:
      tags:
      - Apps
      summary: Rename app
      security:
      - bearer: []
      parameters:
      - name: appRef
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
              required:
              - name
      responses:
        '200':
          description: App renamed
        '400':
          description: Invalid name
        '409':
          description: Name taken or reserved
      operationId: postAppsByAppRefRename
      x-operation-id-source: derived
  /apps/{appRef}/unsuspend:
    post:
      tags:
      - Apps
      summary: Unsuspend app
      security:
      - bearer: []
      parameters:
      - name: appRef
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: App unsuspended
        '403':
          description: App was admin-suspended
      operationId: postAppsByAppRefUnsuspend
      x-operation-id-source: derived
  /apps/{appRef}/uptime:
    get:
      tags:
      - Apps
      summary: Get uptime stats
      security:
      - bearer: []
      parameters:
      - name: appRef
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Uptime rollup and recent probe history
      operationId: getAppsByAppRefUptime
      x-operation-id-source: derived
  /apps/{appRef}/requests:
    get:
      tags:
      - Apps
      summary: Get recent requests
      description: Recent requests from the edge access log. Visitor identifiers (IP, User-Agent, referrer) are not returned, and paths are reduced to their route shape.
      security:
      - bearer: []
      parameters:
      - name: appRef
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: timestamp, method, path, status, latencyMs, size per request
      operationId: getAppsByAppRefRequests
      x-operation-id-source: derived
components:
  schemas:
    SunsetGate:
      type: object
      properties:
        error:
          type: string
          enum:
          - platform_read_only
          - platform_delete_gated
          description: '`platform_read_only`: a mutating route is frozen during sunset. `platform_delete_gated`: app/account delete is paused; supply the dashboard password-reauth override to proceed.'
        sunsetDate:
          type: string
          format: date-time
        finalDeletionDate:
          type: string
          format: date-time
        message:
          type: string
        dashboardUrl:
          type: string
          format: uri
      required:
      - error
      - sunsetDate
      - finalDeletionDate
      - message
      - dashboardUrl
    App:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        runtime:
          type: string
        framework:
          type: string
          nullable: true
        status:
          type: string
          enum:
          - provisioning
          - live
          - crashed
          - suspended
        url:
          type: string
          format: uri
        dataMode:
          type: string
          enum:
          - none
          - pocketbase
          - postgres
          - sqlite
          - convex
          - supabase
          - external
        createdAt:
          type: string
          format: date-time
        access:
          type: string
          enum:
          - owner
          - admin
          - viewer
          description: Caller's effective role. 'admin' grants the operational write surface (deploy, env, domains, KV, logs, PocketBase ops); 'viewer' is read-only; 'owner' is everything including delete / transfer / rename / share management.
        liveDeploy:
          type: object
          nullable: true
          description: The current live deployment, or null when nothing is live. The same row the `live` version ref resolves.
          properties:
            id:
              type: string
            commitSha:
              type: string
              nullable: true
            status:
              type: string
          required:
          - id
          - commitSha
          - status
  securitySchemes:
    exportPreparation:
      type: http
      scheme: bearer
      bearerFormat: pce_<43 base64url characters>
      description: Separate preparation capability. An account API/OAuth token or operation ID is not a preparation credential.
    bearer:
      type: http
      scheme: bearer
      description: API token from `percher login`
    internalSecret:
      type: apiKey
      in: header
      name: X-Internal-Secret
      description: Internal service secret