ProAgentStore API

API for ProAgentStore platform

GitHub OpenAPI

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/proagentstore-online:proagentstore-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

proagentstore-online-openapi.yml Raw ↑
openapi: 3.1.0

info:
  title: ProAgentStore API
  description: |
    REST API for ProAgentStore — server-powered AI agents on Cloudflare Workers.
    Agents are backed by Durable Objects; each user gets a personal instance with
    isolated memory, knowledge base, and message history.

    ## Auth

    Most endpoints require a Bearer token in the `Authorization` header. Obtain one by
    signing in through ProAgentStore's own OAuth (`GET /v1/auth/google/start` or
    `GET /v1/auth/github/start`, which redirect back with a `session` token), or via
    `POST /v1/auth/github` (direct GitHub code exchange).

    Four credentials appear in this document and they are **not** interchangeable:

    | Credential | Where | Notes |
    |---|---|---|
    | Session JWT | `Authorization: Bearer …` | The account token. HS256, ~30 days. Type-pinned — a relay token or an OAuth `state`, though signed with the same key, is rejected here. |
    | Relay token | `GET /v1/relay/{instanceId}/connect?token=…` | Short-lived (~10 min), minted per (re)connect by `POST /v1/relay/{instanceId}/token`, scoped to ONE instance. `/connect` accepts **only** this — never the account JWT — so a leaked relay URL cannot become account takeover. |
    | Webhook capability token | `POST /v1/triggers/webhook/{token}` | High-entropy path segment; the URL *is* the credential. No `Authorization` header. |
    | Signed résumé link | `GET /v1/instances/{instanceId}/apply-resume?uid&exp&token` | HMAC query signature so a remote runner can fetch the file without holding a session. |

    Unauthenticated endpoints are marked `security: []`: the health check, OAuth
    start/callback pairs, the public store routes, the Stripe webhook (signature-verified),
    and the inbound trigger webhook.

    Most instance-scoped routes are **owner-only** — the instance is looked up by
    `(id, user_id)` and a non-owner gets `404`, not `403`, so instance ids are not
    enumerable. Creator-only routes (`POST /v1/agents`, `/v1/agent-builder/*`) additionally
    require the `creator` role.

    ## Coverage

    This document deliberately states its own scope rather than implying completeness.
    `scripts/openapi-coverage.mjs` in the platform repo checks it against the live Hono
    route table on every change and fails on drift in either direction (an undocumented
    route, or a documented path with no handler).

    **Documented with request/response schemas** — auth, agents (CRUD, capabilities,
    settings-schema, versions, export/import, analytics, ops, deploy), chat, instances
    (subscribe, chat, messages, knowledge, secure input/one-time secrets, board, board-config,
    settings, instructions, rename, runner-node, runtime registration, tasks), apply
    (`/apply`, `/input`, `/apply-tips`, résumé, takeover), trace, voice settings + recordings,
    translation, credentials vault, storage (collections, records, files, multipart upload,
    vectors, search, activity, memory, state), repo ingestion, tools + connectors + connections,
    triggers, relay, terminals, usage, errors, push, profile, preferences, keys,
    dashboard, notifications, batch, agent-builder, billing, GitHub App, Google Drive,
    Zoho WorkDrive, Gmail.

    **Documented at summary level** (method, path, auth, description, and a generic
    response object) — endpoints that proxy a Durable Object or a local runner and whose
    body shape is owned by that component rather than by this contract, plus the newer
    supervision, delegation and declarative-pipeline routes whose request bodies are still
    settling (epic #58). These say so in their descriptions; treat the response as an
    opaque JSON object.

    **Deliberately excluded, and not to be relied on:**

    - `/v1/admin/**` (20 operations) — the operator portal. A separate trust boundary
      (Cloudflare Access + the `admin` role), consumed only by the internal admin SPA, and
      explicitly not a stability promise: it changes without notice.
    - `/v1/instances/{id}/coding/**` (38 operations) — the Coder agent's control plane,
      driving a coding CLI as a child process on the subscriber's own machine (Claude Code
      over its structured `stream-json` interface; other engines as a raw spawn — not tmux,
      which belongs to the separate terminal-operator connector). Its shapes are coupled to the
      `@proagentstore/cli` runner version, not to this API's versioning. The `Coding` tag
      lists the route groups so you know what exists.
    - `/v1/instances/{id}/browse`, `/behaviour*`, `GET /v1/instances/behaviour-schema`
      (5 operations) — console-internal helpers.
    - Template-agent storage internals with no first-party caller — `summaries`,
      `summarize`, `users/{userId}/context`, and the two `init-collections` bootstrap
      routes (5 operations).
    - Read-only application reconciliation browser transport (7 operations) — short-lived,
      owner-only Console-to-Runner handoffs for a retained local page. Their opaque frame/input
      lifecycle is intentionally not a stable public API contract.

    The complete, enforced exclusion inventory lives in `scripts/openapi-coverage.mjs`.
    Everything else is documented here.
  version: 1.0.0
  contact:
    url: https://proagentstore.online

