Skip to content
Tools/Spec Introspection/list_domains

list_domains

List domains. Default (`with_guide_only: true`) returns every domain with a canonical usage guide: id + `anchor_entity` + `creation_sequence`. Pass `with_guide_only: false` to enumerate every atomic domain from `UPG_DOMAINS`: id + label + description + types + `has_guide`. The two shapes are disjoint by the boolean.

Spec Introspectionatomic (read-only)

Arguments

with_guide_onlybooleanoptional

Default true. Returns only domains with a canonical usage guide (compact id + anchor_entity + creation_sequence). Pass false to return every atomic domain (id + label + description + types + has_guide).

Returns

Shape
{ count, domains: Array<{ domain_id, anchor_entity, creation_sequence } | { domain_id, label, description, types, has_guide }> }

Examples

Live call against the Notion example graph.

Output

{
  "count": 36,
  "domains": [
    {
      "domain_id": "portfolio",
      "anchor_entity": "organization",
      "creation_sequence": [
        "organization",
        "portfolio",
        "product_area"
      ]
    },
    {
      "domain_id": "workspace",
      "anchor_entity": "workspace",
      "creation_sequence": [
        "workspace"
      ]
    },
    {
      "domain_id": "user",
      "anchor_entity": "persona",
      "creation_sequence": [
        "persona",
        "job",
        "need",
        "desired_outcome",
        "job_step",
        "switching_cost"
      ]
    },
    {
      "domain_id": "user_research",
      "anchor_entity": "research_study",
      "creation_sequence": [
        "research_study",
        "research_question",
        "interview_guide",
        "participant",
        "observation",
        "quote",
        "survey_response",
        "affinity_cluster",
        "insight"
      ]
    },
    {
      "domain_id": "market_intelligence",
      "anchor_entity": "competitive_analysis",
      "creation_sequence": [
        "competitive_analysis",
        "competitor",
        "competitor_feature",
        "market_trend",
        "market_segment",
        "classification_axis",
        "classification_value"
      ]
    },
    {
      "domain_id": "discovery",
      "anchor_entity": "opportunity",
      "creation_sequence": [
        "opportunity",
… (truncated)

See Also