All API requests require authentication via an API key in the header:
X-API-Key: na_YOUR_API_KEY_HERE
https://nurseai-study.com/api/v1
/questions| Parameter | Type | Description |
|---|---|---|
| category | string | Filter by category (pharmacology, medical-surgical, etc.) |
| difficulty | string | Filter by difficulty (easy, medium, hard) |
| limit | number | Number of questions to return (max: 50) |
curl -X GET \ 'https://nurseai-study.com/api/v1/questions?category=pharmacology&limit=10' \ -H 'X-API-Key: na_YOUR_API_KEY_HERE'
{
"success": true,
"data": [
{
"id": "q1",
"question": "Before administering digoxin, what should the nurse assess?",
"options": [
"Blood pressure",
"Apical pulse",
"Respiratory rate",
"Temperature"
],
"correctAnswer": 1,
"category": "pharmacology",
"difficulty": "easy",
"rationale": "Digoxin should be held if apical pulse is below 60/min."
}
],
"meta": {
"count": 1,
"category": "pharmacology",
"difficulty": "all"
}
}Subscribe to events in your NurseAI Study integration
question.answeredWhen a user answers a questionstudy-plan.completedWhen a study plan is completedachievement.unlockedWhen a user unlocks an achievement