Get the current commit ids of several entities
POST /Platform/entities/{entity_type}/commits
Get the current commit ids of several entities.
Uses a single HQL select id, commit_id query for all IDs — no
full entity loads.
Path parameters
entity_type: str. Entity class name.
Body parameters
ids: str. One or more entity IDs (single id or list).branch: optional str. Hilus branch (defaultmain).
Returns
EntityCommitsResponse
commits: optional Dict[str, str or null]. Entity id to its current commit (None when not on the branch).
Example request
curl -X POST "https://api.hilus.ai/Platform/entities/{entity_type}/commits" \
-H "Authorization: Bearer $HILUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'