PageGoat Usage Controller API

The usage-controller API from PageGoat — 1 operation(s) for usage-controller.

GitHub OpenAPI

Operations 1

GET /api/usage The caller's consumption against their plan limits #

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/pagegoat-com:pagegoat-com-usage-controller-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

pagegoat-com-usage-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pagegoat Usage Controller API
  description: 'Programmatic access to Pagegoat sites. Authenticate with a Bearer access token: exchange your API key at `POST {IdP}/api/keys/token`, then send the returned JWT as `Authorization: Bearer `.'
  version: 0.1.0
servers:
- url: https://api.pagegoat.com
  description: Generated server url
security:
- bearer-jwt: []
tags:
- name: usage-controller
paths:
  /api/usage:
    get:
      tags:
      - usage-controller
      summary: The caller's consumption against their plan limits
      operationId: usage
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Usage'
components:
  schemas:
    Usage:
      required:
      - projects
      - projectsLimit
      - sites
      - storageBytes
      - storageLimitBytes
      - uploadFormats
      - uploadLimitBytes
      type: object
      properties:
        storageBytes:
          type: integer
          description: Measured bytes across every site the caller owns.
          format: int64
        storageLimitBytes:
          type: integer
          description: Storage the plan allows, or -1 for unlimited.
          format: int64
        uploadLimitBytes:
          type: integer
          description: Largest single upload the plan accepts, or -1 for unlimited.
          format: int64
        sites:
          type: integer
          description: Sites the caller owns.
          format: int64
        projects:
          type: integer
          description: Projects the caller owns.
          format: int64
        projectsLimit:
          type: integer
          description: Projects the plan allows, or -1 for unlimited.
          format: int32
        uploadFormats:
          type: array
          description: 'File formats this deployment accepts for a site: any of `html`, `zip`, `md`, `txt` and `pdf`.'
          example:
          - html
          - zip
          - md
          - txt
          - pdf
          items:
            type: string
            description: 'File formats this deployment accepts for a site: any of `html`, `zip`, `md`, `txt` and `pdf`.'
            example: '["html","zip","md","txt","pdf"]'
      description: Measured consumption against plan limits. Limits use -1 for unlimited.
  securitySchemes:
    bearer-jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT