Read VFS path
Returns the content of a VFS file at the given path. Three output formats are supported: narrative (full Markdown, default), compact (condensed Markdown), and structured (machine-readable JSON). Use token_budget to cap approximate output length in tokens in narrative or compact; a structured read refuses it with a 400, since cut JSON does not parse.
Authorization
Bearer readEach operation lists the OAuth scope (read or write) it requires.
In: header
Scope: read
Path Parameters
ID of the patient
^[A-Za-z0-9._~:-]{1,128}$Query Parameters
VFS path to read, a file or a directory, relative to the patient root (e.g. /conditions/active). Defaults to the root when omitted.
""Output format. narrative (default) returns full Markdown; compact returns condensed Markdown; structured returns machine-readable JSON.
"narrative"Value in
- "narrative"
- "structured"
- "compact"
Approximate token budget for the response. Not allowed with format=structured.
0 < valueResponse Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/patients/string/read"{ "content": "string"}