List the entities on each branch

GET /Platform/entities/branches

List the entities on each branch. What is actually ON a branch: entity types and ids, not just names.

A branch listing answers "which branch names exist"; this answers "what would be merged or deleted" — the relevant question before promoting or cleaning up a branch.

Only entities with a commit ON the branch are listed. Entities merely visible through main fallback are not, because those are exactly the ones a branch operation must NOT touch.

Branches that exist only in branch_metadata (created but never committed to, including time-based branches) are still listed, with entity_count = 0 — matching the branch-name listing so a branch can't silently vanish from one view but not the other.

Query parameters

Returns

BranchContentsResponse

Example request

curl -X GET "https://api.hilus.ai/Platform/entities/branches" \
  -H "Authorization: Bearer $HILUS_API_KEY"