Summarize

Generate a structured clinical summary from a conversation using Nebius AI.

POSThttps://api.marinahealth.eu/ai/summarize
Requires AuthVerified Email Requiredapplication/jsonRate limit: 50 requests per hour

Headers

Headers

NameTypeRequiredDescription
AuthorizationstringrequiredBearer <accessToken>

Request Body

Body Parameters

NameTypeRequiredDescription
conversationMessage[]requiredArray of 1–100 messages. Each message: { role: "user" | "assistant", content: string } where content is max 10 000 characters.

Example Request

cURL
curl -X POST https://api.marinahealth.eu/ai/summarize \
  -H "Authorization: Bearer <accessToken>" \
  -H "Content-Type: application/json" \
  -d '{
    "conversation": [
      { "role": "user", "content": "I have had chest pain for two days." },
      { "role": "assistant", "content": "Can you describe the pain?" },
      { "role": "user", "content": "It is a dull ache on the left side." }
    ]
  }'

Response

Successful
FieldTypeDescription
summarystringStructured clinical summary.
json
{
  "summary": "Patient presents with hypertension and Type 2 diabetes..."
}