{"uid":"cap_ZJ3-qbcQItj2ndZvnI2zo","slug":"foreverbetter-health-data-query-557dcc9f","name":"ForeverBetter Health Data Query","description":"Ask a grounded question across health data and analyses owned by the paying wallet.","url":"https://api.foreverbetter.xyz/query","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["query"],"properties":{"query":{"type":"string","description":"Question to answer from the wallet-owned health context."},"analysis_ids":{"type":"array","items":{"type":"string"},"description":"Optional analysis IDs to focus on."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"answer":"...","evidence":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZCVZ6hf8ENQRNp6BihhWZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Answers grounded natural-language questions over health data and analyses owned by the paying wallet.","exampleAgentPrompt":"Ask my ForeverBetter health workspace: based on my latest biomarker and genetics analyses, what are the most significant factors affecting my metabolic health?","exampleUseCases":[{"title":"Interpreting latest blood panel results","prompt":"Based on my most recent biomarker analysis in my health workspace, can you explain what my cholesterol and insulin levels say about my cardiovascular risk?"},{"title":"Genetics insight for a lifestyle decision","prompt":"Using my genetics data, ask my health workspace whether I have any variants that affect caffeine metabolism or sleep quality."},{"title":"Cross-analysis health trend query","prompt":"Look across all my health analyses and tell me whether my inflammation markers have been trending up or down over the past few months."}],"resultDescription":"A grounded, data-backed answer derived from the wallet-owner's personal health data and analyses, potentially referencing specific biomarker values, genetic variants, wearable readings, or prior analysis outputs.","failureModes":["No health data or analyses found for the wallet — returns empty or error response","Ambiguous query that cannot be resolved against available data","Invalid or inaccessible analysis_ids provided","Payment not attached or insufficient USDC — request rejected","Query outside the scope of stored health context — no grounded answer available"],"whenToPreferThis":"Use this endpoint when you need to ask an open-ended natural-language question against a user's private, wallet-scoped health data — especially when the answer should be grounded in their actual biomarker results, genetics analyses, or wearable data rather than generic health information. Prefer this over the analysis-specific endpoints (recommendations, action plan, dashboard) when the question spans multiple analyses or data types, or when the user's intent is exploratory rather than requesting a specific structured output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:43:44.489Z","isFirstParty":false}