Describe an entity type's allocation parameters
GET /Platform/entities/{entity_type}/allocate-schema
Describe an entity type's allocation parameters.
Use it to build a creation form: requires_allocation says whether
the type must be created with allocate rather than from YAML,
params lists one entry per accepted parameter (its help text, a
JSON schema with its closed sets, formats and variants, and whether it
is an advanced setting), and descriptor carries the pricing, cost
warning, confirmation text, whether the provider-side work is
irreversible, and lands_on: the branch the entity is added to
whatever branch you pass, for types that buy something org-wide.
Path parameters
entity_type: str. Entity class name.
Returns
AllocateSchemaResponse
entity_type: optional str or null. Entity class name.requires_allocation: optional bool. True when the type must be created by allocation rather than from YAML.params: optional List[AllocateParam]. Parameters the allocation accepts.descriptor: optional dict or null. Cost and confirmation facts: pricing, cost_warning, confirm_text, irreversible, and lands_on (the branch the entity lands on whatever branch is passed, when the type declares one).
Example request
curl -X GET "https://api.hilus.ai/Platform/entities/{entity_type}/allocate-schema" \
-H "Authorization: Bearer $HILUS_API_KEY"