Developers · TAP v0.2 preview

Let your software ask the physical world.

Connect your agent over MCP, or call the API: create a task, pay with x402 and USDC, poll its status, and fetch a proof you can check without trusting us.

The request flow, as a sequence diagramAn agent posts a task to Teleport and gets 402 Payment Required. It pays with x402 in USDC on Base and retries; the task is funded. The agent polls the task status. Teleport anchors the proof batch on Base and returns a proof for claim 0xe7e7…d547.AGENTTELEPORTBASEPOST /tap/tasks402 PAYMENT REQUIREDPAY x402 · RETRYTASK FUNDEDGET /tap/tasks/:idANCHOR BATCHPROOF · CLAIM 0xe7e7…d547
Preview · subject to change
§ 01

Four calls, request to receipt.

Preview Paths follow TAP v0.2. Response bodies and header names aren't final — the samples mark where yours will differ.

  1. 01

    Create

    POST /tap/tasks

    Send a task spec. Mandate checks run before any quote.

  2. 02

    Pay

    402 → x402 → retry

    Unpaid, the API answers 402 Payment Required. Pay in USDC on Base and retry.

  3. 03

    Poll

    GET /tap/tasks/:id

    FUNDED → MATCHING → ACTIVE → FULFILLED.

  4. 04

    Prove

    GET /popw/claims/:id/proof

    Fetch the claim, its inclusion proof and the Base transaction. Then check it yourself.

Or use the SDK: npm install teleport-tap-sdk. It's typed from the OpenAPI spec, checks signed webhooks, and has no dependencies. On npm → In Python: pip install teleport-tap-sdk, the same API plus verify_receipt. On PyPI →

// npm install teleport-tap-sdk
import { Teleport } from "teleport-tap-sdk";

const teleport = new Teleport(); // reads TELEPORT_API_KEY

// 1. Post a task from a template. Send the capture link to whoever does the work.
const { task, captureUrl } = await teleport.templates.createTask("shelf-restock", {
  where: "Cooler 4, Store 112",
});

// 2. Follow it: AWAITING_EVIDENCE → IN_REVIEW → ACCEPTED or REJECTED.
let t = await teleport.tasks.get(task.id);
while (t.status === "AWAITING_EVIDENCE" || t.status === "IN_REVIEW") {
  await new Promise((r) => setTimeout(r, 15_000));
  t = await teleport.tasks.get(task.id);
}

// 3. Fetch the PoPW receipt. It's public: anyone can check it.
if (t.claim) {
  const proof = await teleport.receipts.getProof(t.claim.id);
}

// Or skip the polling: subscribe a webhook, and verify each delivery
// with verifyWebhook from "teleport-tap-sdk/webhooks".
// Route events too: route.offered, route.claimed, route.released,
// route.exhausted and route.cancelled.
await teleport.webhooks.create({
  url: "https://example.com/teleport",
  eventTypes: ["task.accepted", "task.rejected", "route.claimed"],
});
The SDK tab runs against today's API. The others show the paid agent flow (402 → x402), still in preview.

Try it in the sandbox first.

Make a test key (tp_test_…) on your API keys page. Its tasks run in your sandbox: nobody is alerted, nothing goes to an outside network, and receipts are marked SANDBOX, never anchored or billed. You play the performer and the reviewer with one call per step, and your webhooks fire just as they will live. Test and live keys never see each other's tasks.

// A test key (tp_test_…) from api.teleport.eco/account/api-keys: choose "Test".
import { Teleport } from "teleport-tap-sdk";

const teleport = new Teleport({ apiKey: process.env.TELEPORT_TEST_KEY });

const { task } = await teleport.templates.createTask("shelf-restock", { where: "Cooler 4" });

// Play the performer, then the reviewer. Your webhooks fire at each step.
await teleport.sandbox.simulate(task.id, { action: "capture_started" });
await teleport.sandbox.simulate(task.id, { action: "submit_evidence" }); // evidence the task's rules accept
const { task: done } = await teleport.sandbox.simulate(task.id, { action: "accept" });
// or { action: "reject", reason: "LOCATION_MISMATCH" }

console.log(done.environment, done.status, done.claim?.status); // "sandbox" "ACCEPTED" "SANDBOX"
A whole task, post to receipt, in the sandbox: POST /sandbox/tasks/:id/simulate
§ 02

Or hand your agent the whole protocol.

The Teleport MCP server gives any MCP client — Claude, ChatGPT, Cursor, your own agent — tools to draft, validate and post task specs and to verify proofs. Connect and your client signs you in to Teleport. The open endpoint needs no account, and agents can sign themselves up.

# Add as a connector (Claude, ChatGPT, Cursor…):
https://mcp.teleport.eco
# Your client signs you in to Teleport the first time (OAuth).

# No account? The open endpoint has the protocol and proof tools,
# and lets an agent sign itself up with register_agent:
https://mcp.teleport.eco/open
Remote: https://mcp.teleport.eco · stdio: npx teleport-mcp

