GET /v1/adherence/streak/me
Service: patient-graph · operationId: (none)
Required scopes
(no scope declared — review service config)
Responses
200 Current patient adherence streak
{
"type": "object",
"properties": {
"patient_id": {
"type": "string"
},
"current_streak": {
"type": "integer",
"minimum": 0
},
"longest_streak": {
"type": "integer",
"minimum": 0
},
"peptides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"peptide_id": {
"type": "string"
},
"taken_dose_count": {
"type": "integer",
"minimum": 0
},
"sharps_reminder_enabled": {
"type": "boolean"
}
},
"required": [
"peptide_id",
"taken_dose_count",
"sharps_reminder_enabled"
]
}
}
},
"required": [
"patient_id",
"current_streak",
"longest_streak",
"peptides"
]
}401 Unauthorized
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"error",
"message"
]
}404 Patient not found
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"error",
"message"
]
}Example
curl -X GET https://patient-graph.platform.loop.health/v1/adherence/streak/me \
-H "Authorization: Bearer $ACCESS_TOKEN"Related
services/patient-graph— service overview- All endpoints — directory across services
- Auth model — how scopes are enforced