WorldAPI ReferenceWorldsIdContext
Get LLM context for an entity
Path Parameters
id*string
World ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://api.molroo.io/worlds/uuid/context" \ -H "Content-Type: application/json" \ -d '{ "entityName": "string" }'{
"result": {
"whoAmI": {
"id": "string",
"name": "string",
"type": "user",
"profile": {
"displayName": "string",
"role": "string",
"description": "string",
"personalityHints": "string"
},
"spaceId": "string"
},
"whereAmI": {
"id": "string",
"name": "string",
"type": "physical",
"capacity": 0
},
"whoIsHere": [
{
"id": "string",
"name": "string",
"type": "user",
"profile": {
"displayName": "string",
"role": "string",
"description": "string",
"personalityHints": "string"
},
"spaceId": "string"
}
],
"whatHappened": [
{
"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
}
}
],
"adjacentSpaces": [
"string"
],
"worldIdentity": {
"name": "string",
"description": "string",
"property1": null,
"property2": null
},
"worldCulture": {
"coreValues": [
"string"
],
"normMap": {
"property1": 0,
"property2": 0
},
"socialProtocol": {
"greetingStyle": "string",
"addressSystem": "string",
"tabooTopics": [
"string"
]
}
},
"knownFacts": [
{
"id": "string",
"content": "string",
"visibility": "public",
"knownBy": [
"string"
]
}
],
"currentPhase": "string",
"personaState": {
"emotion": {
"vad": {
"V": 0,
"A": 0,
"D": 0
},
"discrete": {
"primary": "string",
"secondary": "string",
"intensity": 0
}
},
"soulStage": {
"id": 0,
"name": "string",
"blendTable": {
"rational": 0,
"irrational": 0
},
"turnsInStage": 0
},
"mask": {
"integrity": 0,
"state": "string"
},
"mood": {
"V": 0,
"A": 0,
"D": 0
},
"somatic": {
"property1": 0,
"property2": 0
},
"narrative": {
"tone": 0,
"agency": 0,
"coherence": 0
},
"regulation": {
"activeStrategy": "string"
},
"selfEsteem": {
"global": 0
},
"tmt": {
"mortalitySalience": 0,
"deathAnxiety": 0,
"defenseMode": "proximal"
},
"relationship": {
"trust": 0,
"intimacy": 0,
"attachmentStyle": "string"
}
},
"property1": null,
"property2": null
}
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}