PageWeave Discovery API

Machine-readable service metadata.

GitHub OpenAPI

Operations 3

GET /api/v1 API discovery document #
GET /openapi.json OpenAPI contract (JSON) #
GET /openapi.yaml OpenAPI contract (YAML) #

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/pageweave-dev:pageweave-dev-discovery-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

pageweave-dev-discovery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PageWeave Discovery API
  version: 1.0.0
  summary: Programmatic control plane for PageWeave websites.
  description: 'Version 1 of the PageWeave HTTP API. Every endpoint under `/api/v1`

    authenticates with a bearer API key unless its operation declares an

    anonymous alternative — `security: []` or an optional requirement such as

    `[{bearerAuth: []}, {}]` for upload sessions.


    Errors use RFC 9457 Problem Details (`application/problem+json`). Rate

    limits follow draft-ietf-httpapi-ratelimit-headers-11 and are reported on

    every authenticated response through the `RateLimit-Policy` and

    `RateLimit` headers.


    The contract is additive within v1: operations and response fields may be

    added, never removed or changed incompatibly.'
  contact:
    name: PageWeave
    url: https://pageweave.dev/docs/api
  externalDocs:
    description: Guide, authentication, pagination, errors, and worked examples.
    url: https://pageweave.dev/docs/api/guide
servers:
- url: https://pageweave.dev
  description: Production
tags:
- name: Discovery
  description: Machine-readable service metadata.
paths:
  /api/v1:
    get:
      operationId: getDiscovery
      summary: API discovery document
      description: 'Version, documentation, contract, MCP, and rate-limit facts for this

        API. Public and cacheable. An API key is optional; when one is

        presented it is validated and counted against the read quota.'
      tags:
      - Discovery
      security:
      - bearerAuth: []
      - {}
      x-required-permission: null
      x-required-scope: public
      x-required-credential: null
      responses:
        '200':
          description: Discovery document
          headers:
            ETag:
              description: Strong validator for conditional requests.
              schema:
                type: string
            Vary:
              description: Always `Authorization`; the quota headers are per credential.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Discovery'
              example:
                version: v1
                documentation: https://pageweave.dev/docs/api
                openapi: https://pageweave.dev/openapi.json
                openapi_yaml: https://pageweave.dev/openapi.yaml
                mcp: https://pageweave.dev/mcp
                rate_limits:
                  read:
                    limit: 600
                    window: 60
                  write:
                    limit: 120
                    window: 60
                  export:
                    limit: 10
                    window: 60
                  domain_availability:
                    limit: 10
                    window: 60
                  domain_auth_code:
                    limit: 10
                    window: 60
                  domain_purchase:
                    limit: 5
                    window: 3600
                  domain_deletion:
                    limit: 10
                    window: 3600
                  dns_check:
                    limit: 10
                    window: 60
                  mcp:
                    limit: 200
                    window: 60
                  uploads_authenticated:
                    limit: 60
                    window: 60
                  uploads_flood:
                    limit: 20
                    window: 60
        '304':
          description: Not modified; the client's cached copy is current
          headers:
            ETag:
              schema:
                type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
  /openapi.json:
    get:
      operationId: getOpenapiJson
      summary: OpenAPI contract (JSON)
      description: 'The machine-readable contract for this API. Cacheable; revalidates

        with `If-None-Match`.'
      tags:
      - Discovery
      security: []
      x-required-permission: null
      x-required-scope: public
      x-required-credential: null
      responses:
        '200':
          description: The OpenAPI 3.1 document
          headers:
            ETag:
              schema:
                type: string
          content:
            application/vnd.oai.openapi+json:
              schema:
                type: object
                additionalProperties: true
        '304':
          description: Not modified
        '400':
          $ref: '#/components/responses/BadRequest'
  /openapi.yaml:
    get:
      operationId: getOpenapiYaml
      summary: OpenAPI contract (YAML)
      description: 'The same contract as `/openapi.json`, in YAML. Cacheable; revalidates

        with `If-None-Match`.'
      tags:
      - Discovery
      security: []
      x-required-permission: null
      x-required-scope: public
      x-required-credential: null
      responses:
        '200':
          description: The OpenAPI 3.1 document as YAML
          headers:
            ETag:
              schema:
                type: string
          content:
            application/vnd.oai.openapi+yaml:
              schema:
                type: string
        '304':
          description: Not modified
        '400':
          $ref: '#/components/responses/BadRequest'