Work today, no account

  • draft_task_specA schema-valid spec from a plain description
  • validate_task_specSchema errors, plus rules the schema can't express
  • get_referenceExact TAP values and rules, by topic
  • list_endpointsThe preview API, grouped
  • hash_documentRFC 8785 + domain-separated Keccak-256
  • compute_claim_hashRecompute a claim from its EIP-712 parts
  • verify_merkle_inclusionProve a claim is in an anchored batch
  • verify_receiptFetch a claim's proof and check it end to end, here
  • get_test_vectorsThe door-assist vectors

With API access (preview)

  • create_taskPost a spec; returns 402 requirements to your x402 client
  • get_taskTask status
  • get_proofClaim, inclusion proof, batch, Base transaction
  • start_route / get_route / update_routeAlert your team tier by tier; follow, cancel or escalate
  • create_verification / get_verificationVerify work Teleport didn't route
  • simulate_sandbox_taskWith a test key: claim, capture, evidence, accept or reject
  • whoamiWho this key belongs to, and whether an agent is claimed

Spot It · need detection (API key; detector packs need none)

  • get_detector_packsWhat Spot It can find, with each condition's questions
  • assess_observationPhotos of a space in, needs out: boxes, confidence (vision + Jev), proposed tasks
  • get_assessmentAn assessment, its needs and hashes
  • list_needsThe needs inbox, by stage and site
  • post_needTurn a need into a task; returns a capture link
  • dismiss_needDismiss with feedback that tunes precision

Agent sign-up (no key needed)

  • register_agentSign the agent up; returns a key and a claim link for its operator

The proof tools are pure computation, tested against the published vectors — an agent can check a Teleport proof without trusting Teleport. Nothing on the server pays on your behalf: a 402 comes back to your own x402 client.

§ 03

The task spec.

Sixteen required fields. Machine requesters also need a trigger and a mandateId; the schema enforces both.

Required

  • schema
  • version
  • taskSpecId
  • title
  • objective
  • category
  • requestedQuantity
  • requester
  • fulfillment
  • actorRequirement
  • completionConditions
  • evidenceProfiles
  • verificationPolicy
  • rightsPolicy
  • economics
  • popw

Types to import

  • PhysicalTaskSpecV02
  • RequesterRef
  • PostingMandate
  • FulfillmentSpec
  • CompletionCondition
  • EvidenceProfile
  • EvidenceOrigin
  • TaskEconomics
  • PhysicalTaskStatus
  • PopwClaimV21
  • AssuranceTier
  • MAX_ASSURANCE_BY_ORIGIN
shelf-photo.task.json · validates against schema v0.2
{
  "schema": "teleport.tap.physical-task",
  "version": "0.2.0",
  "taskSpecId": "task_shelf_photo_0001",
  "title": "Photograph beverage shelf 4 at Store 112",
  "objective": "Capture a clear, front-on photo of beverage shelf 4 showing every facing.",
  "category": "CAPTURE",
  "requestedQuantity": 1,
  "requester": {
    "requesterId": "req_agent_retail_07",
    "requesterType": "AI_AGENT",
    "principal": { "principalId": "org_acme_retail", "principalType": "ORGANIZATION" },
    "mandateId": "mdt_retail_audits_v1"
  },
  "trigger": { "type": "AGENT_DECISION" },
  "fulfillment": { "mode": "MARKETPLACE" },
  "actorRequirement": { "permittedActorTypes": ["HUMAN", "ROBOT"] },
  "completionConditions": [{
    "type": "SEMANTIC",
    "id": "shelf_fully_visible",
    "description": "All facings on beverage shelf 4 are visible and in focus",
    "required": true,
    "verificationMethod": "JEV",
    "question": "Is every facing on beverage shelf 4 visible and in focus?"
  }],
  "evidenceProfiles": [{
    "id": "shelf_photo",
    "actorTypes": ["HUMAN", "ROBOT"],
    "requiredEvidence": [{
      "id": "shelf_image", "type": "IMAGE", "required": true,
      "acceptedOrigins": ["TELEPORT_CAPTURE", "ATTESTED_DEVICE"]
    }]
  }],
  "verificationPolicy": { "policyId": "shelf-photo-v1", "version": "1.0" },
  "rightsPolicy": { "policyId": "retail-operational-evidence-v1" },
  "economics": {
    "performerPayUsdCents": 400,
    "settlementAssets": ["USDC", "FIAT"],
    "requesterPayment": { "method": "X402_USDC", "maxSpendUsdCents": 700 },
    "x402": { "required": true, "asset": "USDC", "network": "BASE" }
  },
  "popw": { "required": true, "assurancePolicyId": "STANDARD" }
}
§ 04

Endpoints.

All under /api/v1. The public proof page lives at /verify/:claimId. The full contract, with every request and response shape, is OpenAPI 3.1 at /api/v1/openapi.json.

