Mindview API
Learn how to use the Backstory API to create and manage character backstories, adding depth and personality to your NPCs.
Get Prompt For Mindview
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"prompt_id": "f2f8a75e-...",
"prompt": "[{\"role\":\"system\",\"content\":\"...\"}]",
"model": "gpt-4o-mini",
"temperature": 0.7,
"max_tokens": 512,
"top_p": 1.0,
"frequency_penalty": 0.0,
"presence_penalty": 0.0,
"stop": null,
"session_id": "sess_123",
"mindview": "{\"static_prompt\": {...}, \"dynamic_prompt\": {...}}"
}{
"mindview": "{\"static_prompt\": {...}, \"dynamic_prompt\": {...}}",
"model": "gpt-4o-mini"
}{
"ERROR": "Either session_id or character_id is required",
"Reference ID": "<transaction_id>"
}{
"ERROR": "offset must be a valid integer",
"Reference ID": "<transaction_id>"
}{
"ERROR": "Offset is greater than the number of records",
"Reference ID": "<transaction_id>"
}Session Mode (session_id)
session_id)Character Mode (character_id)
character_id)Last updated
Was this helpful?