List an entity's commit history
GET /Platform/entities/{entity_type}/{entity_id}/history
List an entity's commit history.
Returns the commits newest first, each with commit_id, committed_at,
committed_by and commit_message, plus the entity's current access.
Pass a commit_id to get to read that version, or to restore
to bring it back.
Path parameters
entity_type: str. Entity class name.entity_id: str. Entity id whose history to return.
Query parameters
branch: optional str. Hilus branch (defaultmain).limit: optional int. Max commits to return, newest first (default 50).
Returns
EntityHistoryResponse
entity_id: optional str or null. Entity id.entity_type: optional str or null. Entity class name.history: optional List[dict]. One per commit: commit_id, committed_at, committed_by, commit_message.access: optional EntityAccess or null. Current access (it applies to every branch and commit).
Example request
curl -X GET "https://api.hilus.ai/Platform/entities/{entity_type}/{entity_id}/history" \
-H "Authorization: Bearer $HILUS_API_KEY"