servers:
  - url: https://api.proagentstore.online
    description: Production

security:
  - bearerAuth: []

tags:
  - name: Auth
    description: Authentication and user profile
  - name: Agents
    description: Agent CRUD, listing, and cloning
  - name: Chat
    description: Messaging, memory, tasks, state, and knowledge base for template agents
  - name: Instances
    description: User subscriptions and per-instance chat, knowledge, and lifecycle
  - name: Run
    description: Direct Workers AI execution and execution history
  - name: Keys
    description: Encrypted user API key vault and AI provider proxy
  - name: Analytics
    description: Per-agent usage analytics (owner only)
  - name: Dashboard
    description: Subscriber usage dashboard and creator aggregate stats
  - name: Notifications
    description: In-app notification inbox
  - name: Versions
    description: Agent version snapshots and rollback
  - name: Export
    description: Agent backup export and import
  - name: Public
    description: Unauthenticated store browsing, trial chat, and webhook ingestion
  - name: Billing
    description: Subscription status, Stripe Checkout, and the Stripe webhook
  - name: Apply
    description: The LLM-driven job-application pipeline — résumé, run trigger, human handoffs, learned tips
  - name: Board
    description: The per-instance kanban of runs and tickets, and its column configuration
  - name: Trace
    description: Unified run timeline — chat turns, tool calls, apply steps and errors interleaved
  - name: Voice
    description: Per-instance voice settings and saved voice-turn recordings
  - name: Translation
    description: Under-message translation and interlinear transliteration
  - name: Storage
    description: Per-agent and per-instance collections, records, files, vectors, memory, and state
  - name: Credentials
    description: Per-instance site-login vault (envelope-encrypted; secrets never listed, only revealed on request)
  - name: Tools
    description: Connector/registry tools, per-tool consent, agent-to-agent connections, loops, and delegation
  - name: Triggers
    description: Instance webhook and cron triggers, their event log, and the inbound webhook endpoint
  - name: Runtime
    description: Local-runner registration, node pinning, and the WebSocket relay
  - name: Terminals
    description: The user's connected CLIs (machines running `pags up`), across every agent
  - name: Usage
    description: Token and cost transparency across agents, models, and modalities
  - name: Errors
    description: The durable error log — server exceptions plus client-reported failures
  - name: Feedback
    description: What the owner said was wrong, anchored to the turn it is about
  - name: Push
    description: Web Push subscriptions and VAPID key
  - name: Profile
    description: Structured candidate profile and job preferences
  - name: Preferences
    description: Account-wide voice and translation defaults
  - name: Connectors
    description: Generic OAuth2 connector flow, GitHub App, Google Drive, Zoho WorkDrive, Gmail, and Discord bots
  - name: Stats
    description: |
      Declarative per-agent stats cards and their values. A card names a source from a closed,
      owner-scoped vocabulary and never carries a query; trend cards are served from a daily
      rollup where a missing day is a GAP (`null`), never a zero.
  - name: Batch
    description: Bulk agent visibility and deletion
  - name: Agent Builder
    description: Plan and execute an AI-scaffolded agent


# --- truncated at 32 KB (923 KB total) ---
# Full source: https://artifacts.apis.io/proagentstore-online/openapi/proagentstore-online-openapi.yml