> ## Documentation Index
> Fetch the complete documentation index at: https://foreverbetter.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Build a customized action plan (interventions + evidence-graded supplement stack) for an analysis

> Build a customized action plan (lifestyle interventions + an evidence-graded supplement stack) mapped from a stored analysis, cross-referenced against the user's logged supplements and medications.



## OpenAPI

````yaml /openapi.json get /analyses/{id}/action-plan
openapi: 3.1.0
info:
  title: ForeverBetter Wellness API
  version: 0.4.8
  description: >-
    ForeverBetter Wellness API and MCP-compatible service for genetics,
    biomarkers, wearables, lab locator handoffs, dashboard specs, and hosted
    billing.
  x-guidance: >-
    Use /openapi.json to discover the API. For a payable operation, make the
    exact request without credentials, select a compatible option from
    PAYMENT-REQUIRED, then retry unchanged with PAYMENT-SIGNATURE. x402 payments
    create a payer-scoped private workspace; do not send user_id or
    organization_id. Use GET /.well-known/x402.json for the live route and price
    catalog.
servers:
  - url: https://api.foreverbetter.xyz
security:
  - bearerAuth: []
paths:
  /analyses/{id}/action-plan:
    get:
      summary: >-
        Build a customized action plan (interventions + evidence-graded
        supplement stack) for an analysis
      description: >-
        Build a customized action plan (lifestyle interventions + an
        evidence-graded supplement stack) mapped from a stored analysis,
        cross-referenced against the user's logged supplements and medications.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ActionPlan'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      security:
        - bearerAuth: []
components:
  schemas:
    ActionPlan:
      type: object
      additionalProperties: false
      required:
        - analysis_id
        - user_id
        - generated_at
        - summary
        - interventions
        - supplements
        - cautions
        - evidence_key
        - sources
        - disclaimer
        - provenance
      properties:
        analysis_id:
          type: string
        user_id:
          type: string
          minLength: 1
        organization_id:
          type: string
          minLength: 1
        generated_at:
          type: string
          format: date-time
        summary:
          type: string
        interventions:
          type: array
          items:
            type: object
            additionalProperties: true
        supplements:
          type: array
          items:
            type: object
            additionalProperties: true
        cautions:
          type: array
          items:
            type: string
        evidence_key:
          type: object
          additionalProperties:
            type: string
        sources:
          type: array
          items:
            type: object
            additionalProperties: true
        disclaimer:
          type: string
        provenance:
          type: object
          additionalProperties: true
    ProblemDetails:
      type: object
      additionalProperties: true
      required:
        - type
        - title
        - status
        - detail
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        instance:
          type: string
        request_id:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````