Get Composition
get_compositionRetrieve a model's composed view, including its own and inherited entities, objectives, coverage, and attack paths from ancestor models for read-only analysis.
Instructions
A model's composed view: its own entities with everything inherited from its ancestors on the recursive tree. Read-only.
view selects what is returned:
overview(default, ~1-2KB, read it first):{model_id, model_version, flag_enabled, tree: {parent_id, ancestor_chain, depth, child_ids}, counts: {entities, control_objectives, reconciliation_candidates}, warnings}.entities: the effective entity set keyed by kind (trust boundaries, components, assets, attackers, attack paths), each entry{kind, qualified_id, owner_model_id, owner_title, origin, entity}. Paginated (page,page_size);kind(e.g."attackers") keeps one kind.objectives: effective COs{co_qid, asset_qid, attacker_qid, security_properties, origin}, whereoriginisown,cross(inherited, with a local asset or attacker) orinherited.coverage: per effective CO{co_qid, is_covered, own_credit, inherited_credit, contributing_controls}— the composed figures, not the per-modelget_verification_report. Paginated;originfilters by contributing-control origin.attack_paths:{effective_paths, lattice_positions, authored_paths, suggestions: {missing_path, dangling_path}}against the composed topology.
Where composition is not available, every view returns its shape empty
with flag_enabled: false rather than an error. Composed reachability
is get_reachability_verdicts(composed=True).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| page | No | ||
| view | No | overview | |
| origin | No | ||
| model_id | Yes | ||
| page_size | No | ||
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||