components:
  headers:
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
    WWWAuthenticate:
      description: 'Bearer challenge (RFC 9110 §11.6.1, RFC 6750 §3).

        Carries `error="invalid_token"` when a credential was presented but

        could not be resolved. `/api/v1` uses the `api` realm; OAuth

        protected-resource metadata (RFC 9728) is advertised by MCP only.

        '
      schema:
        type: string
        example: Bearer realm="api", error="invalid_token"
    RateLimitPolicy:
      description: 'The applicable quota policy (draft-ietf-httpapi-ratelimit-headers-11).

        '
      schema:
        type: string
        example: '"write";q=120;w=60'
    RateLimit:
      description: 'The remaining quota and seconds until the window resets

        (draft-ietf-httpapi-ratelimit-headers-11).

        '
      schema:
        type: string
        example: '"write";r=119;t=42'
  responses:
    Unauthorized:
      description: Missing, invalid, expired, or revoked credential
      headers:
        WWW-Authenticate:
          $ref: '#/components/headers/WWWAuthenticate'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    BadRequest:
      description: The request is malformed or carries unknown query parameters
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    TooManyRequests:
      description: A rate limit was exceeded
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimitPolicy'
        RateLimit:
          $ref: '#/components/headers/RateLimit'
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
  schemas:
    RateLimitPolicy:
      type: object
      additionalProperties: false
      required:
      - limit
      - window
      properties:
        limit:
          type: integer
          minimum: 1
        window:
          type: integer
          minimum: 1
          description: Window length in seconds.
    Problem:
      type: object
      example:
        type: https://pageweave.dev/errors/forbidden
        title: Forbidden
        status: 403
        detail: The API key lacks the page.create permission for this website.
        instance: /api/v1/websites/019f9c2a-6a1b-7a3d-8f2e-4b6c8d0e1f23/pages
        request_id: 019fc8e5-8f6a-9b7c-8d85-4f6a7b8c9d0e
        required_permission: page.create
        required_permission_scope: website
        required_credential_scope: write
      required:
      - type
      - title
      - status
      - instance
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        instance:
          type: string
        request_id:
          type:
          - string
          - 'null'
        errors:
          type: array
          items:
            type: object
            additionalProperties: false
            required:
            - field
            - detail
            properties:
              field:
                type: string
              detail:
                type: string
              code:
                type: string
        upgrade_url:
          type: string
        required_permission:
          type:
          - string
          - 'null'
          description: Declared endpoint permission; null for account-level endpoints with no resource permission.
        required_permission_scope:
          type:
          - string
          - 'null'
          description: Scope the permission resolves in (workspace, website, environment); null when there is no resource permission.
        required_credential_scope:
          type:
          - string
          - 'null'
          description: The read/write scope the presented bearer credential lacks; present on credential-ceiling 403s.
        retry_after_seconds:
          type: integer
          minimum: 1
          description: Seconds until the quota resets (RFC 9457 extension member, on too-many-requests only). Authoritative over retry_at when clocks differ.
        retry_at:
          type: string
          format: date-time
          description: UTC "not before" timestamp — when the quota window ends (RFC 9457 extension member, on too-many-requests only).
        suggested_path:
          type: string
          description: First free path for a restore whose original path is taken, when one can be suggested (RFC 9457 extension member; nothing is renamed automatically).
        template_pages:
          type: array
          description: Live template pages that reference a table whose deletion was refused (RFC 9457 extension member).
          items:
            type: object
            additionalProperties: false
            required:
            - id
            - path
            properties:
              id:
                type: string
                format: uuid
              path:
                type: string
        conflicts:
          type: array
          description: Release items edited by someone else after the caller's last edit (RFC 9457 extension member).
          items:
            type: object
            additionalProperties: false
            required:
            - type
            - identifier
            - mine_version
            - latest_version
            - latest_author
            properties:
              type:
                type: string
              identifier:
                type: string
              mine_version:
                type: integer
              latest_version:
                type: integer
              latest_author:
                type:
                - string
                - 'null'
        matches:
          type: array
          description: Candidate short ids for an ambiguous feedback reference (RFC 9457 extension member).
          items:
            type: string
        items:
          type: array
          description: Identifiers that made a release selection invalid (RFC 9457 extension member).
          items:
            type: string
        nameservers:
          type: array
          description: Live parent NS answer that still delegates a zone to PageWeave, sent with a refused zone deletion (RFC 9457 extension member).
          items:
            type: string
        existing_id:
          type: string
          format: uuid
          description: Identifier of the existing resource that caused a conflict, such as a pending invitation (RFC 9457 extension member).
    Discovery:
      type: object
      additionalProperties: false
      required:
      - version
      - documentation
      - openapi
      - openapi_yaml
      - mcp
      - rate_limits
      properties:
        version:
          type: string
          const: v1
        documentation:
          type: string
          format: uri
        openapi:
          type: string
          format: uri
        openapi_yaml:
          type: string
          format: uri
        mcp:
          type: string
          format: uri
        rate_limits:
          type: object
          additionalProperties: false
          required:
          - read
          - write
          - export
          - domain_availability
          - domain_auth_code
          - domain_purchase
          - domain_deletion
          - dns_check
          - mcp
          - uploads_authenticated
          - uploads_flood
          properties:
            read:
              $ref: '#/components/schemas/RateLimitPolicy'
            write:
              $ref: '#/components/schemas/RateLimitPolicy'
            export:
              $ref: '#/components/schemas/RateLimitPolicy'
            domain_availability:
              $ref: '#/components/schemas/RateLimitPolicy'
            domain_auth_code:
              $ref: '#/components/schemas/RateLimitPolicy'
            domain_purchase:
              $ref: '#/components/schemas/RateLimitPolicy'
            domain_deletion:
              $ref: '#/components/schemas/RateLimitPolicy'
            dns_check:
              $ref: '#/components/schemas/RateLimitPolicy'
            mcp:
              $ref: '#/components/schemas/RateLimitPolicy'
            uploads_authenticated:
              $ref: '#/components/schemas/RateLimitPolicy'
            uploads_flood:
              $ref: '#/components/schemas/RateLimitPolicy'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key created in Settings → API keys. Send

        `Authorization: Bearer pagew_...`. A key''s scopes (`read`, `write`) are

        a ceiling: a read-only key cannot write even when its owner''s role

        allows it.

        '