Skip to content

Developer portal

API Playground

Explore the BioMedora intelligence surface end to end. Demo mode runs a deterministic simulation of the production contract — no account needed. Live mode forwards your request, with your credentials, straight to a BioMedora deployment.

POST/v1/nlp/analyze

Full deterministic analysis: entity mentions, assertions, sections, measurements.

Demo mode returns deterministic simulated responses that mirror the production contract — clearly labeledsimulated: true. Switch to Live API mode to hit a real deployment.

Request body (JSON)

Generate client code

cURL

curl -X POST $BIOMEDORA_BASE_URL/v1/nlp/analyze \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $BIOMEDORA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"content":"The patient was diagnosed with type 2 diabetes in 2019. Started metformin 500 mg BID. Creatinine 1.6 mg/dL high. No evidence of pneumonia. Mother had hypertension."}'

Python

from biomedora_sdk import Client
client = Client(api_key="YOUR_API_KEY")
result = client.nlp.analyze(
content="The patient was diagnosed with type 2 diabetes in 2019. Started metformin 500 mg BID. Creatinine 1.6 mg/dL high. No evidence of pneumonia. Mother had hypertension."
)
print(result)

TypeScript

const BASE_URL = process.env.BIOMEDORA_BASE_URL!;
const TOKEN = process.env.BIOMEDORA_TOKEN!;

const resp = await fetch(`${BASE_URL}/v1/nlp/analyze`, {
  method: "POST",
  headers: {
    Authorization: `Bearer ${TOKEN}`,
    "Content-Type": "application/json",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: JSON.stringify({"content":"The patient was diagnosed with type 2 diabetes in 2019. Started metformin 500 mg BID. Creatinine 1.6 mg/dL high. No evidence of pneumonia. Mother had hypertension."}),
});
const result = await resp.json();

Response

Send a request to see the response here.