Sandbox

محیط آزمایشی API

یک درخواست نمونه اجرا کنید. بدون ثبت‌نام و داده واقعی بیمار.

فقط داده نمونه. هیچ داده واقعی بیماری ارسال یا ذخیره نمی‌شود.

نقطه پایانی

زنده: سندباکس همین حالا به درخواست شما پاسخ می‌دهد. نمونه ذخیره‌شده: نسخه‌ای ذخیره‌شده از همان پاسخ.

POSThttps://app.aibloodtestinterpret.com/api/v12/18-09-2026/sandbox

نمونه‌ها ساختگی‌اند. محیط آزمایشی رایگان است و داده‌های نمونه ثابت برمی‌گرداند.

پاسخ

200 OK نمونه ذخیره‌شده

درخواست تغییر کرده است. برای به‌روزرسانی پاسخ، آن را دوباره اجرا کنید.

{
  "status": "success",
  "data": {
    "metadata": {
      "patient_name": "Jan Novák",
      "lab_city": "Prague",
      "lab_country": "Czech Republic",
      "lab_date": "2025-05-11",
      "lab_name": "BioLAB Medical Center",
      "patient_age": "45",
      "patient_sex": "Male",
      "results_date": "2025-05-26"
    },
    "parameters": [
      {
        "short_name": "PT Ratio",
        "long_name": "Prothrombin Time Ratio",
        "category": "Coagulation",
        "result": 0.94,
        "unit": null,
        "evaluation": "optimal",
        "type": "range",
        "range_min": 0.5,
        "range_max": 1.5,
        "range_normal_min": 0.8,
        "range_normal_max": 1.2,
        "range_optimal_min": 0.88,
        "range_optimal_max": 1.12,
        "short_description": "The ratio of patient's prothrombin time to a control.",
        "long_description": "<p>This test evaluates the extrinsic pathway of coagulation. It is crucial for monitoring anticoagulant therapy.</p>"
      },
      {
        "short_name": "WBC",
        "long_name": "White Blood Cell Count",
        "category": "Complete Blood Count",
        "result": 4.3,
        "unit": "10^9/l",
        "evaluation": "normal",
        "type": "range",
        "range_min": 2,
        "range_max": 12,
        "range_normal_min": 4,
        "range_normal_max": 10,
        "range_optimal_min": 4.8,
        "range_optimal_max": 8,
        "short_description": "Measures the number of white blood cells.",
        "long_description": "<p>White blood cells are key components of the immune system, fighting infections and disease.</p>"
      },
      {
        "short_name": "Total Cholesterol",
        "long_name": "Total Serum Cholesterol",
        "category": "Lipid Profile",
        "result": 6.13,
        "unit": "mmol/l",
        "evaluation": "high",
        "type": "range",
        "range_min": 1.45,
        "range_max": 5.75,
        "range_normal_min": 2.9,
        "range_normal_max": 5,
        "range_optimal_min": 3.67,
        "range_optimal_max": 4.33,
        "short_description": "Measures the total amount of cholesterol in the blood.",
        "long_description": "<p>Total cholesterol includes LDL, HDL, and other lipid components. High levels are a risk factor for cardiovascular disease.</p>"
      },
      {
        "short_name": "Vitamin D-25OH",
        "long_name": "Serum 25-Hydroxyvitamin D",
        "category": "Vitamins",
        "result": 70.1,
        "unit": "nmol/l",
        "evaluation": "slightly_low",
        "type": "range",
        "range_min": 37.5,
        "range_max": 135,
        "range_normal_min": 75,
        "range_normal_max": 120,
        "range_optimal_min": 82.5,
        "range_optimal_max": 105,
        "short_description": "Measures the level of vitamin D in the blood.",
        "long_description": "<p>Vitamin D is essential for bone health, immune function, and calcium absorption.</p>"
      }
    ],
    "interpretation": [
      {
        "title": "Introduction",
        "shortcode": "introduction",
        "subsections": [
          {
            "subtitle": "General Summary of Blood Test",
            "shortcode": "introduction_summary",
            "items": [
              {
                "item": "This laboratory assessment includes comprehensive coagulation, complete blood count, basic metabolic and liver function markers, and lipid profile analysis."
              },
              {
                "item": "Most hematology and coagulation parameters are within reference limits, indicating preserved organ function and normal blood clotting ability."
              }
            ]
          }
        ]
      },
      {
        "title": "Overall Health Assessment",
        "shortcode": "overall_health_assessment",
        "subsections": [
          {
            "subtitle": "Comprehensive Overview",
            "shortcode": "overall_health_assessment_overview",
            "items": [
              {
                "item": "The patient demonstrates preserved overall organ function with normal coagulation parameters and white blood cell count."
              },
              {
                "item": "Lipid abnormalities are present, specifically hypercholesterolemia (6.13 mmol/l), increasing the risk for atherosclerotic cardiovascular disease."
              }
            ]
          }
        ]
      },
      {
        "title": "Risk Factors",
        "shortcode": "risk_factors",
        "subsections": [
          {
            "subtitle": "Identification of Potential Health Risks",
            "shortcode": "risk_factors_identification",
            "items": [
              {
                "item": "The patient is at increased risk for atherosclerotic cardiovascular disease due to elevated cholesterol levels."
              },
              {
                "item": "Mild hypovitaminosis D (70.1 nmol/l) is noteworthy, as this has been associated with subclinical bone health risk."
              }
            ]
          },
          {
            "subtitle": "Probabilities of Diseases",
            "shortcode": "risk_factors_probabilities_of_diseases",
            "items": [
              {
                "item": "Atherosclerotic Cardiovascular Disease: 42% - Driven by elevated total cholesterol"
              },
              {
                "item": "Metabolic Syndrome: 25% - Based on the atherogenic dyslipidemia"
              },
              {
                "item": "Vitamin D Deficiency-related Bone Risk: 12% - Given slightly reduced vitamin D"
              },
              {
                "item": "Chronic Kidney Disease: 9% - Minor risk based on population statistics"
              },
              {
                "item": "Subclinical Hypothyroidism: 8% - Low risk based on normal thyroid parameters"
              }
            ]
          }
        ]
      },
      {
        "title": "Recommendations",
        "shortcode": "recommendations",
        "subsections": [
          {
            "subtitle": "Medical Recommendations",
            "shortcode": "recommendations_medical",
            "items": [
              {
                "item": "Consider initiating statin therapy if lifestyle modifications are insufficient to lower cholesterol levels."
              },
              {
                "item": "Supplement with oral vitamin D (800-2000 IU/day) and monitor levels in 3-6 months."
              }
            ]
          }
        ]
      }
    ]
  },
  "timestamp": "2026-11-30T12:00:00.000000Z",
  "api_version": "v12",
  "sandbox": true,
  "sandbox_notice": "This is sandbox test data. No actual analysis was performed."
}

