{"uid":"cap_p42do1DksNGjiTLmXKiRc","slug":"x402-api-aubr-ai-2467ca38","name":"Aubrai Encrypted Literature Search (TEE)","description":"Send an HPKE-sealed literature query to Aubrai and receive an encrypted result. The transport terminates at Aubrai; literature retrieval and evidence processing use external services. Always async — poll the returned pollUrl.","url":"https://x402-api.aubr.ai/api/literature/encrypted","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"hpke_ciphertext":{"type":"string","description":"HPKE-encrypted literature query, base64-encoded"},"hpke_ephemeral_public_key":{"type":"string","description":"Sender's one-time X25519 public key, base64-encoded"}}},"responseSchema":{"type":"json","example":{"status":"pending","pollUrl":"/api/literature/encrypted/status/req_abc123","requestId":"req_abc123"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZWNm-lR4BHLyW69aAgtcY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","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 literature query to the Aubrai longevity research agent running inside a Tinfoil TEE and returns a poll URL for the encrypted result.","exampleAgentPrompt":"I need to privately query the Aubrai longevity research agent about the role of senolytic compounds in lifespan extension — encrypt my question using HPKE with my ephemeral X25519 public key and send it to the secure enclave, then give me the poll URL so I can retrieve the encrypted result.","exampleUseCases":null,"resultDescription":"Returns a pollUrl that the agent must poll to retrieve the encrypted research synthesis. The final polled result is an HPKE-encrypted payload containing synthesized scientific literature findings on the submitted longevity or aging query, decryptable only by the sender's private key.","failureModes":["Missing or malformed hpke_ciphertext causes a 400 error","Invalid base64 encoding of ciphertext or public key returns a parse error","Missing hpke_ephemeral_public_key results in rejection","TEE enclave unavailable or overloaded may return 503","Poll URL expires before result is retrieved, requiring a new query","x402 payment not completed or insufficient USDC returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when the user requires end-to-end encrypted, privacy-preserving literature queries where neither the operator nor the server can read the query or response — specifically useful for sensitive research questions about longevity, aging, or lifespan science that must remain confidential. Prefer over the plaintext literature search endpoint when data privacy or confidentiality is a requirement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T03:42:36.070Z","isFirstParty":false}