molroo docs
PersonaAPI ReferencePersonasIdTick

Advance persona simulation by elapsed seconds

POST
/personas/{id}/tick

Path Parameters

id*string

Persona 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/personas/uuid/tick" \  -H "Content-Type: application/json" \  -d '{    "seconds": 0  }'
{
  "result": {
    "pendingEvents": [
      {
        "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
        },
        "property1": null,
        "property2": null
      }
    ],
    "property1": null,
    "property2": null
  }
}
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "code": "string",
    "message": "string"
  }
}