CALL THIS FIRST. Provisions an API key for the operator. Returns a pcc_live_* key that must be included as 'Authorization: Bearer <key>' on all subsequent requests. Accepts either email OR walletAddress. The key is shown once — save it. Without it, all other endpoints return 401.
输入参数nameemailcapabilitywalletAddress
List all active API keys for the authenticated operator. Returns key IDs, prefixes, scopes, rate limits, usage counts, and creation/expiry timestamps. Requires a valid API key or SIWE session.
无需输入参数。
Revoke an API key permanently. The key will immediately stop working. You must own the key. Use list_api_keys to find the key ID.
输入参数keyId必填
Auto-detect current setup state: env vars, database, adapters, chain connectivity, storage, identity. Use this to see what's configured and what's missing before onboarding.
无需输入参数。
Generate a KERNEL_CONFIG JSON from device descriptions. Tell it what machines you have and it produces the config ready to paste into your environment.
输入参数devices必填
Validate a kernel config (20+ checks: JSON structure, device connectivity, adapter compatibility). Returns validation errors and warnings.
输入参数config必填
Register a device in the database with adapter config and capabilities. Part of Step 3 in the onboarding flow. Required: kernelId, deviceId, type and adapterType (400 missing_required_fields otherwise).
输入参数type必填modeldeviceId必填kernelId必填adapterType必填capabilitiesadapterConfig
Submit a test job to verify the full pipeline works end-to-end (Step 4 of onboarding). Returns job ID and result.
输入参数deviceIdkernelId必填
Comprehensive setup status across 6 categories: gateway, database, adapters, chain, storage, identity. Use to confirm everything is green before going live.
无需输入参数。
List all capability types registered on the network (FDM, SLA, CNC, HPLC, etc.) with metadata.
无需输入参数。
Search capability templates by type or keyword. Returns templates with pricing, assurance tiers, and availability.
输入参数query必填
Get configuration options for a capability type (materials, dimensions, tolerances, assurance tiers). Use before calling calculate_price.
输入参数type必填profileIdselections
Calculate price for a capability configuration. Returns base price, tier premiums, and estimated total cost.
输入参数type必填profileIdselections必填
Build and submit a capability contract with on-chain milestone escrow. Returns job ID and escrow address.
输入参数type必填profileIdselections必填assuranceTier必填
List all Shop Kernels on the network with status and capability types. Optionally filter by status.
输入参数status
Get kernel details including full capability objects, devices, and queue.
输入参数kernelId必填
List all devices registered under a specific kernel, including adapter configs and device types.
输入参数kernelId必填
List all jobs submitted to a specific kernel, including job status and progress.
输入参数kernelId必填
Register a new Shop Kernel (physical site) on the PCC network. Part of Step 2 in the onboarding flow.
输入参数name必填configlocationdescription
List all jobs with status. Optionally filter by kernelId or status.
输入参数statuskernelId
Get job details including progress, evidence bundles, and milestones.
输入参数jobId必填
Update a job's status and optional progress percentage. Used by kernels to report job progress.
输入参数jobId必填status必填progress
List escrow contracts with milestones and bonds. Optionally filter by status.
输入参数status
Get escrow details. Pass a DB ID for database record (with milestones and disputes), or an EVM address (0x...) to read directly from the blockchain.
输入参数escrowId必填
Read full on-chain escrow state with all milestone details from the blockchain. More detailed than get_escrow for on-chain contracts.
输入参数address必填
Get on-chain event history for an escrow contract. Returns funding, release, dispute, and bond events.
输入参数address必填fromBlock
Read an ERC-20 token balance for an account address from the blockchain.
输入参数account必填tokenAddress必填
Read the ERC-20 token allowance granted by an owner to a spender from the blockchain.
输入参数owner必填spender必填tokenAddress必填
Read dispute state for a specific milestone from the blockchain.
输入参数address必填milestoneIndex必填
Check if on-chain write operations are enabled (requires PCC_GATEWAY_PRIVATE_KEY to be configured). Returns write status and signer address.
无需输入参数。
Fund a protocol-created escrow on-chain. Approval is handled INTERNALLY by the gateway for protocol-created escrows (audit C-03 removed the public approve step) — do NOT call a separate approve first; fund directly. Returns transaction hash.
输入参数address必填
Release a milestone payment on-chain after the challenge window has expired. Returns transaction hash.
输入参数address必填milestoneIndex必填
File a dispute against a milestone on-chain. Challenger must post a bond and provide evidence hash. Returns transaction hash.
输入参数reason必填address必填challengerBond必填milestoneIndex必填challengerEvidenceHash必填
Deposit an operator bond for a milestone on-chain. Required for Assurance Tier 3 jobs. Returns transaction hash.
输入参数address必填milestoneIndex必填
Submit an evidence bundle hash for a milestone on-chain. Links the physical evidence to the on-chain settlement record. Returns transaction hash.
输入参数address必填milestoneIndex必填evidenceBundleHash必填
Submit a verifier attestation for a milestone on-chain. Used by third-party verifiers (Bittensor subnet) to confirm evidence quality. Returns transaction hash.
输入参数address必填milestoneIndex必填attestationHash必填
Archive an evidence bundle to IPFS/Storacha for permanent decentralized storage. Returns the content-addressed CID.
输入参数bundle必填
Get an encrypted evidence bundle by its bundle ID. Returns the encrypted payload and key capsules.
输入参数bundleId必填
Grant a new recipient access to an encrypted evidence bundle. Creates a re-encrypted key capsule for the recipient.
输入参数bundleId必填accessLevelrecipientAddress必填
List all evidence access grants for an address. Returns bundles the address has been granted access to.
输入参数address必填
Archive an encrypted evidence bundle to IPFS and store the resulting CID in the database. Idempotent — returns existing CID if already archived.
输入参数bundleId必填
Get IPFS CIDs for a bundle — returns the primary CID, metadata CID, and Filecoin deal ID if available.
输入参数bundleId必填
Retrieve raw data from IPFS by CID. Used to fetch archived evidence bundles from decentralized storage.
输入参数cid必填
Get Lit Protocol access conditions for a Lit-encrypted evidence bundle. Returns the conditions that gate decryption.
输入参数bundleId必填
Decrypt a Lit Protocol-encrypted evidence bundle using a Lit auth signature. Returns the decrypted bundle payload.
输入参数authSig必填bundleId必填
Verify a ZK proof by its proof ID. Checks the proof against its verification key and public inputs.
输入参数proofId必填
Create a Merkle commitment for an evidence bundle hash. Used as the first step in ZK proof generation for Tier 3 assurance.
输入参数bundleHash必填
Get aggregate pipeline telemetry statistics including phase timings, success rates, and throughput metrics across all jobs.
无需输入参数。
List currently active jobs with their current pipeline phase and telemetry status.
无需输入参数。
Get full event timeline for a specific job — all pipeline phase transitions with timings and metadata.
输入参数jobId必填
Query structured logs with filters for level, source, jobId, kernelId, time range, and full-text search.
输入参数afterjobIdlevellimitbeforesearchsourcekernelId
Manually emit a telemetry event for a job pipeline phase. Used by kernels and agents to report execution progress.
输入参数jobId必填levelphase必填sourcestatus必填metadataduration_ms
submit_for_human_verification
Submit an evidence bundle for human verification. Selects a panel of verifiers from the network and returns assigned verifier IDs.
输入参数photoRef必填bundleHash必填referenceRef必填verifierCountcomparisonScore
get_verification_assignments
Get pending verification assignments for a verifier node. Returns requests this verifier has been assigned but not yet responded to.
输入参数verifierId必填
Get verification status for a request. Returns vote tally, consensus state, dispute list, and pending response count.
输入参数requestId必填
Submit a verifier's verdict for a verification request. Returns consensus state after this vote.
输入参数notesverdict必填requestId必填signature必填verifierId必填
File a dispute against the consensus verdict. Only verifiers who submitted a response can dispute. Requires additional evidence CID.
输入参数reason必填requestId必填disputerId必填evidenceCid必填
Register a capability as a Story Protocol IP Asset. Returns an ipId and NFT token. The designer earns royalties whenever this capability is used.
输入参数ipfsCidcapability必填designerName必填designerAddress必填commercialRevShare
Register job evidence as a derivative IP asset on Story Protocol, linking it to the parent capability's IP. Operators earn royalties from derivative use.
输入参数jobId必填ipfsCidparentIpId必填operatorName必填operatorAddress必填evidenceBundleHash必填
Set revenue splits for an IP asset among stakeholders (designer, operator, verifier, assembler, curator). Splits must sum to 100.
输入参数ipId必填splits必填
Pay royalties to an IP asset vault. The payer sends tokens that flow to stakeholders via the royalty splits.
输入参数ipId必填amount必填payerAddress必填
Claim earned revenue from an IP asset vault. Returns the claimed amount and transaction hash.
输入参数ipId必填tokenIds
Get a revenue snapshot for an IP asset — total earned, pending claims, and recent payments.
输入参数ipId必填
Get the full IP lineage chain for an asset — parent capabilities and all derivative job registrations.
输入参数ipId必填
Get the Story Protocol IP registration for a capability by its capability ID.
输入参数capabilityId必填
Raise a Story Protocol IP dispute against an asset. Provide evidence hash and reason.
输入参数ipId必填reason必填evidenceHash必填
List protocol templates in the library. Filter by tags, required capabilities, search query, or status.
输入参数tagssearchstatuscapabilities
Get protocol template details by ID. Returns steps, transfers, parameters, and metadata.
输入参数id必填
Create a new protocol template draft. Returns the new template ID.
输入参数name必填tagsstepstransfersparametersdescriptionrequiredCapabilities
Update an existing protocol template (must be in draft status). Returns updated name and version.
输入参数id必填namestepsversionparametersdescription
Publish a draft protocol template, making it visible in the protocol library for others to discover and use.
输入参数id必填
Fork a protocol template to create your own version with parameter overrides. Returns the new fork ID.
输入参数id必填nameparameterOverrides
List all forks of a protocol template. Shows who forked it and what parameters they changed.
输入参数id必填
Validate a protocol template against a specific kernel — checks capability availability, transfer compatibility, and automation level feasibility.
输入参数id必填kernelId
List protocol runs. Filter by status or kernelId.
输入参数statuskernelId
Get protocol run status including step progress, transfer status, current phase, and evidence hashes.
输入参数runId必填
Instantiate a protocol template as a run on a specific kernel with given parameter values.
输入参数id必填kernelIdsampleIdsparameterValues
Start execution of a protocol run that is in 'ready' or 'binding' state.
输入参数runId必填
Pause a running protocol run. Use resume_protocol_run to continue.
输入参数runId必填
Resume a paused protocol run from where it stopped.
输入参数runId必填
Cancel a protocol run. Cannot be cancelled once completed or already cancelled.
输入参数runId必填
List active instrument workflows in the orchestrator. Optionally filter by status.
输入参数status
Get detailed workflow information including steps, node assignments, and progress.
输入参数workflowId必填
Get resource transfer graphs showing instrument topology, transfer edges, and mechanisms for all kernels.
无需输入参数。
List automation status for all instrument transfer pairs. Shows current automation level, episode count, and training readiness. Filter by kernelId.
输入参数kernelId
Get automation status for a specific instrument-to-instrument transfer pair.
输入参数toNodeId必填fromNodeId必填
Record a transfer episode for a node pair. Increments episode count toward VLA training threshold.
输入参数successtoNodeId必填episodeIdfromNodeId必填
Advance the automation level for a transfer pair (manual → teleoperated → pilot_operated → vla_assisted → fully_autonomous). Requires sufficient training episodes.
输入参数toNodeId必填fromNodeId必填
List all transfer agents (robots and human operators) available for instrument-to-instrument transfers.
无需输入参数。
Logistics hub overview: active shipments, pending installations, and upcoming bookings.
无需输入参数。
List equipment shipments with tracking status. Optionally filter by status.
输入参数status
Create a new equipment shipment with origin, destination, package details, and provider.
输入参数originpackageproviderIddestinationequipmentDescription必填
Get shipping quotes from logistics providers based on origin, destination, weight, and priority.
输入参数priorityweightKgoriginZipdestinationZip
List equipment installation orders with step progress and status.
输入参数status
List space bookings for hosting equipment. Optionally filter by status or space.
输入参数statusspaceId
Search for lab/workshop hosting spaces. Filter by size, access schedule, and other requirements.
输入参数accessmaxSqft
Get detailed information about a hosting space including power, amenities, safety features, and pricing.
输入参数id必填
Find hosting spaces that match specific machine requirements (voltage, area, etc.). Returns scored matches.
输入参数minAreavoltage
Equipment marketplace overview with demand/supply metrics across all capability types.
无需输入参数。
List equipment classes (FDM printers, CNC mills, etc.) with market snapshot data including utilization, demand, and pricing.
无需输入参数。
Get network-wide demand vs supply timeline data for capacity planning and market analysis.
无需输入参数。
Calculate ROI projection for onboarding equipment. Returns month-by-month revenue, cost, and break-even analysis.
输入参数avgJobValuemonthlyCostutilization
Not available: no route answers GET /api/operator on this gateway. The operator's real kernels, devices and in-flight jobs are at GET /api/agent/me.
无需输入参数。
Answers 501 not_available: operator machines with utilization and uptime are not recorded on this gateway. The operator's real kernels, devices and in-flight jobs are at GET /api/agent/me.
无需输入参数。
Answers 501 not_available: operator earnings history is not recorded on this gateway. Per-job payment state is at GET /api/jobs/:jobId/execution.
输入参数period
Answers 501 not_available: operator certifications are not recorded on this gateway (there is no certification store; certifications typed at registration are the operator's own claim and are not checked).
无需输入参数。
List all registered sensor channels across kernels. Returns channel descriptors with units and ranges.
无需输入参数。
Get sensor channels for a specific kernel. Returns live channel descriptors.
输入参数kernelId必填
Get settlement pipeline status including pending operations count, total value queued, and smart account address.
无需输入参数。
Get settlement epoch history showing past batch settlements with timing and operation counts.
无需输入参数。
DePIN treasury, soulbound capability certificates, and current reward epoch stats.
无需输入参数。
Mint a soulbound capability certificate (cNFT via Metaplex Core) for a kernel. Proves a verified capability on-chain as an immutable credential. Step 5 of onboarding.
输入参数metadatakernelDid必填assuranceTiercapabilityType必填
Register a new machine on the PCC network. Provide machine details to create a registration record. Include `operator` ({walletAddress, displayName, email}): without it the registration is recorded as operator 0x0000000000000000000000000000000000000000 / "Unknown", and prove cannot match it to you.
输入参数name必填modelcategory必填operatordescriptioncapabilitiesmanufacturer
AI analysis of machine documentation. Upload docs to get suggested capabilities, extracted specs, materials, and tolerances.
输入参数document
One-click agent onboarding with an invite code. Provisions wallet, identity, LLM access, and PCC tools in a single call.
输入参数nameemail必填password必填inviteCode必填
Validate an invite code before redeeming it. Returns whether the code is valid and what it includes.
输入参数code必填
List active and completed settlement batches.
无需输入参数。
List encrypted evidence bundles stored in the gateway.
无需输入参数。
Signal that you want a capability that doesn't exist on the network yet. Creates a demand signal and may auto-create a bounty if enough demand accumulates.
输入参数description必填requesterId必填assuranceTiercapabilityType必填estimatedJobValueestimatedFrequency
List open bounties for capabilities the network needs. Operators can claim these to earn rewards by onboarding new capabilities.
输入参数statuscapabilityType
Claim a bounty to onboard a new capability. The operator commits to registering the capability and completing verification.
输入参数bountyId必填operatorId必填
Verify bounty completion by scoring the delivered capability against requirements.
输入参数jobId必填score必填bountyId必填
Get top demand signals aggregated by capability type. Shows which capabilities are most wanted on the network.
输入参数limit
Get the bounty hunter leaderboard showing top operators by bounties claimed and verified.
输入参数limit
Create an investment pool for a capability bounty. Stakers earn future protocol fees when the capability goes live.
输入参数currencydescription必填targetAmountcapabilityType必填
Stake USDC or credits into a capability investment pool.
输入参数amount必填poolId必填staker必填
Check earnings from capability investment pools for a staker address.
输入参数staker必填
Get details of a specific investment pool including stakes, status, and revenue share terms.
输入参数poolId必填
List all investment pools. Optionally filter by status or capability type.
输入参数statuscapabilityType
Close an investment pool to new stakes. Pool enters sunset phase.
输入参数poolId必填
Operator claims an investment pool reward after capability verification.
输入参数poolId必填operatorId必填
Convert an existing bounty into an investment pool. Allows community staking toward the bounty's capability.
输入参数bountyId必填
Get Bittensor verification subnet health, agent bridge status, and network connectivity.
无需输入参数。
List verification subnet miners on the Bittensor network. Returns miner addresses, scores, and leaderboard positions.
无需输入参数。
List agent-to-agent conversations showing topic, participants, message count, and status.
无需输入参数。
Submit a bug report, suggestion, or general feedback about the PCC network.
输入参数pagetypemessage必填
Report a detected anomaly — protocol failure, evidence mismatch, stuck job, or suspicious behavior. All agents on the network are notified.
输入参数jobIdcategory必填severity必填description必填targetAgentId
List all unresolved anomalies on the network. Filter by severity, category, or target agent.
输入参数categoryseveritytargetId
Get anomalies involving a specific agent, plus their trust impact score.
输入参数agentId必填
Mark an anomaly as resolved with a resolution note.
输入参数anomalyId必填resolution必填
Get aggregate anomaly statistics — total, unresolved, by severity, by category.
无需输入参数。
Report a protocol failure — when a step in the evidence/escrow/verification pipeline breaks. System may auto-recover.
输入参数jobIdprotocol必填errorCode必填errorMessage必填involvedAgents必填recoveryAction
Query the DHT for capabilities matching your requirements. Returns announcements from operators whose equipment matches the type, materials, and price range you specify.
输入参数typelimitmaxPricematerials
Announce capabilities to the DHT network. Signs the announcement with your node's Ed25519 key and broadcasts to connected peers.
输入参数kernelId必填ttlSecondscapabilities必填
List known DHT peers and their connection status. Shows which nodes are currently connected to the gossip network.
无需输入参数。
Create an execution scope for a job. Scopes define exactly which tool calls are allowed on a kernel during a job, with command budgets, retry limits, and time-to-live. Required before issuing SCOPED WRITE operations (protocol upload, run create, run action).
输入参数jobIdkernelId必填maxRetriesttlMinutesmaxCommandsallowedSlotsallowedTools必填protocolHashallowedPipettes
Revoke an execution scope immediately (emergency stop). All pending tool calls under this scope are rejected. The kernel enters a stopped state. A new scope must be created to resume.
输入参数scopeId必填
Get the audit trail for an execution scope — every tool call made under this scope, with validation results, timestamps, and outcomes.
输入参数scopeId必填
Relay a tool call to a device executor. The brain (LLM) posts tool calls here; the executor (on the device) polls for them and executes locally. Used for the brain/executor split architecture.
输入参数scopeIdkernelId必填toolArgs必填toolName必填
Get the result of a previously relayed tool call. Poll this endpoint until the executor has processed the call and posted results.
输入参数callId必填
Get the latest camera frame from a kernel as a JSON snapshot (base64 JPEG + metadata). For raw JPEG image, use GET /api/ot2/camera/latest directly.
输入参数kernelId必填
Send a chat message to a kernel's operator or agent. Used for human-in-the-loop communication during job execution, troubleshooting, and escalation.
输入参数rolemessage必填kernelId必填
Get chat history with a kernel. Returns messages between agents, operators, and users for a specific kernel.
输入参数limitkernelId必填
Approve a submitted machine registration. Moves it from 'submitted' to 'approved' status, enabling the operator to activate and start accepting jobs.
输入参数registrationId必填
Reject a machine registration with a reason. The operator can see the rejection reason and resubmit.
输入参数reasonregistrationId必填
Activate an approved registration, making the operator's equipment live on the network and ready to accept jobs.
输入参数registrationId必填
Fast-track: submit evidence that your device works and get auto-approved + activated immediately. No manual review needed. Submit a photo of test output, device health snapshot, or a full evidence bundle with completion events. If evidence meets requirements, registration jumps straight to 'active'.
输入参数evidence必填registrationId必填
List all machine registrations on the network. See pending, approved, active, and rejected registrations. Public endpoint — no auth required.
无需输入参数。
Get details of a specific machine registration by ID, including capabilities, pricing, operator info, and current status.
输入参数registrationId必填
Get NEAR Protocol chain-abstraction integration status. Returns supported chains (near, eth, base, arbitrum, optimism, polygon), supported assets (USDC, USDT, NEAR, ETH, WBTC), and capability flags. Use this to confirm cross-chain settlement is available before requesting quotes.
无需输入参数。
Get a cross-chain payment quote from the NEAR 1Click solver network (chaindefuser.com). Provides optimal routing and fee estimates for funding PCC escrow contracts using any source asset on any supported chain. Call near_status first to confirm available chains/assets.
输入参数amount必填toAsset必填toChain必填fromAsset必填fromChain必填recipient
Submit a cross-chain payment intent to the NEAR 1Click solver network. Creates a signed intent that routes the payment atomically across chains. Call near_quote first to obtain a quoteId. Intents typically settle within 30-60 seconds — poll near_intent_status to track progress.
输入参数quoteId必填recipientworkflowId必填
Check the settlement status of a submitted NEAR 1Click cross-chain payment intent. Statuses progress: pending → submitted → settled | failed. Returns txHash and explorerUrl when settled.
输入参数intentId必填
Read the PCCProtocol root contract state: current fee rate, total protocol fees collected, total escrow count, and registry addresses. Requires PCC_PROTOCOL_ADDRESS to be configured on the gateway.
无需输入参数。
Calculate the protocol fee for a given USDC amount (6-decimal units). Returns the fee, the net amount after fee, and formatted versions of both. Use this before building escrow contracts to understand the true cost.
输入参数amount必填
Get total protocol fees collected for a specific ERC-20 token address across all escrows. Returns raw wei amount and human-readable formatted value.
输入参数tokenAddress必填
Get protocol fees collected from a specific escrow contract. Also returns whether the escrow was deployed via the protocol factory. Useful for auditing fee flows.
输入参数escrowAddress必填
Create a new MilestoneEscrow contract via the PCCProtocol factory on-chain. Protocol-deployed escrows have fee collection and registry tracking built in. Requires PCC_GATEWAY_PRIVATE_KEY write access.
输入参数cwmId必填payer必填token必填arbiter必填
Get a snapshot of DHT telemetry counters and recent events. Returns message counts, peer connection stats, query/announce rates, and a list of the last 50 metric events. Use for monitoring network health.
无需输入参数。
List all supplies and materials marketplace categories with the count of active listings in each. Categories cover the full spectrum of physical production inputs: raw metals, plastics, lab reagents, consumables, electronics, tooling, and more.
无需输入参数。
marketplace_list_listings
Search and filter supplies/materials marketplace listings. Operators buy raw materials here to fulfill capability contracts. Filter by category, in-stock status, location, or free-text query.
输入参数queryinStockcategorylocation
Get full details of a specific supplies/materials marketplace listing by ID. Returns pricing, availability, lead time, location, and tags.
输入参数id必填
marketplace_create_listing
Create a new supplies/materials listing in the marketplace. Suppliers post available raw materials, lab reagents, tooling, or consumables for other operators to purchase.
输入参数name必填tagsunit必填inStockcategory必填locationmaxOrderminOrdersellerIddescriptionleadTimeDayspricePerUnit必填
marketplace_update_listing
Update an existing supplies/materials listing (price, stock status, description, etc.). Pass only the fields you want to change.
输入参数id必填tagsinStockdescriptionleadTimeDayspricePerUnit
marketplace_delete_listing
Remove a supplies/materials listing from the marketplace. The listing is immediately hidden from search results.
输入参数id必填
Place a purchase order for supplies or materials. Calculates total price automatically (quantity × pricePerUnit). Returns an order with 'pending' status. Optionally links to an on-chain escrow for trustless settlement.
输入参数buyerIdquantity必填listingId必填escrowAddress
List marketplace supply orders. Filter by buyerId, sellerId, or status. Returns order history with pricing and status.
输入参数statusbuyerIdsellerId
Get details of a specific supply order including the associated listing details, quantity, total price, status, and optional escrow address.
输入参数id必填
Raw system state dump — actual DB rows for kernels, devices, jobs, evidence, registrations, capabilities, agent conversations, audit log. No fake numbers, no summaries.
无需输入参数。
Operator polls jobs assigned to their kernel; status defaults to queued, and the route can filter any status. Requires operate authority for this kernel: its recorded operator identity (the caller that registered it), its proven operator wallet, or the gateway admin authority. Another identity gets 403; no credentials gets 401; an unregistered kernel gets 404 for a non-admin. Operator identity proof for operate is completed by WP-A (DECISIONS items 136 and 138). The pcc-node 0.1.1 daemon does not call it: it takes no jobs.
输入参数kernelId必填
Operator pushes evidence bundle from a completed job execution. Requires decide authority for the stored job's kernel: its proven operator wallet or the gateway admin authority. A matching claimed operator key gets 403 operator_proof_required. Evidence takes decide, per DECISIONS 2026-10-04 01:25 (N31c). Evidence is posted with the kernel's proven operator wallet authority (decide). The body's kernelId cannot choose the authorization target. No credentials gets 401 before the job read; a job without a kernel gets 403 for a non-admin. Contains device ID, execution timestamp, result payload, and event timeline. Success is a receipt with stored: true naming this jobId. HTTP 200 with stored: false means nothing was stored: never follow it with status completed.
输入参数jobId必填evidence必填kernelId必填
Operator sends heartbeat with capability re-announcement. Keeps the kernel alive on the network and updates its own capability rows. Requires operate authority for this kernel: its recorded operator identity (the caller that registered it), its proven operator wallet, or the gateway admin authority. Another identity gets 403; no credentials gets 401; an unregistered kernel gets 404 for a non-admin. Operator identity proof for operate is completed by WP-A (DECISIONS items 136 and 138).
输入参数kernelId必填capabilities
operator_update_job_status
Operator reports a job's status (in_progress, completed, failed). Requires operate authority for the stored job's kernel: its recorded operator identity (the caller that registered it), its proven operator wallet, or the gateway admin authority. The body's kernelId cannot choose the authorization target. Another identity gets 403; no credentials gets 401 before the job read; a job without a kernel gets 403 for a non-admin. Operator identity proof for operate is completed by WP-A (DECISIONS items 136 and 138). The node path finishes a job in two calls: submit its evidence (POST /api/operator/evidence, posted with the kernel's proven operator wallet authority, decide), and only if that receipt says stored: true for this jobId, set status completed here. HTTP 200 alone is not enough: the relay answers 200 with stored: false when it could not store the evidence (an unknown job, a storage failure); then set failed with the reason evidence_not_stored. On the current gateway, completed marks the job done and its timeline then says settled, but the escrow is not released yet (board G1). Do not call pcc_job_complete after this: it answers 409.
输入参数jobId必填status必填kernelId必填metadata
Fast-track paid job: one call from DHT discovery to funded escrow + active scope. Auto-negotiates, quotes, creates escrow with milestones, creates execution scope. Returns jobId, scopeId, escrowId, quote with pricing adjustments, contract terms. For testnet, escrow is mock-funded automatically.
输入参数kernelId必填parametersuserAgentId必填paymentMethodcapabilityType必填
Complete a job: gathers tool call audit trail from execution scopes, builds evidence bundle with SHA-256 hash, stores evidence, revokes scopes, and settles escrow (mock or real). This is how a job run through execution scopes is finished. A node that submitted its evidence and set status completed (operator_update_job_status) must not call it: it then answers 409 ("Job already completed or completion in progress").
输入参数jobId必填message
Get a job's settlement status from its own escrow records: status (settled only when a settlement read confirms the release; reported_released when the milestone record says released but nothing confirms it; simulated for a mock escrow; awaiting_settlement, no_settlement_record, unknown or unavailable otherwise), settled, payout, paidAmount (confirmed releases only), reportedReleasedAmount, quotedAmount, currency (recorded or null), escrow, milestones, the negotiation session, notices and asOf.
输入参数jobId必填
Get the tool manifest for a kernel's device type. Lists all available tools with their safety classification (read, safe_control, scoped_write, privileged) and input schemas. Use to understand what tools are available before making tool calls.
输入参数kernelId必填
pcc_relay_generic_tool_call
Relay a tool call to any kernel's device executor via the generic relay (not OT-2 specific). Works with any device type. Safe tools (read/safe_control) don't need a scope. Scoped write tools require an active execution scope. Returns a call ID — poll pcc_get_tool_result for the response.
输入参数argsscopeIdkernelId必填toolName必填
Submit a high-level capability request in natural language. The system automatically decomposes it into a capability DAG with dependencies, timelines, and budget allocation across fabrication, design, assembly, electronics, software, logistics, and verification nodes. Returns the request with full decomposed DAG. Example: 'Build a cute animatronic plush desk robot with servo-driven animations'.
输入参数title必填budgeturgencycurrencydeadlinedescription必填requesterEmailrequesterWallet
List all capability requests with optional filtering. Shows status, decomposed DAG summary, estimated costs, and timelines.
输入参数statusurgencyrequesterEmail
Get a capability request by ID with the full decomposed DAG — all capability nodes, their dependencies, estimated costs/hours, assigned operators, and linked bounty IDs.
输入参数requestId必填
Re-trigger decomposition of an existing capability request. Overwrites the existing capability DAG with a fresh decomposition. Useful after updating the description or budget.
输入参数requestId必填
Publish all pending capability nodes in a request as bounties. Each node becomes a bidding opportunity for operators. Returns the list of created bounty IDs linked to each capability node.
输入参数requestId必填
Get the capability DAG (directed acyclic graph) for a request as adjacency data — nodes with all fields plus explicit edges showing dependency relationships. Useful for visualization or workflow planning.
输入参数requestId必填
pcc_get_request_critical_path
Get the critical path (longest dependency chain) for a capability request. The critical path determines the minimum calendar time to complete the request. Returns node IDs in order, the full node details, and total hours on the critical path.
输入参数requestId必填
Assign an operator to a specific capability node within a request. The node status changes to 'assigned'. Operators claim nodes to indicate they will execute that capability.
输入参数nodeId必填requestId必填operatorId必填
Update the status of a capability node within a request. Valid transitions: pending → bidding → assigned → in_progress → completed (or failed). When all nodes complete, the request automatically moves to completed.
输入参数nodeId必填status必填requestId必填
Update a capability request's title, description, budget, deadline, urgency, or contact info. Does not re-decompose — call pcc_decompose_request afterwards if you want a fresh DAG.
输入参数titlebudgeturgencydeadlinerequestId必填descriptionrequesterEmailrequesterWallet
Cancel a capability request. Cancelled requests cannot be updated, decomposed, or published. This is a soft delete — the request remains visible with status 'cancelled'.
输入参数requestId必填
Not served by the PCC gateway: GET /api/oracle/health returns 404 there. PCC's verification oracle runs as a separate service, and this route answers only where a deployment fronts it. Agents never call the oracle to settle a job: settlement is the gateway's step after pcc_job_complete. Where it is served, it returns the oracle's EIP-712 signing address and chain ID.
无需输入参数。