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 —articleandworkout.media_type(playback format): Distinguishes how playable streams inside a workout’sexercises[]array play —videooraudio.
Domain type | Role | Collection, metadata & retrieve endpoints | Key filters | Media & relationships |
|---|---|---|---|---|
article | Evidence-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, tag | Safe gestational/postpartum weeks (safe_weeks) and companion articles in related_content. |
workout | Structured 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, tag | Signed 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 viaGET /api/v1/content/workouts/{workout_id}returns ordered exercise video steps, each carryingcontent_id,duration_seconds,media_type,available_qualities,media_url, and a pre-signed Cloud CDNurl. - Article -> Companion Articles (
related_content): Fetching an article viaGET /api/v1/content/articles/{article_id}returns linked companion articles inrelated_content.
How the assistant uses content
When members ask about exercise modifications, symptoms, or recovery, the assistant grounds its replies in verified content:
- Retrieval: Searches the catalogue for items safe for the member’s life stage and gestational or postpartum week.
- Grounded replies: Formats the retrieved guidance using your configured tone and reply length.
- Citations: Cites resources by their public identifier when referenced.
Content stages and metadata
Content items are tagged with applicable stages and safe week ranges:
| Stage | Focus area | Safe weeks |
|---|---|---|
general | Core strength, functional fitness, recovery, and habits. | All |
preconception | Pregnancy preparation, cycle awareness, and conditioning. | All |
pregnancy | Trimester-by-trimester movement adaptations and symptom management. | Weeks 1 to 42 |
postpartum | Recovery, core and pelvic floor rehabilitation, and return to exercise. | Weeks 1 to 157 |
perimenopause | Strength 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.