Correct an activity
Edits a logged activity. Only the fields you send change; null clears an optional field. The weight change is recomputed from the pre/post flight weights. A hunt's outcome and slip assessment can't be edited after logging. Team members may edit only rows they logged themselves; owners and admins may edit any.
bearerAuthAuthorizationBearer <token>A Clerk user API key or OAuth access token carrying the falconry:read and/or falconry:write scope.
activityId*stringAn activity's id, from list_activities.
length <= 64application/json- body
activityType?string"training""hunting""feeding""flight_exercise""health_observation""transport"activityDate?stringISO 8601 date (yyyy-mm-dd).
^\d{4}-\d{2}-\d{2}$activitySubtype?|nullstartTime?|nulldurationMinutes?|nulllocationDescription?|nullpreFlightWeightGrams?|nullpostFlightWeightGrams?|nullpreyCount?|nullbehavioralTags?array<>|nullcreanceLengthM?|nullrecallDistanceM?|nullnotes?|nullCorrect an 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 PATCH 'https://app.falconryscale.com/api/v1/activities/string' \
-H 'Content-Type: application/json' \
-d '{}'{
"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"
}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.
Delete an activity
Deletes one activity (feeding, training, hunt, ...). It disappears from every list and cannot be restored from this API. Before calling, read the activity back to the user (type, date and raptor) and get their explicit confirmation.