---
title: "Get a guide, condition or answer page as Markdown"
method: POST
path: "/api/agent/get_guide"
tags: ["content"]
---

# Get a guide, condition or answer page as Markdown

`POST /api/agent/get_guide`

## Request

- Base URL: `https://www.test-well.com`
- URL: `https://www.test-well.com/api/agent/get_guide`
- Auth: none declared

Return one of TestWell's educational pages as Markdown: guides (/guides/<slug>), condition workups (/conditions/<slug>), biomarker pages (/biomarkers/<slug>), state pages (/lab-locations/<slug>) or comparisons (/compare/<slug>). Call with no path to list the available guides and conditions.

## Request body

- object
  - `path` string: Site path, e.g. '/guides/annual-blood-work' or 'conditions/anemia'
  - `lang` 'en' | 'es': Spanish version when one exists (default en)

## Response `200`

Tool result

- object
  - `tool` 'get_guide', required
  - `result` object, required
    - `found` boolean
    - `path` string
    - `title` string
    - `url` string: Absolute https URL on test-well.com
    - `markdown` string: Full page as Markdown
    - `guides` object[]: Index, returned when no path was given
      - `path` string
      - `title` string
    - `conditions` object[]
      - `path` string
      - `title` string
    - `answers` object[]
      - `path` string

## Other responses

- `400`: Invalid input
- `429`: Rate limited

---

[API](https://skmtc.dev/test-well/apis/testwell-agent-api.md) · [All operations](https://skmtc.dev/test-well/apis/testwell-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/test-well/apis/testwell-agent-api/revisions/6e260731dfa4?raw)
