Log a training, flight, or hunting activity
Records a training, flight-exercise, or hunting session for a raptor on the caller's behalf, with optional training details (creance length, recall distance in metres) and, for a hunt, the outcome, prey count and slip assessment. For feeding, use log_feeding instead.
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 <= 64application/json- body
activityType*stringFeeding is logged separately via log_feeding.
"training""hunting""flight_exercise"activityDate*stringISO 8601 date (yyyy-mm-dd).
length <= 32startTime?stringHH:MM time of day.
length <= 16durationMinutes?number0 < valuelocationDescription?stringlength <= 500preFlightWeightGrams?number0 < valuepostFlightWeightGrams?number0 < valuepreyCount?integerHunting only.
0 <= value <= 9007199254740991successOutcome?booleanHunting only: whether the slip succeeded.
notes?stringlength <= 2000activitySubtype?stringFree-form subtype, e.g. "lure", "creance", "game hawking".
1 <= length <= 100behavioralTags?array<>Short behaviour tags, e.g. "keen", "mantling".
items <= 20creanceLengthM?numberTraining only: creance line length, metres.
0 < value <= 5000recallDistanceM?numberTraining only: recall distance, metres.
0 < value <= 5000slipAssessment?Hunting only: how the slip went. Each advantage is the bird's edge from 0 to 100.
Log a training, flight, or hunting activity
application/json- response
id*stringOpaque Convex document id.
length <= 64activityType*string"training""hunting""feeding""flight_exercise""health_observation""transport"activityDate*stringISO 8601 date (yyyy-mm-dd).
startTime*|HH:MM time of day.
durationMinutes*number|nulllocationDescription*string|nullpreFlightWeightGrams*number|nullpostFlightWeightGrams*number|nullweightChangeGrams*number|nullpreyCount*number|nullsuccessOutcome*|Whether a hunting slip was successful.
activitySubtype*string|nullbehavioralTags*array<string>creanceLengthM*|Training: creance line length, metres.
recallDistanceM*|Training: recall distance, metres.
slipAssessment*|Hunting only: the slip assessment (each advantage 0 to 100), when one was recorded.
notes*string|nullloggedByName*string|nullcurl -X POST 'https://app.falconryscale.com/api/v1/raptors/string/activities' \
-H 'Content-Type: application/json' \
-d '{
"activityType": "training",
"activityDate": "string"
}'{
"id": "string",
"activityType": "training",
"activityDate": "string",
"startTime": "string",
"durationMinutes": 0,
"locationDescription": "string",
"preFlightWeightGrams": 0,
"postFlightWeightGrams": 0,
"weightChangeGrams": 0,
"preyCount": 0,
"successOutcome": true,
"activitySubtype": "string",
"behavioralTags": [
"string"
],
"creanceLengthM": 0,
"recallDistanceM": 0,
"slipAssessment": {
"heightAdvantage": 0,
"speedAdvantage": 0,
"proximityAdvantage": 0,
"surpriseAdvantage": 0,
"coverAdvantage": 0,
"preyEscapeMethod": "outran",
"birdUsedHeightEffectively": true
},
"notes": "string",
"loggedByName": "string"
}List a raptor’s activities
Returns one raptor’s logged activities (feeding, training, hunting, flight exercise, health observation, transport), newest first. Filter by `activityType` and/or a `from`/`to` date range.
Get one activity
Returns one feeding, training, hunting or other activity by id, with every recorded detail. 404s if it does not exist, was deleted, or is not visible to the caller.