# ForeverBetter Dashboard Specification Retrieval

> ForeverBetter Dashboard Specification Retrieval is a paid API for AI agents from api.foreverbetter.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns a renderer-neutral custom dashboard specification for a specific health/wellness analysis owned by the requesting wallet.

## Facts

- Endpoint: GET https://api.foreverbetter.xyz/dashboard-specs/:analysisId
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foreverbetter-dashboard-specification-retrieval-aa10b174
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sWV0wxSZssdrgg_ic4bmt

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability foreverbetter-dashboard-specification-retrieval-aa10b174
```

Example prompt: Pull the dashboard specification for my ForeverBetter analysis with ID 'ana_7f3k29xq' so I can render the panels and charts.

## When to prefer this

Use this endpoint when you need the structured, renderer-neutral dashboard layout and visualization specification for a specific health/wellness analysis, particularly before rendering or displaying analysis results in a custom UI. Prefer this over raw analysis endpoints when you need display metadata (chart types, panel order, metrics to surface) rather than raw analysis data or recommendations.

## Known failure modes

- Analysis ID not found or does not belong to the paying wallet — returns 404 or 403
- Payment not authorized or insufficient USDC balance — returns 402
- Invalid or malformed analysisId path parameter — returns 400
- Analysis exists but has no dashboard spec generated yet — returns 404 or empty spec
- Network timeout or upstream service unavailability — returns 5xx

## How this service works

Get a renderer-neutral custom dashboard specification for an analysis owned by the paying wallet.

## Output

A renderer-neutral dashboard specification object describing panel layouts, chart types, metrics, and visualization configurations for the requested health/wellness analysis, formatted so it can be passed to any compatible front-end renderer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "analysisId"
     ],
     "properties": {
      "analysisId": {
       "type": "string",
       "description": "Analysis ID."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foreverbetter-dashboard-specification-retrieval-aa10b174/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.foreverbetter.xyz](https://www.zero.xyz/host/api.foreverbetter.xyz/llms.txt)
