# Foreverbetter / Wellnizz File Import

> Foreverbetter / Wellnizz File Import is a paid API for AI agents from api.foreverbetter.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Upload a health data file (biomarkers, wearable exports, behavioral data, or genetics) into the paying wallet's private workspace for analysis.

## Facts

- Endpoint: POST https://api.foreverbetter.xyz/imports/file
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foreverbetter-wellnizz-file-import-a5955e90
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aLB-aQF_8-5BNxPTCQ0h8

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-wellnizz-file-import-a5955e90 -d '<json body>'
```

Example prompt: Upload my 23andMe raw genetics file to my Wellnizz workspace so I can run a biomarker analysis on it.

## When to prefer this

Use this endpoint when you need to bring external health data (lab results, genetics files, wearable exports) into the Foreverbetter/Wellnizz ecosystem as a first step before running analysis, generating recommendations, or building action plans. Prefer this over direct API syncs when data is already in file form (CSV, raw genetics export, JSON export from a wearable device).

## Known failure modes

- Unsupported file format returns an error indicating accepted types
- File too large exceeds upload limits
- Invalid or missing payment wallet credentials cause authorization failure
- Corrupted or malformed health data file fails parsing
- Duplicate import of same file may create duplicate source records

## How this service works

Import biomarker, wearable, behavioral, or genetics data into the paying wallet private workspace.

## Output

A confirmation of the import along with a source ID that can be used in subsequent analysis and recommendation endpoints within the paying wallet's private workspace.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {
      "category": {
       "type": "string",
       "enum": [
        "biomarkers",
        "wearables",
        "genetics",
        "behavioral"
       ],
       "description": "Wellness data modality."
      },
      "filename": {
       "type": "string",
       "description": "Original filename when available."
      },
      "content_type": {
       "type": "string",
       "description": "MIME type when available."
      },
      "provider": {
       "type": "string",
       "description": "Source provider or device."
      },
      "text": {
       "type": "string",
       "description": "UTF-8 payload. Use data_base64 instead for binary data."
      },
      "data_base64": {
       "type": "string",
       "description": "Base64-encoded payload."
      }
     },
     "required": [
      "category"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "source": {
   "id": "src_...",
   "category": "biomarkers"
  },
  "normalized_observations": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foreverbetter-wellnizz-file-import-a5955e90/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)
