Get one medication course
Returns one medication course by id, with its dose log. 404s if it does not exist or is not visible to the caller.
bearerAuthAuthorizationBearer <token>A Clerk user API key or OAuth access token carrying the falconry:read and/or falconry:write scope.
medicationId*stringA medication course's id, from list_medications.
length <= 64Get one medication course
application/json- response
id*stringOpaque Convex document id.
length <= 64raptorId*stringOpaque Convex document id.
length <= 64name*stringdosage*stringfrequency*stringstartDate*stringISO 8601 date (yyyy-mm-dd).
endDate*|ISO 8601 date, or null for an open-ended course.
reminderEnabled*booleanreminderTime*|Daily reminder time, HH:MM (24-hour).
linkedHealthRecordId*|nullnotes*string|nulldoseLog*array<>Logged doses, one per day, newest first (at most the last 60).
loggedByName*string|nullcurl -X GET 'https://app.falconryscale.com/api/v1/medications/string'{
"id": "string",
"raptorId": "string",
"name": "string",
"dosage": "string",
"frequency": "string",
"startDate": "string",
"endDate": "string",
"reminderEnabled": true,
"reminderTime": "string",
"linkedHealthRecordId": "string",
"notes": "string",
"doseLog": [
{
"date": "string",
"status": "taken",
"loggedAt": "string"
}
],
"loggedByName": "string"
}Start a medication course
Adds a medication course for a raptor (name, dosage, frequency, start and optional end date, optional daily reminder). Log each day’s dose with log_medication_dose.
Update a medication course
Edits a medication course, for example to change the dosage or set an end date to finish it. Only the fields you send change; null clears an optional field.