Percher Admin API

The Admin API from Percher — 19 operation(s) for admin.

GitHub OpenAPI

Operations 22

POST /admin/waitlist/settings Control daily self-registration, availability notices and capacity admission #
POST /admin/waitlist/resolve Resolve a held delivery after confirming provider evidence #
GET /admin/email-budget UTC daily/monthly email attempts by category and budget limits #
GET /admin/egress/accounts Top accounts by egress this month with their fair-use cap state #
POST /admin/egress/accounts/{userId}/override Add extra GB to one account's allowance for a month #
POST /admin/egress/accounts/{userId}/lift Lift an account's bandwidth block now; stays lifted for the month #
GET /admin/egress/enforcement Fair-use egress kill-switch state and per-plan allowances #
POST /admin/egress/enforcement Pause or resume the fair-use egress brake (usage keeps being measured) #
POST /admin/signup-invites Mint a beta signup invite with an encrypted copy for later admin access #
GET /admin/signup-invites List beta signup invites without their codes #
POST /admin/signup-invites/{id}/revoke Revoke a beta signup invite so it accepts no further uses #
DELETE /admin/signup-invites/{id} Delete an unused revoked or expired signup invite #
GET /admin/signup-invites/{id}/code Retrieve an active signup code for copying; admin only and never cached #
PUT /admin/signup-invites/{id}/code Restore a saved copy of an active legacy code without changing the invitation #
GET /admin/withdrawal-deliveries List bounded dead withdrawal delivery metadata and queue counts #
GET /admin/withdrawal-deliveries/{id} Read one withdrawal delivery status without receipt contents #
POST /admin/withdrawal-deliveries/{id}/retry Requeue one unlocked dead withdrawal delivery with its existing identity #
GET /admin/health System health check with stats #
GET /admin/jobs List all recent jobs #
GET /admin/jobs/stats Job queue statistics #
POST /admin/jobs/{jobId}/retry Retry failed/dead job #
POST /admin/jobs/{jobId}/cancel Cancel pending/failed job #

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-admin-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-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Percher Admin 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: Admin
paths:
  /admin/waitlist/settings:
    post:
      tags:
      - Admin
      summary: Control daily self-registration, availability notices and capacity admission
      security:
      - bearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - open
              - enabled
              - dailyLimit
              properties:
                open:
                  type: boolean
                enabled:
                  type: boolean
                dailyLimit:
                  type: integer
                  minimum: 1
                  maximum: 100
                  default: 10
      responses:
        '200':
          description: Settings, delivery counts and capacity state
        '403':
          description: Admin required
        '503':
          description: Email unavailable
      operationId: postAdminWaitlistSettings
      x-operation-id-source: derived
  /admin/waitlist/resolve:
    post:
      tags:
      - Admin
      summary: Resolve a held delivery after confirming provider evidence
      security:
      - bearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - id
              - delivered
              - confirm
              properties:
                id:
                  type: string
                  maxLength: 80
                delivered:
                  type: boolean
                confirm:
                  type: string
                  enum:
                  - provider_checked
      responses:
        '200':
          description: Resolved and audited
        '403':
          description: Admin required
        '409':
          description: Delivery not held
      operationId: postAdminWaitlistResolve
      x-operation-id-source: derived
  /admin/email-budget:
    get:
      tags:
      - Admin
      summary: UTC daily/monthly email attempts by category and budget limits
      security:
      - internalSecret: []
      responses:
        '200':
          description: Usage, limits and uncounted operator senders
        '401':
          description: Internal authentication required
      operationId: getAdminEmailBudget
      x-operation-id-source: derived
  /admin/egress/accounts:
    get:
      tags:
      - Admin
      summary: Top accounts by egress this month with their fair-use cap state
      security:
      - bearer: []
      parameters:
      - name: month
        in: query
        required: false
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
      responses:
        '200':
          description: Accounts descending by bytes; admin account required
      operationId: getAdminEgressAccounts
      x-operation-id-source: derived
  /admin/egress/accounts/{userId}/override:
    post:
      tags:
      - Admin
      summary: Add extra GB to one account's allowance for a month
      security:
      - bearer: []
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - extraGb
              properties:
                extraGb:
                  type: number
                  minimum: 0
                month:
                  type: string
                  description: YYYY-MM, defaults to the current month
      responses:
        '200':
          description: Updated summary; the job applies it within 15 minutes
        '400':
          description: Invalid body
        '404':
          description: No such account
      operationId: postAdminEgressAccountsByUserIdOverride
      x-operation-id-source: derived
  /admin/egress/accounts/{userId}/lift:
    post:
      tags:
      - Admin
      summary: Lift an account's bandwidth block now; stays lifted for the month
      security:
      - bearer: []
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Apps unblocked plus the updated summary
      operationId: postAdminEgressAccountsByUserIdLift
      x-operation-id-source: derived
  /admin/egress/enforcement:
    get:
      tags:
      - Admin
      summary: Fair-use egress kill-switch state and per-plan allowances
      security:
      - bearer: []
      responses:
        '200':
          description: '{ disabled, capGbByPlan }'
      operationId: getAdminEgressEnforcement
      x-operation-id-source: derived
    post:
      tags:
      - Admin
      summary: Pause or resume the fair-use egress brake (usage keeps being measured)
      security:
      - bearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - disabled
              properties:
                disabled:
                  type: boolean
      responses:
        '200':
          description: '{ disabled }'
        '400':
          description: Invalid body
      operationId: postAdminEgressEnforcement
      x-operation-id-source: derived
  /admin/signup-invites:
    post:
      tags:
      - Admin
      summary: Mint a beta signup invite with an encrypted copy for later admin access
      security:
      - bearer: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                label:
                  type: string
                  maxLength: 120
                maxUses:
                  type: integer
                  minimum: 1
                  default: 1
                expiresInDays:
                  type: integer
                  minimum: 1
      responses:
        '201':
          description: Code plus invite metadata; admin account required
        '400':
          description: Invalid body
      operationId: postAdminSignupInvites
      x-operation-id-source: derived
    get:
      tags:
      - Admin
      summary: List beta signup invites without their codes
      security:
      - bearer: []
      responses:
        '200':
          description: Invites newest-first; admin account required
      operationId: getAdminSignupInvites
      x-operation-id-source: derived
  /admin/signup-invites/{id}/revoke:
    post:
      tags:
      - Admin
      summary: Revoke a beta signup invite so it accepts no further uses
      security:
      - bearer: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Invite metadata after revocation; admin account required
        '404':
          description: Invite not found
      operationId: postAdminSignupInvitesByIdRevoke
      x-operation-id-source: derived
  /admin/signup-invites/{id}:
    delete:
      tags:
      - Admin
      summary: Delete an unused revoked or expired signup invite
      security:
      - bearer: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Unused invite deleted; admin account required
        '401':
          description: Authentication required
        '403':
          description: Admin account required
        '404':
          description: Invite not found
        '409':
          description: Invite is active or has been used; history preserved
      operationId: deleteAdminSignupInvitesById
      x-operation-id-source: derived
  /admin/signup-invites/{id}/code:
    get:
      tags:
      - Admin
      summary: Retrieve an active signup code for copying; admin only and never cached
      security:
      - bearer: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Plaintext code for this active invitation
        '401':
          description: Authentication required
        '403':
          description: Admin account required
        '404':
          description: Invite or stored copy not found
        '409':
          description: Invite inactive or stored copy unreadable
      operationId: getAdminSignupInvitesByIdCode
      x-operation-id-source: derived
    put:
      tags:
      - Admin
      summary: Restore a saved copy of an active legacy code without changing the invitation
      security:
      - bearer: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - code
              properties:
                code:
                  type: string
                  maxLength: 128
      responses:
        '200':
          description: Matching saved code retained encrypted
        '400':
          description: Invalid or nonmatching code
        '401':
          description: Authentication required
        '403':
          description: Admin account required
        '404':
          description: Invite not found
        '409':
          description: Invite no longer active
      operationId: putAdminSignupInvitesByIdCode
      x-operation-id-source: derived
  /admin/withdrawal-deliveries:
    get:
      tags:
      - Admin
      summary: List bounded dead withdrawal delivery metadata and queue counts
      security:
      - bearer: []
      parameters:
      - name: after
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Up to 50 dead deliveries and next cursor; admin account required
      operationId: getAdminWithdrawalDeliveries
      x-operation-id-source: derived
  /admin/withdrawal-deliveries/{id}:
    get:
      tags:
      - Admin
      summary: Read one withdrawal delivery status without receipt contents
      security:
      - bearer: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Delivery metadata; admin account required
        '404':
          description: Delivery not found
      operationId: getAdminWithdrawalDeliveriesById
      x-operation-id-source: derived
  /admin/withdrawal-deliveries/{id}/retry:
    post:
      tags:
      - Admin
      summary: Requeue one unlocked dead withdrawal delivery with its existing identity
      security:
      - bearer: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Requeued, not sent; admin account required
        '404':
          description: Delivery not found
        '409':
          description: Delivery is not an unlocked dead row
      operationId: postAdminWithdrawalDeliveriesByIdRetry
      x-operation-id-source: derived
  /admin/health:
    get:
      tags:
      - Admin
      summary: System health check with stats
      security:
      - internalSecret: []
      responses:
        '200':
          description: Health status with component checks and stats
      operationId: getAdminHealth
      x-operation-id-source: derived
  /admin/jobs:
    get:
      tags:
      - Admin
      summary: List all recent jobs
      security:
      - internalSecret: []
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          default: 50
      responses:
        '200':
          description: Jobs with full payload
      operationId: getAdminJobs
      x-operation-id-source: derived
  /admin/jobs/stats:
    get:
      tags:
      - Admin
      summary: Job queue statistics
      security:
      - internalSecret: []
      responses:
        '200':
          description: Counts by status
      operationId: getAdminJobsStats
      x-operation-id-source: derived
  /admin/jobs/{jobId}/retry:
    post:
      tags:
      - Admin
      summary: Retry failed/dead job
      security:
      - internalSecret: []
      parameters:
      - name: jobId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Job re-enqueued
        '409':
          description: Invalid state
      operationId: postAdminJobsByJobIdRetry
      x-operation-id-source: derived
  /admin/jobs/{jobId}/cancel:
    post:
      tags:
      - Admin
      summary: Cancel pending/failed job
      security:
      - internalSecret: []
      parameters:
      - name: jobId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Job cancelled
        '409':
          description: Invalid state
      operationId: postAdminJobsByJobIdCancel
      x-operation-id-source: derived
components:
  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