MagickMind

List versions of a persona

GET
/v1/persona/{persona_id}/version

Authorization

BearerAuth
AuthorizationBearer <token>

MagickMind API key (mm_...) or user JWT, sent as Authorization: Bearer <token>. /v1/chat/completions accepts an API key only. JWTs (not mm_ keys) may alternatively be passed as a ?token= query parameter.

In: header

Path Parameters

persona_id*string

Query Parameters

cursor?string
limit?integer

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/persona/string/version"
{  "data": [    {      "constraints": [        {          "constraint": {},          "lock": "HARD",          "trait_ref": "string",          "value": {}        }      ],      "created_at": "string",      "dyadic": {        "confidence_threshold": 0,        "enabled": true,        "initial_weight": 0,        "learnable_traits": [          "string"        ],        "max_relationships": 0,        "max_weight": 0      },      "growth": {        "boundaries": [          {            "excluded_values": [              "string"            ],            "max_value": 0,            "min_value": 0,            "reason": "string",            "trait_ref": "string"          }        ],        "domain_rates": {          "behavior": 0,          "identity": 0,          "narrative": 0        },        "goal_states": [          {            "attraction_strength": 0,            "description": "string",            "id": "string",            "trait_targets": {              "property1": 0,              "property2": 0            }          }        ],        "triggers": [          {            "affected_traits": [              "string"            ],            "condition": "string",            "direction": "toward_target",            "id": "string",            "rate_multiplier": 0          }        ],        "type": "FIXED"      },      "id": "string",      "is_active": true,      "persona_id": "string",      "version": "string"    }  ],  "paging": {    "cursors": {      "after": "string",      "before": "string"    },    "has_more": true,    "has_previous": true  }}