molroo docs
WorldAPI ReferenceWorldsIdSnapshot

Export world snapshot

GET
/worlds/{id}/snapshot

Path Parameters

id*string

World ID

Response Body

application/json

application/json

curl -X GET "https://api.molroo.io/worlds/uuid/snapshot"
{
  "result": {
    "id": "string",
    "definition": {
      "identity": {
        "name": "string",
        "description": "string",
        "property1": null,
        "property2": null
      },
      "rules": {
        "physics": {
          "property1": true,
          "property2": true
        },
        "social": {
          "norms": [
            "string"
          ],
          "taboos": [
            "string"
          ],
          "hierarchies": [
            "string"
          ]
        },
        "narrative": {
          "property1": null,
          "property2": null
        }
      },
      "culture": {
        "coreValues": [
          "string"
        ],
        "normMap": {
          "property1": 0,
          "property2": 0
        },
        "socialProtocol": {
          "greetingStyle": "string",
          "addressSystem": "string",
          "tabooTopics": [
            "string"
          ]
        }
      },
      "topology": {
        "connections": [
          {
            "from": "string",
            "to": "string",
            "distance": 0,
            "traversalTime": 0,
            "accessibility": "string",
            "bidirectional": true
          }
        ]
      },
      "time": {
        "type": "realtime",
        "ratio": 0
      },
      "knowledge": {
        "facts": [
          {
            "id": "string",
            "content": "string",
            "visibility": "public",
            "knownBy": [
              "string"
            ]
          }
        ],
        "defaultVisibility": "public"
      },
      "progression": {
        "initialPhase": "string",
        "phases": {
          "property1": {
            "description": "string",
            "normMapOverride": {
              "property1": 0,
              "property2": 0
            }
          },
          "property2": {
            "description": "string",
            "normMapOverride": {
              "property1": 0,
              "property2": 0
            }
          }
        },
        "triggers": [
          {
            "id": "string",
            "condition": {
              "type": "event_count",
              "eventType": "string",
              "threshold": 0
            },
            "targetPhase": "string",
            "oneShot": true
          }
        ]
      }
    },
    "entities": [
      {
        "id": "string",
        "type": "persona",
        "name": "string",
        "spaceId": "string",
        "profile": {
          "displayName": "string",
          "role": "string",
          "description": "string",
          "personalityHints": "string"
        },
        "personaSnapshot": {
          "state": {
            "emotion": {
              "V": 0,
              "A": 0,
              "D": 0
            },
            "velocity": {
              "V": 0,
              "A": 0,
              "D": 0
            },
            "emotion_history": [
              {
                "V": 0,
                "A": 0,
                "D": 0,
                "timestamp": 0
              }
            ],
            "body_budget": 0,
            "soul_stage": {
              "id": 0,
              "name": "string",
              "tolerance": 0,
              "stress_modifier": 0,
              "appraisal_bias": {
                "goal_relevance": 0,
                "goal_congruence": 0,
                "expectedness": 0,
                "controllability": 0,
                "agency": 0,
                "norm_compatibility": 0
              },
              "avoidance_mod": 0,
              "blend_table": {
                "rational": 0,
                "irrational": 0
              },
              "cumulative_load": 0,
              "turns_in_stage": 0
            },
            "prediction_model": {
              "goal_relevance": 0,
              "goal_congruence": 0,
              "expectedness": 0,
              "controllability": 0,
              "agency": 0,
              "norm_compatibility": 0
            },
            "prev_emotion_delta": {
              "V": 0,
              "A": 0,
              "D": 0
            },
            "need_state": {
              "autonomy": 0,
              "competence": 0,
              "relatedness": 0
            },
            "lastUpdated": 0,
            "catastrophe": {
              "alpha": 0,
              "beta": 0,
              "z": 0,
              "hysteresis_bound": 0
            },
            "metacog": {
              "turns_since_check": 0,
              "regulation_history": [
                {
                  "timestamp": 0,
                  "strategy": "situation_selection",
                  "trigger": "string",
                  "effectiveness": 0,
                  "emotionBefore": {
                    "V": 0,
                    "A": 0,
                    "D": 0
                  },
                  "emotionAfter": {
                    "V": 0,
                    "A": 0,
                    "D": 0
                  }
                }
              ],
              "self_awareness": "string"
            },
            "affect_dynamics": {
              "variability": 0,
              "instability": 0,
              "inertia_observed": 0
            },
            "interpersonal": {
              "dominance": 0,
              "affiliation": 0
            },
            "regulation": {
              "strategy_weights": {
                "situation_selection": 0,
                "situation_modification": 0,
                "attentional_deployment": 0,
                "cognitive_reappraisal": 0,
                "response_modulation": 0
              },
              "effectiveness_history": [
                {
                  "timestamp": 0,
                  "strategy": "situation_selection",
                  "effectiveness": 0,
                  "context": "string"
                }
              ],
              "active_strategy": {
                "strategy": "situation_selection",
                "started_at": 0,
                "target_emotion": {
                  "V": 0,
                  "A": 0,
                  "D": 0
                },
                "progress": 0,
                "phase": "initiation",
                "turns_active": 0,
                "cumulative_effect": 0
              }
            },
            "prevMaskIntegrity": 0
          },
          "relationships": {
            "property1": {
              "entityId": "string",
              "trust": 0,
              "intimacy": 0,
              "interactionCount": 0,
              "attachmentStyle": "string",
              "lastInteraction": 0
            },
            "property2": {
              "entityId": "string",
              "trust": 0,
              "intimacy": 0,
              "interactionCount": 0,
              "attachmentStyle": "string",
              "lastInteraction": 0
            }
          },
          "goals": [
            {
              "id": "string",
              "content": "string",
              "priority": 0,
              "mutable": true,
              "status": "active"
            }
          ],
          "selfConcept": "string",
          "mood": {
            "V": 0,
            "A": 0,
            "D": 0
          },
          "moodHistory": [
            {
              "emotion": {
                "V": 0,
                "A": 0,
                "D": 0
              },
              "intensity": 0
            }
          ],
          "somatic": {
            "regions": {
              "head": 0,
              "neck": 0,
              "chest": 0,
              "stomach": 0,
              "upperBack": 0,
              "hands": 0,
              "legs": 0
            },
            "interoception": 0
          },
          "narrative": {
            "tone": 0,
            "coherence": {
              "temporal": 0,
              "causal": 0,
              "thematic": 0
            },
            "agency": 0,
            "communion": 0,
            "arcs": [
              {
                "id": "string",
                "type": "decline",
                "strength": 0,
                "episodeIds": [
                  "string"
                ],
                "theme": "string"
              }
            ]
          },
          "tmt": {
            "mortalitySalience": 0,
            "deathAnxiety": 0,
            "proximity": "immediate",
            "proximalDefense": true,
            "distalDefense": true,
            "defenseTarget": "in_group",
            "defenseStrength": 0,
            "lastReminderTime": 0
          },
          "selfEsteem": {
            "global": 0,
            "contingencies": {
              "property1": 0,
              "property2": 0
            }
          },
          "motivationContexts": {
            "property1": {
              "autonomy": 0,
              "locus": "internal",
              "freedomThreat": 0,
              "controlSource": "string"
            },
            "property2": {
              "autonomy": 0,
              "locus": "internal",
              "freedomThreat": 0,
              "controlSource": "string"
            }
          },
          "maskIntegrity": 0,
          "maskState": "string",
          "lastReflectionVAD": {
            "V": 0,
            "A": 0,
            "D": 0
          }
        },
        "relationships": [
          {
            "targetId": "string",
            "relationship": {
              "type": "stranger",
              "strength": 0,
              "trust": 0
            }
          }
        ]
      }
    ],
    "spaces": [
      {
        "id": "string",
        "name": "string",
        "type": "physical",
        "capacity": 0
      }
    ],
    "environment": {
      "atmosphere": "string",
      "lighting": "string",
      "soundscape": [
        "string"
      ],
      "weather": "string",
      "timeOfDay": "string",
      "property1": null,
      "property2": null
    },
    "createdAt": 0,
    "knowledge": {
      "facts": [
        {
          "id": "string",
          "content": "string",
          "visibility": "public",
          "knownBy": [
            "string"
          ]
        }
      ],
      "defaultVisibility": "public"
    },
    "progression": {
      "currentPhase": "string",
      "elapsedTime": 0,
      "eventCounts": {
        "property1": 0,
        "property2": 0
      },
      "phaseHistory": [
        {
          "phase": "string",
          "enteredAt": 0,
          "exitedAt": 0,
          "triggerId": "string"
        }
      ],
      "firedTriggerIds": [
        "string"
      ],
      "triggers": [
        {
          "id": "string",
          "condition": {
            "type": "event_count",
            "eventType": "string",
            "threshold": 0
          },
          "targetPhase": "string",
          "oneShot": true
        }
      ],
      "phases": {
        "property1": {
          "description": "string",
          "normMapOverride": {
            "property1": 0,
            "property2": 0
          }
        },
        "property2": {
          "description": "string",
          "normMapOverride": {
            "property1": 0,
            "property2": 0
          }
        }
      }
    },
    "recentEvents": [
      {
        "type": "string",
        "spaceId": "string",
        "timestamp": 0,
        "sourceEntity": "string",
        "targetEntity": "string",
        "payload": {
          "property1": null,
          "property2": null
        },
        "appraisal": {
          "goal_relevance": 0,
          "goal_congruence": 0,
          "expectedness": 0,
          "controllability": 0,
          "agency": 0,
          "norm_compatibility": 0
        },
        "stimulus": {
          "bodyBudgetDelta": 0,
          "vadOverride": {
            "V": 0,
            "A": 0,
            "D": 0
          },
          "vadDelta": {
            "V": 0,
            "A": 0,
            "D": 0
          },
          "needsDelta": {
            "autonomy": 0,
            "competence": 0,
            "relatedness": 0
          },
          "soulStageForce": 0,
          "catastropheAlphaDelta": 0,
          "dampingOverride": 0
        }
      }
    ],
    "interaction": {
      "groupAwareness": true,
      "emotionalContagion": true,
      "propagation": "none"
    },
    "property1": null,
    "property2": null
  }
}
{
  "error": {
    "code": "string",
    "message": "string"
  }
}