Add a health record
Records a health event for a raptor: an observation, treatment, vet visit, vaccination, injury, illness, medication, lab result, parasite check or moult note. Fill only the fields that apply. Attachments must be added in the app. For an ongoing medication course with dose tracking, use create_medication instead.
bearerAuthAuthorizationBearer <token>A Clerk user API key or OAuth access token carrying the falconry:read and/or falconry:write scope.
raptorId*stringA raptor's id, from list_raptors.
length <= 64application/json- body
recordType*string"observation""treatment""vet_visit""vaccination""injury""illness""medication""lab_result""parasite_check""moult_note"recordDate*stringISO 8601 date (yyyy-mm-dd).
^\d{4}-\d{2}-\d{2}$symptom?string1 <= length <= 500symptomSeverity?string"mild""moderate""severe""critical"diagnosis?string1 <= length <= 1000treatment?string1 <= length <= 2000medicationName?string1 <= length <= 200dosage?string1 <= length <= 200frequency?string1 <= length <= 200durationDays?integer0 < value <= 3650outcome?string"resolved""ongoing""worsened""unknown"vetName?string1 <= length <= 200vetClinic?string1 <= length <= 200vetContact?string1 <= length <= 200nextAppointmentDate?stringISO 8601 date (yyyy-mm-dd).
^\d{4}-\d{2}-\d{2}$resolutionDate?stringISO 8601 date (yyyy-mm-dd).
^\d{4}-\d{2}-\d{2}$notes?stringlength <= 4000Add a health record
application/json- response
id*stringOpaque Convex document id.
length <= 64raptorId*stringOpaque Convex document id.
length <= 64recordType*string"observation""treatment""vet_visit""vaccination""injury""illness""medication""lab_result""parasite_check""moult_note"recordDate*stringISO 8601 date (yyyy-mm-dd).
symptom*string|nullsymptomSeverity*|nulldiagnosis*string|nulltreatment*string|nullmedicationName*string|nulldosage*string|nullfrequency*string|nulldurationDays*number|nullvetName*string|nullvetClinic*string|nullvetContact*string|nullnextAppointmentDate*string|nullresolutionDate*string|nulloutcome*|nullnotes*string|nullattachments*array<>loggedByName*string|nullcurl -X POST 'https://app.falconryscale.com/api/v1/raptors/string/health-records' \
-H 'Content-Type: application/json' \
-d '{
"recordType": "observation",
"recordDate": "string"
}'{
"id": "string",
"raptorId": "string",
"recordType": "observation",
"recordDate": "string",
"symptom": "string",
"symptomSeverity": "mild",
"diagnosis": "string",
"treatment": "string",
"medicationName": "string",
"dosage": "string",
"frequency": "string",
"durationDays": 0,
"vetName": "string",
"vetClinic": "string",
"vetContact": "string",
"nextAppointmentDate": "string",
"resolutionDate": "string",
"outcome": "resolved",
"notes": "string",
"attachments": [
{
"fileName": "string",
"mimeType": "string",
"fileSizeBytes": 0
}
],
"loggedByName": "string"
}List a raptor’s health records
Returns one raptor’s health-care history (observations, treatments, vet visits, vaccinations, lab results, ...), most recent first. Capped at 200 rows by default (use `limit`).
Get one health record
Returns one health record by id. 404s if it does not exist or is not visible to the caller.