List a raptor’s medication courses
Returns one raptor’s medication courses (active and past), most recently started first. Capped at 200 rows by default (use `limit`).
bearerAuthAuthorizationBearer <token>A Clerk user API key or OAuth access token carrying the falconry:read and/or falconry:write scope.
raptorId*stringOpaque Convex document id.
length <= 64limit?integerCap the number of rows returned, most recently started first. Default and max 200.
0 < value <= 200List a raptor’s medication courses
application/json- response
medications*array<>curl -X GET 'https://app.falconryscale.com/api/v1/raptors/string/medications'{
"medications": [
{
"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"
}
]
}Delete a health record
Permanently deletes a health record AND its attached files. This cannot be undone. Before calling, read the record back to the user (type, date, raptor, and how many attachments it has) and get their explicit confirmation.
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.