HTTP API

The coordinator's REST endpoints, grouped by what they do.

The coordinator serves a REST API under /api/v1. The authoritative, always-current reference is the OpenAPI page the backend generates at /docs (for example http://localhost:8081/docs). This page is a map of the endpoints that exist and what they are for.

Most routes require an authenticated user (see Scope). Users see their own resources; an administrator sees all. Job statuses for circuits are upper case (QUEUED, COMPLETED); finance, options and risk jobs use lower case (queued, completed).

System

Method and pathPurpose
GET /api/v1/healthLiveness, version, uptime and persistence status.
GET /api/v1/readyReadiness, with active probes of dependencies.
GET /api/v1/bootstrap/libp2pThe libp2p bootstrap plan.
GET /api/v1/bootstrap/libp2p/runtimeA summary of the running libp2p host.

Circuits and jobs

Method and pathPurpose
POST /api/v1/circuits/submitSubmit an OpenQASM circuit. Returns 201 with a job_id.
GET /api/v1/jobsList recent jobs. Query: limit (1 to 200, default 50), status (repeatable).
GET /api/v1/jobs/{job_id}Job status and result. Query: `result_detail=full
GET /api/v1/plans/{plan_id}The execution plan for a job.

See Basic usage and Jobs.

Peers and services

Method and pathPurpose
GET /api/v1/servicesServices advertised by live peers.
GET /api/v1/metrics/fidelity/{node_id}Fidelity samples for one node.
GET /api/v1/discovery/peersKnown peers. Query: include_stale.
GET /api/v1/discovery/peers/{peer_id}One peer.
GET /api/v1/discovery/topologyPeers with trust tier, health and staleness.
GET /api/v1/discovery/network/topologyTopology in an older, flat format.
GET /api/v1/discovery/statsNetwork statistics.
POST /api/v1/enrollment/peersEnroll or update a peer.
GET /api/v1/enrollment/peersList enrollments. Query: trust_tier, status.
GET /api/v1/enrollment/peers/{peer_id}One enrollment.
POST /api/v1/enrollment/peers/{peer_id}/actionAdmin: approve, reject or quarantine.

See Peers and discovery.

Reservations

Method and pathPurpose
POST /api/v1/reservationsRequest a reservation.
GET /api/v1/reservations/{reservation_id}Current state, rebuilt from events.
POST /api/v1/reservations/{reservation_id}/cancelCancel a reservation.

See Reservations.

Provenance

Method and pathPurpose
GET /api/v1/provenance/{bundle_id}/verifyVerify a bundle. Owner or administrator only.

See Provenance.

Finance, options and risk

Method and pathPurpose
POST /api/v1/finance/submitSubmit a financial CSV for quantum analysis.
GET /api/v1/financeList finance jobs.
GET /api/v1/finance/{job_id}Job status and results.
GET /api/v1/finance/{job_id}/comparisonThe quantum-versus-classical comparison report.
GET /api/v1/finance/tokenized-assetsTokenized stocks available for analysis.
POST /api/v1/finance/tokenized-portfolioOptimize tokenized stocks from Chainlink price history.
POST /api/v1/options/submitSubmit an options pricing job.
POST /api/v1/options/batchRun quantum and Black-Scholes pricing for every row of a CSV.
GET /api/v1/options and GET /api/v1/options/{job_id}List jobs; read one.
POST /api/v1/risk/submitSubmit a risk job (JSON).
POST /api/v1/risk/submit-csvSubmit a risk job by uploading a portfolio CSV.
GET /api/v1/risk and GET /api/v1/risk/{job_id}List jobs; read one.

Workflows

Method and pathPurpose
POST /api/v1/workflows/runsSubmit a workflow run.
GET /api/v1/workflows/runs and GET /api/v1/workflows/runs/{run_id}List runs; read one.
POST /api/v1/workflows/benchmarksSubmit a benchmark run.
GET /api/v1/workflows/benchmarks/{benchmark_id}Read a benchmark run.

Credits and chains

Method and pathPurpose
GET /api/v1/credits/balanceYour credit balance, derived from the ledger.
GET /api/v1/chainsThe configured test networks and the operations each supports.

Agents, proposals and the marketplace

These routes belong to the agent workspace, which is experimental. Several need a signed identity assertion for the user instead of an ordinary bearer token.

Method and pathPurpose
GET /api/v1/agents/llm-providersThe language-model providers and whether each is configured. See Agent LLM providers.
POST /api/v1/agents, GET /api/v1/agents, GET /api/v1/agents/{id}Create, list and read agents.
PUT /api/v1/agents/{id}/configUpdate an agent's spending configuration.
POST /api/v1/agents/{id}/chat, POST /api/v1/agents/{id}/analyzeChat with an agent, or have it analyze a proposal.
GET /api/v1/agents/{id}/spendingWhat the agent has spent.
GET /api/v1/agents/{id}/exports, POST /api/v1/agents/{id}/exports/{proposal_id}Storage exports. See Toju.
POST /api/v1/agents/{id}/starknet-session and /spend, /tx, /txs, /revokeSee Starknet session keys.
POST /api/v1/proposals, GET /api/v1/proposals, GET /api/v1/proposals/{id}Research proposals.
POST /api/v1/proposals/{id}/fund, GET /api/v1/proposals/{id}/fundersFund a proposal, and list who did.
POST /api/v1/proposals/{id}/fragments/generate, .../fragments/{fragment_id}/claim, POST .../resultsFragments of a proposal and their results.
POST /api/v1/marketplace/register-pricing, GET /api/v1/marketplace/workersWorker pricing and listings.
POST /api/v1/marketplace/estimate-cost, GET /api/v1/marketplace/worker/{worker_id}/earningsCost estimates and worker earnings.

ENS

Method and pathPurpose
GET /api/v1/ens/resolve?name=Name to address.
GET /api/v1/ens/reverse?address=Address to primary name.
GET /api/v1/ens/workers and /{subname}The worker-subname proof of concept. See ENS.

Payments administration

Method and pathPurpose
GET /api/v1/admin/payments/events and /{key}List payment events, or read one.
POST /api/v1/admin/payments/events/{key}/reconcileResolve a pending or uncertain event.
POST /api/v1/admin/payments/reconciliationRun the reconciliation sweep now.
GET /api/v1/admin/payments/accounts/{account_id}/balanceA balance derived from the ledger.

All of these need the admin role. See Credits and ledger.

Not covered here

The experimental drug-discovery routes (/api/v1/pharma/...), and the hidden internal routes used by the x402 and billing gateways, are not documented on this page. The OpenAPI page lists the ones that are public.

The console also serves its own routes: /api/x402/... for x402, /api/billing/... for billing and /api/auth/... for sign-in.

On this page