{"uid":"cap_qEtxhhMAScmmTpPoG868C","slug":"x402-api-aubr-ai-5f1d8352","name":"Aubrai Encrypted Chat Agent (TEE)","description":"Send an HPKE-encrypted prompt to the Aubrai chat agent running inside an attested private enclave. Only the enclave can decrypt your message.","url":"https://x402-api.aubr.ai/api/chat/encrypted","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"hpke_ciphertext":{"type":"string","description":"HPKE-encrypted prompt, base64-encoded"},"hpke_ephemeral_public_key":{"type":"string","description":"Sender's one-time X25519 public key, base64-encoded"}}},"responseSchema":{"type":"json","example":{"status":"queued","pollUrl":"/api/chat/encrypted/status/req_abc123","requestId":"req_abc123"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_koLkfxMDrD6Gh_5_egff8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends an HPKE-encrypted prompt to the Aubrai chat agent running inside a Tinfoil Trusted Execution Environment, ensuring only the secure enclave can decrypt and process the message.","exampleAgentPrompt":"Send my encrypted question to the Aubrai chat agent inside the Tinfoil TEE — here's the HPKE ciphertext and my ephemeral X25519 public key, both base64-encoded, so only the enclave can decrypt and answer it.","exampleUseCases":null,"resultDescription":"The agent receives the chat response generated by the Aubrai AI agent running inside the Tinfoil TEE after decrypting and processing the encrypted prompt. The response contains the AI's answer to the submitted query, returned in plaintext after enclave-side decryption.","failureModes":["Invalid or malformed base64 ciphertext returns a decryption error","Mismatched or invalid ephemeral public key causes HPKE key agreement failure","Payment not included or insufficient USDC causes 402 Payment Required response","TEE enclave unavailable or cold-starting returns a 503 or timeout","Ciphertext encrypted for wrong enclave public key results in decryption failure"],"whenToPreferThis":"Choose this endpoint when privacy and confidentiality of the prompt are paramount — specifically when you need cryptographic assurance that even the service operator cannot read your query. Ideal for sensitive questions, proprietary data, or compliance-sensitive interactions where end-to-end encryption via HPKE and a hardware-backed TEE (Tinfoil) is required. Prefer this over plain chat endpoints when the content must remain confidential in transit and at rest outside the enclave.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T03:42:36.331Z","isFirstParty":false}