نمونه‌های کد

curl -X POST "https://app.aibloodtestinterpret.com/api/v12/18-09-2026/sandbox" \
  -H "Authorization: Bearer kt_live_YOUR_API_KEY" \
  -F "language=fa" \
  -F "file=@report.pdf"
import requests

resp = requests.post(
    "https://app.aibloodtestinterpret.com/api/v12/18-09-2026/sandbox",
    headers={"Authorization": "Bearer kt_live_YOUR_API_KEY"},
    data={"language": "fa"},
    files={"file": open("report.pdf", "rb")},
    timeout=60,
)
print(resp.json())
const form = new FormData();
form.append("language", "fa");
form.append("file", fileInput.files[0]); // your PDF or photo

const resp = await fetch("https://app.aibloodtestinterpret.com/api/v12/18-09-2026/sandbox", {
  method: "POST",
  headers: { Authorization: "Bearer kt_live_YOUR_API_KEY" },
  body: form,
});
console.log(await resp.json());
<?php
$ch = curl_init('https://app.aibloodtestinterpret.com/api/v12/18-09-2026/sandbox');
curl_setopt_array($ch, [
  CURLOPT_POST => true,
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_HTTPHEADER => ['Authorization: Bearer kt_live_YOUR_API_KEY'],
  CURLOPT_POSTFIELDS => [
    'language' => 'fa',
    'file' => new CURLFile('report.pdf'),
  ],
]);
$result = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($result);
نمودار: نحوه کار (محیط آزمایشی) – ماژول ← گزارش نمونه ← اجرای درخواست ← پاسخ
نحوه کار: ماژول ← گزارش نمونه ← اجرای درخواست ← پاسخ.

پرسش‌ها

استفاده از محیط آزمایشی هزینه‌ای دارد؟

خیر. محیط آزمایشی رایگان است، به ثبت‌نام نیاز ندارد و از هیچ اعتباری استفاده نمی‌کند.

داده‌های نمونه واقعی هستند؟

خیر. همه نمونه‌ها ساختگی‌اند. محیط آزمایشی داده‌های نمونه ثابت را با همان قالب پاسخ زنده برمی‌گرداند.

می‌توانم گزارش خودم را اینجا بارگذاری کنم؟

خیر. محیط آزمایشی فقط نمونه‌های داخلی را اجرا می‌کند. برای پردازش گزارش‌های خود، در پیشخوان یک کلید API ایجاد کنید.

چرا نمونه‌ای ذخیره‌شده می‌بینم؟

وقتی محیط آزمایشی زنده مشغول یا در دسترس نباشد، نسخه‌ای ذخیره‌شده از همان پاسخ نمایش داده می‌شود تا بتوانید قالب آن را ببینید.

نمودار: درخواست / پاسخ – گزارش نمونه،‏ اجرای درخواست، و پاسخ
درخواست / پاسخ. نمونه‌ها ساختگی‌اند. محیط آزمایشی رایگان است و داده‌های نمونه ثابت برمی‌گرداند.
Kantesti® API تصویر: محیط آزمایشی API
درخواست‌های نمونه را در مرورگر خود به محیط آزمایشی API آزمایش خون Kantesti بفرستید. بدون ثبت‌نام و داده واقعی بیمار؛ درخواست و پاسخ JSON را ببینید.