Get history
Get change history for a person. Returns audit trail of modifications with user attribution.
/people/{personId}/historyAuthorizationBearer token · headerrequiredOrganization API key (modem_…).
personIdstringrequiredchangedByFilterstring[]Filter by actor type. Defaults to user and agent changes (excludes system).
limitintegerMaximum number of history records to return (default 20, max 50).
OK
historyobject[]requiredShow propertiesHide properties
objectchangedAtstring<date-time>changedBystringrequiredActor type that initiated the change: system (internal/cascading), agent (AI), or user (manual).
agentsystemuserchangesobjectrequiredidstring<uuid>requiredShow propertiesHide properties
string<uuid>string<uuid>operationstringrequiredType of database operation that triggered the history record.
DELETEINSERTUPDATEpreviousValuesobject | nullrequiredShow propertiesHide properties
objectnulluserobject | nullrequiredShow propertiesHide properties
idstringrequiredShow propertiesHide properties
stringstringimagestring | nullrequiredOptional URL to the user avatar image.
Show propertiesHide properties
stringnullnamestringrequiredHuman-readable name of the user.
nullmergedIntoobject | nullrequiredShow propertiesHide properties
idstringrequiredmergedAtstring<date-time>targetPersonobject | nullrequiredShow propertiesHide properties
idstringrequirednamestringrequirednulluserobject | nullrequiredShow propertiesHide properties
idstringrequiredShow propertiesHide properties
stringstringimagestring | nullrequiredOptional URL to the user avatar image.
Show propertiesHide properties
stringnullnamestringrequiredHuman-readable name of the user.
nullnullmergesobject[]requiredShow propertiesHide properties
objectidstringrequiredmergedAtstring<date-time>sourcePersonsobject[]requiredShow propertiesHide properties
objectidstringrequirednamestringrequireduserobject | nullrequiredShow propertiesHide properties
idstringrequiredShow propertiesHide properties
stringstringimagestring | nullrequiredOptional URL to the user avatar image.
Show propertiesHide properties
stringnullnamestringrequiredHuman-readable name of the user.
nulltotalCountnumberrequiredInvalid request (validation failed).
codestringrequiredMachine-readable error code, e.g. NOT_FOUND.
dataanyOptional structured error details.
definedbooleanrequiredTrue if the error was declared in the procedure contract.
messagestringrequiredHuman-readable error message.
statusintegerrequiredHTTP status code.
Missing or invalid API key.
codestringrequiredMachine-readable error code, e.g. NOT_FOUND.
dataanyOptional structured error details.
definedbooleanrequiredTrue if the error was declared in the procedure contract.
messagestringrequiredHuman-readable error message.
statusintegerrequiredHTTP status code.
The API key does not have access to this resource.
codestringrequiredMachine-readable error code, e.g. NOT_FOUND.
dataanyOptional structured error details.
definedbooleanrequiredTrue if the error was declared in the procedure contract.
messagestringrequiredHuman-readable error message.
statusintegerrequiredHTTP status code.
The requested resource was not found.
codestringrequiredMachine-readable error code, e.g. NOT_FOUND.
dataanyOptional structured error details.
definedbooleanrequiredTrue if the error was declared in the procedure contract.
messagestringrequiredHuman-readable error message.
statusintegerrequiredHTTP status code.
Rate limit exceeded.
codestringrequiredMachine-readable error code, e.g. NOT_FOUND.
dataanyOptional structured error details.
definedbooleanrequiredTrue if the error was declared in the procedure contract.
messagestringrequiredHuman-readable error message.
statusintegerrequiredHTTP status code.
Internal server error.
codestringrequiredMachine-readable error code, e.g. NOT_FOUND.
dataanyOptional structured error details.
definedbooleanrequiredTrue if the error was declared in the procedure contract.
messagestringrequiredHuman-readable error message.
statusintegerrequiredHTTP status code.