DocSimulation API — למפתחים ולסוכני AI

DocSimulation (סימולטור ועדת שלב ב׳ בטיפול נמרץ) חושף ממשק HTTP/JSON קטן ומתועד. הקטלוג הציבורי (התמחויות, תוכן הסילבוס, מקרים ושלביהם ללא מפתח התשובות, חבילות ומחירים) פתוח ללא אימות; לולאת התרגול (פתיחת סשן, דירוג תשובה, סיכום) דורשת משתמש מחובר דרך Google.

DocSimulation, the Israeli Stage B (Shlav Bet) oral board exam simulator, exposes a small, documented HTTP/JSON API. The public catalog (specialties, syllabus content, cases and their stages without answer keys, plans) needs no authentication. The practice loop (start a session, grade an answer, finalize) requires a signed-in user.

Base URL and formats

Authentication

Errors

Errors are always JSON with a stable error/code, a human message, a resolution hint, a docs link and the requestId echoed from the X-Request-Id response header (quote it when contacting support). Validation failures return 400, missing session 401, exhausted trial 402, wrong role or origin 403, unknown resource 404, rate limit 429, unexpected failure 500.

Example (GET /api/cases/abc):

{
  "error": "not_found",
  "code": "not_found",
  "message": "No API route matches GET /api/cases/abc.",
  "hint": "Check the path against the OpenAPI document at /openapi.json.",
  "docs": "https://www.docsimulation.com/developers",
  "requestId": "…"
}

Rate limits

Endpoints

Meta — Health and discovery.

Catalog — Specialties and public exam-prep content (no auth).

Cases — Clinical cases and their stages, without answer keys (no auth).

Billing — Plans and prices.

Auth — Google OAuth session (cookie sid).

Practice — The practice loop: start a session, answer stages, get graded, finalize. Requires a signed-in session.

Example requests

Start a practice session and grade the first stage (signed-in browser session; $COOKIE is the sid cookie):

curl -sS -X POST https://www.docsimulation.com/api/sessions -H 'Content-Type: application/json' -H "Cookie: sid=$COOKIE" -H 'Origin: https://www.docsimulation.com' -d '{"caseId": 12}'
curl -sS -X POST https://www.docsimulation.com/api/grade -H 'Content-Type: application/json' -H "Cookie: sid=$COOKIE" -H 'Origin: https://www.docsimulation.com' -d '{"sessionId": 101, "stageOrder": 1, "answer": "אתחיל ב-ABC..."}'

When should an agent use DocSimulation?

Contact

Questions, bug reports or partnership requests: noam@furitech.me · Contact page · Operated by FuriTech LTD.