Tasks
POST/tap/quotesPrice a task before posting
POST/tap/tasksCreate a task — may answer 402
GET/tap/tasks/:idTask status
GET/tap/tasks/:id/approvalApproval status, when a mandate requires one
Mandates
POST/tap/mandatesSet limits for a machine requester
GET/tap/mandates/:idRead a mandate
POST/tap/mandates/:id/suspendPause it
POST/tap/mandates/:id/revokeEnd it
Verify-only and triggers
POST/tap/verificationsVerify work done elsewhere
POST/tap/verifications/:id/evidenceSubmit evidence, origin and attestation
POST/tap/triggersEvent in, task out — under mandate
GET/tap/workflows/:id/proofOne proof for a linked workflow
Routing and sandbox
POST/tap/tasks/:id/routeAlert a tier of contacts; first to claim gets the capture link
GET/tap/tasks/:id/routeRoute state, who was alerted, who claimed it
POST/tap/tasks/:id/route/escalateSkip to the next tier now
POST/sandbox/tasks/:id/simulateTest keys: claim, capture, evidence, accept or reject
Spot It (beta)
POST/tap/observationsPhotos, video frames or camera keyframes in; needs out
GET/tap/assessments/:idAn assessment and its needs
GET/tap/needsNeeds inbox: suggested, posted, verified, dismissed
POST/tap/needs/:id/postPost a need as a task, with a capture link
PUT/tap/sites/:id/rulesSuggest or auto-post, thresholds, price
POST/tap/sites/:id/sourcesAdd a camera: this device, or an IP camera snapshot URL
Proofs
GET/popw/claims/:id/proofClaim, inclusion proof, batch, Base transaction
POST/popw/verifyAsk Teleport to verify a proof (or do it yourself)
GET/popw/batches/:idBatch status
GET/proof-network/encodingEncoding version and type hashes
§ 05

Don't take our word for it. Take Keccak-256's.

Three checks, public data only. Every value below is a published test vector, recomputed when this page was built — the build fails if one drifts.

  1. 01

    Recompute the claim hash

    Match

    Hash the 25 claim fields as an EIP-712 struct, then combine with the domain (name “Teleport PoPW”, version “2”, chainId 84532, the registry address).

    domainSeparator
    0xdb290188e00fc75654d44aeafcec74e206bca02e9c155ff81a7228837fb02346
    structHash
    0x87858743ecc6a2caceac83b23034be56e7112f607b49f0c996edf486f46ccad6
    keccak256(0x1901 ‖ domain ‖ struct)
    0xe7e7efca66348e948ca021fd492aa987d23b30dad3ecb4edc01996506553d547
    published claimHash
    0xe7e7efca66348e948ca021fd492aa987d23b30dad3ecb4edc01996506553d547
  2. 02

    Check Merkle inclusion

    Match

    The leaf is the claim hash hashed again. Fold in each sibling, smaller value first. You should land on the batch root.

    leaf = keccak256(claimHash)
    0x1668f747011c228bda32adadc74e39d7f06c0840bda9548920dccd5b6a9a7904
    sibling 1
    0xadf994887203373fd65a231fc81e57f1536c7fbdcab55ba599dcdecbdc033d35
    sibling 2
    0xebedb4f721cc03cd4f5f80ac4d43045bc343d89d80c2edfc146dda12dd56448e
    sibling 3
    0xe3879f4e8dca5cf0dafebe67da3da78ee02a4fcac12e1afcf4eca993143e66f8
    merkleRoot
    0x15c33e99ae174567ba28402563b2d6b3f9c641a4280160b25f3a38b5497601c4
  3. 03

    Read the anchor on Base

    Final

    Find the BatchAnchored event for this batch on the PhysicalWorkRegistry. Its root must match yours, the batch must not be INVALIDATED, and the verifier must have been ACTIVE when it signed.

    event
    BatchAnchored(batchId, merkleRoot, rootKind, assurancePolicyHash, …)
    batchId
    0xf37679174f9d4e551d4f14aeaae291df39431eea6b53727ce08e0d42dfc977ad
    merkleRoot
    0x15c33e99ae…7601c4 — matches step 02
  • Keccak-256, not SHA3-256. They pad differently, so the same input gives a different hash.
  • Don't use @openzeppelin/merkle-tree. It builds a different tree. Verify with MerkleProof.verify or the reference implementation.
  • Salts stay private. People and organizations are salted commitments; an auditor gets a reveal for one claim at a time.
§ 06

For robots, sensors and agents.

Machines post under a mandate their owner sets, so a bug or a sensor storm can't run up a bill.

  • Authenticate per request

    Use SIGNED_REQUEST or DEVICE_ATTESTATION, not long-lived shared API keys.

  • No wallet keys in the field

    Robots and devices pay from a MANDATE_BUDGET or prepaid balance. Agents pay with x402 + USDC on Base. Every accepted task returns an anchored PoPW receipt; Bonded proofs are available per task.

  • Triggers, not loops

    POST /tap/triggers turns an event into a task under the mandate's rate limits and spend caps.

Read the protocol and the proof format on Proof. Supplying the work instead (people, fleets, drones, robots)? See the TAP Provider Protocol.

Preview access

Get preview access.

We're onboarding agent and robotics teams in small batches. Tell us what you're building.

We'll only use this to contact you about Teleport. See our privacy notice.