Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The unique identifier for the game.
"game123"
The unique identifier for the world.
"world456"
The unique identifier for the character.
"character789"
Query Parameters
(Optional) The player's session ID.
"60Z5aZjIuFlyYbjbZZKe"
Body
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"
A flag indicating whether to apply filters to the character's responses. Filters can be used to restrict certain types of content or language.
true
A list of updated items for the character.
- Option 1
- Option 2
A list of events related to the character.
- Option 1
- Option 2
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.
Response
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"]
}