Update the details of an existing character. Provide any of the updatable fields such as age, description, gender, items, events, quests, role, tone, or traits.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier for the game.
"game123"
The unique identifier for the world.
"world456"
The unique identifier for the character.
"character789"
(Optional) The player's session ID.
"60Z5aZjIuFlyYbjbZZKe"
The character data fields to update.
The age category of the character.
infant, child, teenager, youngAdult, adult, middleAged, elderly "adult"
A brief description of the character.
"A brave warrior with a mysterious past."
The gender of the character.
"Male"
The AI model used to power character interactions. Premium models are available only for some subscriptions.
standard, premium "standard"
Structured content filters applied to the character's responses. Provide the toggles you want to update when adjusting moderation settings.
{
"active": true,
"violence": true,
"sexual": false,
"drugs": false
}A list of updated items for the character.
Schema for items of type "trade"
A list of events related to the character.
Schema for events of type "action"
The display name of the character.
"Aragorn"
A list of quests associated with the character.
The role the character plays in the game.
noRole, protagonist, antagonist, secondaryCharacter, tertiaryCharacter, mentor, enemy, villain, rival, shopkeeper, healer, questGiver, innkeeper, guard, familyMember, loveInterest, scientist, politician, criminal, explorer, wizard, ghost, animalCompanion, artificialIntelligence "protagonist"
The style or mood of the character's dialogue.
formal, casual, sarcastic, mysterious, emotive "mysterious"
A list of personality traits of the character.
Character updated successfully.
Confirmation message after updating the character.
"Character: character789 has been updated with the following context."
UID of the character.
"character789"
Updated character context data.
{
"age": "adult",
"description": "A brave warrior with a mysterious past.",
"gender": "Male",
"items": [
{
"itemName": "sword",
"unit": "Piece",
"value": 100
}
],
"name": "Aragorn",
"quests": [
{
"description": "Retrieve the lost artifact.",
"objective": "Find and return the artifact.",
"reward": "500 gold coins"
}
],
"role": "protagonist",
"tone": "mysterious",
"traits": ["brave"]
}