Skip to Content

Content

Bella exposes a unified wellness and movement catalogue organised around typed collections for browsing and universal resource identifiers for retrieval and playback.

Anatomy of the Content model

Every item in Bella’s catalogue shares the same underlying resource identity and storage model, structured along three axes:

1. Domain type vs playable media_type

Bella separates what a resource is from how media plays:

  • type (domain noun): Distinguishes top-level catalogue items — article and workout.
  • media_type (playback format): Distinguishes how playable streams inside a workout’s exercises[] array play — video or audio.
Domain typeRoleCollection, metadata & retrieve endpointsKey filtersMedia & relationships
articleEvidence-based educational guide grounding AI Coach replies and your in-app library./api/v1/content/articles
/api/v1/content/articles/metadata
/api/v1/content/articles/{article_id}
stage, week, category, tagSafe gestational/postpartum weeks (safe_weeks) and companion articles in related_content.
workoutStructured training session bundling ordered exercise videos./api/v1/content/workouts
/api/v1/content/workouts/metadata
/api/v1/content/workouts/{workout_id}
category, level, body_focus, length, equipment, goal, tagSigned cover_image_url and ordered exercises[] with pre-signed 720p stream URLs (media_type).

2. Typed endpoints per collection, shared Cloud CDN media signing

Articles and Workouts each have dedicated list, metadata, and get by ID endpoints (/api/v1/content/articles* and /api/v1/content/workouts*), because each collection carries its own query filters and returns a distinct object shape (The Article object vs The Workout object).

Only GET /api/v1/content/{content_id}/media is shared at /content, resolving signed Cloud CDN stream URLs (1080p, 720p, 540p, 360p) for any exercise step or media-backed resource.

3. Relationships across types

  • Workout -> Exercises (exercises[]): Fetching a workout via GET /api/v1/content/workouts/{workout_id} returns ordered exercise video steps, each carrying content_id, duration_seconds, media_type, available_qualities, media_url, and a pre-signed Cloud CDN url.
  • Article -> Companion Articles (related_content): Fetching an article via GET /api/v1/content/articles/{article_id} returns linked companion articles in related_content.

How the assistant uses content

When members ask about exercise modifications, symptoms, or recovery, the assistant grounds its replies in verified content:

  1. Retrieval: Searches the catalogue for items safe for the member’s life stage and gestational or postpartum week.
  2. Grounded replies: Formats the retrieved guidance using your configured tone and reply length.
  3. Citations: Cites resources by their public identifier when referenced.

Content stages and metadata

Content items are tagged with applicable stages and safe week ranges:

StageFocus areaSafe weeks
generalCore strength, functional fitness, recovery, and habits.All
preconceptionPregnancy preparation, cycle awareness, and conditioning.All
pregnancyTrimester-by-trimester movement adaptations and symptom management.Weeks 1 to 42
postpartumRecovery, core and pelvic floor rehabilitation, and return to exercise.Weeks 1 to 157
perimenopauseStrength training for bone density, joint mobility, and hormonal support.All

Querying the catalogue directly

To browse, filter, or fetch resources directly from your app, see the Content API.

Next steps

Last updated on