Skip to main content
Docs vCurrentAPI
Version: Current

Helper routes for hospitals

Headers

  • X-API-Key: <your-key>

GET /api/v1/hospital/routes

Returns the catalog of routes available for the current key.

Response 200 (example)

{
"organization_id": "uuid",
"tier": "starter",
"routes": [
{"method": "POST", "path": "/api/v1/interactions/check", "description": "Check drug interactions."}
]
}

GET /api/v1/hospital/profile

Returns the organization's commercial configuration/limits: monthly_request_limit, rate_limit_per_minute, transaction_fee_brl, billing_email, billing_day.

Response 200 (example)

{
"organization_id": "uuid",
"name": "Example Hospital",
"tier": "starter",
"monthly_request_limit": 100000,
"rate_limit_per_minute": 120,
"transaction_fee_brl": 1.5,
"recheck_fee_brl": 0.2,
"chat_fee_brl": 1.0,
"billing_email": "finance@hospital.com",
"billing_day": 10
}

GET /api/v1/hospital/usage/summary

Alias of GET /api/v1/usage/summary for the hospital context.