Skip to Content

List articles

GET/api/v1/content/articles

Retrieves a paginated list of articles filtered by maternal stage, safe gestational/postpartum week, category, and tags.

Query parameters

stagestringoptional(preconception | pregnancy | postpartum | perimenopause | general)

Filter articles by life stage.

weekintegeroptional(1 to 157)

Filter by safe gestational or postpartum week (min_week <= week <= max_week).

categorystringoptional

Filter by topic category (e.g. movement, nutrition).

tagstringoptional

Filter by taxonomy tag or comma-separated tags (e.g. pelvic-floor, core).

limitintegeroptionaldefault: 20

Items per page.

offsetintegeroptionaldefault: 0

Items to skip.

Returns

HTTP Status Codes

200 OK{ items, count }optional

List of ArticleSummary objects matching the requested filters.

401 UnauthorizedErroroptional

The integration key is missing, invalid, or revoked.

422 Unprocessable EntityErroroptional

Invalid stage value or out-of-range week (1..157).

curl -X GET "https://api.bellacoach.ai/api/v1/content/articles?stage=pregnancy&week=24&tag=pelvic-floor&limit=10&offset=0" \ -H "Authorization: Bearer $BELLA_API_KEY" \ -H "Accept: application/json"

Response (200 OK)

{ "items": [ { "id": "kno_7f1c9d2e4a8b", "type": "article", "title": "Pelvic Floor Activation in Second Trimester", "slug": "pelvic-floor-activation-second-trimester", "stage": "pregnancy", "category": "movement", "tags": ["pelvic-floor", "second-trimester", "core"], "safe_weeks": { "min_week": 13, "max_week": 28 }, "summary": "Step-by-step diaphragmatic breathing and pelvic floor relaxation cues.", "related_content_count": 3 } ], "count": 18 }

Next steps

Last updated on