Add a raptor
Adds a new bird to the caller's roster. Look up `speciesId` with search_species first. A free-tier account is capped at 3 active raptors: past the cap this answers 409 quota_exceeded, and the caller has to upgrade in the app. Confirm the name and species with the user before calling.
bearerAuthAuthorizationBearer <token>A Clerk user API key or OAuth access token carrying the falconry:read and/or falconry:write scope.
application/json- body
name*string1 <= length <= 100speciesId*stringFrom search_species.
length <= 64acquisitionDate*stringISO 8601 date (yyyy-mm-dd) the bird was acquired.
^\d{4}-\d{2}-\d{2}$acquisitionMethod*string"bred""trapped""rescued""purchased""transferred""other"gender?string"male""female""unknown"birthDate?stringHatch date, ISO 8601 (yyyy-mm-dd).
^\d{4}-\d{2}-\d{2}$bandNumber?string1 <= length <= 100microchipId?string1 <= length <= 100targetWeightMinGrams?numberGrams.
0 < value <= 20000targetWeightMaxGrams?numberGrams.
0 < value <= 20000transmitterFrequencyMhz?numberTelemetry transmitter frequency, MHz.
0 < value <= 10000notes?stringlength <= 4000shareWithTeam?booleanShare the new bird with the caller's team. Defaults to true when the caller is on a team.
Add a raptor
application/json- response
id*stringOpaque Convex document id.
length <= 64name*stringspecies*|nullgender*|nullstatus*|nullacquisitionDate*stringISO 8601 date (yyyy-mm-dd).
birthDate*|ISO 8601 date (yyyy-mm-dd), the hatch date.
bandNumber*string|nullmicrochipId*string|nullnotes*string|nullavatarUrl*string|nullheaderUrl*string|nulltargetWeightMinGrams*number|nulltargetWeightMaxGrams*number|nullreadyWeightGrams*number|nulltoleranceGrams*number|nulllatestWeightGrams*|The raptor's most recent logged weigh-in, grams.
isFavorite*booleanisInMoult*booleanmoultStartedAt*|ISO 8601 datetime the current moult started, when in moult.
moultTargetWeightGrams*number|nullacquisitionMethod*|nullfate*|nullfateNote*string|nulltransmitterFrequencyMhz*number|nullisTeamShared*booleanWhether the bird is shared with its owner's team.
ownerName*|The owner's display name, for a team-shared bird the caller does not own.
canLog*booleanWhether the caller may log weigh-ins, feedings and activities on this bird.
canEdit*booleanWhether the caller may edit the bird's details and plans.
isOwn*boolean|nullmyRole*|'self' when the caller owns the bird, else their team role on it.
curl -X POST 'https://app.falconryscale.com/api/v1/raptors' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"speciesId": "string",
"acquisitionDate": "string",
"acquisitionMethod": "bred"
}'{
"id": "string",
"name": "string",
"species": {
"id": "string",
"commonName": "string",
"scientificName": "string",
"photoUrl": "string"
},
"gender": "male",
"status": "active",
"acquisitionDate": "string",
"birthDate": "string",
"bandNumber": "string",
"microchipId": "string",
"notes": "string",
"avatarUrl": "string",
"headerUrl": "string",
"targetWeightMinGrams": 0,
"targetWeightMaxGrams": 0,
"readyWeightGrams": 0,
"toleranceGrams": 0,
"latestWeightGrams": 0,
"isFavorite": true,
"isInMoult": true,
"moultStartedAt": "string",
"moultTargetWeightGrams": 0,
"acquisitionMethod": "bred",
"fate": "active",
"fateNote": "string",
"transmitterFrequencyMhz": 0,
"isTeamShared": true,
"ownerName": "string",
"canLog": true,
"canEdit": true,
"isOwn": true,
"myRole": "self"
}List the caller's raptors
Returns the caller's roster of raptors (birds), newest-added first. Each one carries its current target/ready weight and most recent weigh-in in grams. Use `get_raptor` for the full detail of one, or follow up with get_weight_history/list_activities/list_health_records using the returned `id`.
Get one raptor
Returns the full detail of one raptor by id. 404s if the raptor does not exist or is not visible to the caller.