API Reference
models
Modules:
-
base– -
book– -
change_log– -
character– -
item– -
light_cone– -
message– -
relic–
Classes:
-
BaseSkill–Represent a base skill or a trace node in the character's skill tree.
-
Book–Represent basic information about a book.
-
BookDetail–Represent detailed information about a book.
-
BookSeries–Represent a book series.
-
Changelog–Represent a changelog entry for a specific version.
-
ChangelogCategory–Represent a category of changes within a changelog entry.
-
Character–Represent basic information about a character.
-
CharacterAscensionItem–Represent an item and amount required for character ascension.
-
CharacterCostItem–Represent an item and amount required for character level upgrades.
-
CharacterDetail–Represent detailed information about a character.
-
CharacterDetailType–Represent either the Path or Combat Type with its ID and name.
-
CharacterDetailTypes–Contain the character's Path and Combat Type details.
-
CharacterEidolon–Represent a character Eidolon.
-
CharacterInfo–Represent additional information about a character (fetter info).
-
CharacterScript–Contain character stories and voice lines.
-
CharacterStory–Represent a piece of character story/lore.
-
CharacterTraces–Contain all character traces (skills and passive abilities).
-
CharacterType–Contain the character's Path and Combat Type enums.
-
CharacterUpgrade–Represent the details for a specific character ascension rank.
-
CharacterVoice–Represent a character voice line.
-
Contact–Represent a message contact.
-
ExtraEffect–Represent an extra effect associated with a skill.
-
Item–Represent basic information about an item.
-
ItemDetail–Represent detailed information about an item.
-
ItemSource–Represent a source from which an item can be obtained.
-
ItemType–Represent the type of an item.
-
LightCone–Represent basic information about a light cone.
-
LightConeAscensionMaterial–Represent a material required for light cone ascension.
-
LightConeCostItem–Represent an item and its amount required for upgrading a light cone.
-
LightConeDetail–Represent detailed information about a light cone.
-
LightConePathType–Represent the path type of a light cone.
-
LightConeSkill–Represent the skill of a light cone.
-
LightConeUpgrade–Represent the details for a specific ascension level of a light cone.
-
Message–Represent a message thread or conversation.
-
Recipe–Represent a recipe to craft or obtain an item.
-
RecipeMaterial–Represent a material required for a recipe.
-
Relic–Represent a single relic piece.
-
RelicSet–Represent basic information about a relic set.
-
RelicSetDetail–Represent detailed information about a relic set.
-
SetEffect–Represent a set effect for a relic set.
-
SetEffects–Contain the 2-piece and 4-piece set effects.
-
SkillAdd–Represent a skill level increase granted by an Eidolon.
-
SkillListSkill–Represent detailed information about a specific character skill (Basic ATK, Skill, Ultimate, Talent).
-
SkillPoint–Represent skill point generation or consumption by a skill.
-
SkillPromote–Represent the cost to promote (level up) a skill/trace to a specific level.
-
SkillPromoteCostItem–Represent an item and amount required for promoting (leveling up) a skill/trace.
-
SkillTree–Represent a skill tree structure for a character.
-
SkillTreeSkill–Represent a connection or node within a skill tree structure.
-
Status–Represent a status effect or stat bonus granted by a trace node.
-
VoiceActor–Represent a voice actor for a specific language.
-
WeaknessBreak–Represent the toughness damage dealt by a skill.
BaseSkill
pydantic-model
Represent a base skill or a trace node in the character's skill tree.
Attributes:
-
id(int) –The unique identifier for the skill or trace node.
-
name(str | None) –The name of the skill or trace node (optional for some traces).
-
description(str | None) –The description of the skill or trace node (optional for some traces).
-
point_type(str) –The type of point in the skill tree.
-
point_position(str) –The position identifier within the skill tree.
-
max_level(int) –The maximum level this skill or trace can reach.
-
is_default(bool) –Whether this skill/trace is unlocked by default.
-
avatar_level_limit(int | None) –The character level required to unlock this trace (optional).
-
avatar_promotion_limit(int | None) –The character ascension rank required to unlock this trace (optional).
-
skill_list(list[SkillListSkill]) –Detailed information if this node represents a main skill (Basic ATK, Skill, etc.).
-
status_list(list[Status]) –List of status effects or stat bonuses granted by this trace node.
-
icon(str) –The URL to the icon for this skill or trace node.
-
params(dict[str, list[float]] | None) –Parameters used for scaling (optional).
-
promote(list[SkillPromote]) –List of promotion costs for leveling up this skill or trace.
Fields:
-
id(int) -
name(str | None) -
description(str | None) -
point_type(str) -
point_position(str) -
max_level(int) -
is_default(bool) -
avatar_level_limit(int | None) -
avatar_promotion_limit(int | None) -
skill_list(list[SkillListSkill]) -
status_list(list[Status]) -
icon(str) -
params(dict[str, list[float]] | None) -
promote(list[SkillPromote])
Validators:
-
__convert_skill_list→skill_list -
__convert_status_list→status_list -
__convert_icon→icon -
__convert_promote→promote
Book
pydantic-model
Represent basic information about a book.
Attributes:
-
id(int) –The ID of the book.
-
name(str) –The name of the book.
-
world_type(int) –The numeric ID representing the type of world the book is associated with.
-
chapter_count(int) –The number of chapters in the book.
-
icon(str) –The URL of the book's icon.
-
route(str) –The API route for this book.
Fields:
Validators:
-
__convert_icon→icon
BookDetail
pydantic-model
Represent detailed information about a book.
Attributes:
-
id(int) –The ID of the book.
-
name(str) –The name of the book.
-
world_type(str) –The type of world the book is associated with.
-
chapter_count(int) –The number of chapters in the book.
-
icon(str) –The URL of the book's icon.
-
description(str) –The description of the book.
-
series(list[BookSeries]) –A list of book series entries contained within this book.
Fields:
-
id(int) -
name(str) -
world_type(str) -
chapter_count(int) -
icon(str) -
description(str) -
series(list[BookSeries])
Validators:
BookSeries
pydantic-model
Represent a book series.
Attributes:
-
id(int) –The ID of the series.
-
name(str) –The name of the series.
-
story(str) –The story or description of the series.
-
image_list(list[str]) –A list of image URLs associated with the series.
Fields:
Validators:
-
__convert_image_list→image_list
Changelog
pydantic-model
Represent a changelog entry for a specific version.
Attributes:
-
id(int) –The unique identifier for the changelog entry.
-
version(str) –The version string associated with these changes.
-
categories(list[ChangelogCategory]) –A list of categories detailing the changes.
-
beta(bool) –Whether this changelog pertains to a beta version.
Fields:
-
id(int) -
version(str) -
categories(list[ChangelogCategory]) -
beta(bool)
Validators:
-
__coerce_version→version -
__convert_categories→categories
ChangelogCategory
pydantic-model
Character
pydantic-model
Represent basic information about a character.
Attributes:
-
id(int) –The unique identifier for the character.
-
name(str) –The name of the character.
-
rarity(int) –The rarity (star rating) of the character.
-
icon(str) –The URL to the character's standard avatar icon.
-
types(CharacterType) –Container for the character's Path and Combat Type enums.
-
route(str) –The API route for this character.
-
beta(bool) –Whether the character is currently in beta.
-
release_at(datetime | None) –Datetime object representing the release timestamp (optional).
Fields:
-
id(int) -
name(str) -
rarity(int) -
icon(str) -
types(CharacterType) -
route(str) -
beta(bool) -
release_at(datetime | None)
Validators:
-
__convert_icon→icon -
__convert_release_at→release_at
large_icon
property
large_icon: str
Return the URL to the large-sized avatar icon (full splash art).
CharacterAscensionItem
pydantic-model
CharacterCostItem
pydantic-model
CharacterDetail
pydantic-model
Represent detailed information about a character.
Attributes:
-
id(int) –The unique identifier for the character.
-
name(str) –The name of the character.
-
beta(bool) –Whether the character is currently in beta.
-
rarity(int) –The rarity (star rating) of the character.
-
types(CharacterDetailTypes) –The Path and Combat Type details of the character.
-
icon(str) –The URL to the character's standard avatar icon.
-
release(int) –Timestamp of the character's release (may be 0 if unreleased or unknown).
-
route(str) –The API route for this character.
-
info(CharacterInfo) –Additional fetter information (description, faction, VAs).
-
upgrades(list[CharacterUpgrade]) –A list of ascension details for each rank.
-
traces(CharacterTraces) –Container for all skill and trace information.
-
eidolons(list[CharacterEidolon]) –A list of the character's Eidolons.
-
ascension(list[CharacterAscensionItem]) –A list of materials required for ascension across all ranks.
-
script(CharacterScript) –Container for character stories and voice lines.
-
release_at(datetime | None) –Datetime object representing the release timestamp (optional).
Fields:
-
id(int) -
name(str) -
beta(bool) -
rarity(int) -
types(CharacterDetailTypes) -
icon(str) -
release(int) -
route(str) -
info(CharacterInfo) -
upgrades(list[CharacterUpgrade]) -
traces(CharacterTraces) -
eidolons(list[CharacterEidolon]) -
ascension(list[CharacterAscensionItem]) -
script(CharacterScript) -
release_at(datetime | None)
Validators:
-
__convert_icon→icon -
__convert_eidolons→eidolons -
__convert_ascension→ascension -
__convert_release_at→release_at
large_icon
property
large_icon: str
Return the URL to the large-sized avatar icon (full splash art).
CharacterDetailType
pydantic-model
CharacterDetailTypes
pydantic-model
Contain the character's Path and Combat Type details.
Attributes:
-
path_type(CharacterDetailType) –The character's Path details.
-
combat_type(CharacterDetailType) –The character's Combat Type details.
Fields:
CharacterEidolon
pydantic-model
Represent a character Eidolon.
Attributes:
-
id(int) –The unique identifier for the Eidolon.
-
rank(int) –The rank of the Eidolon (1-6).
-
name(str) –The name of the Eidolon.
-
params(list[int | float] | None) –Parameters used for placeholder replacement in the description.
-
description(str) –The formatted description of the Eidolon's effect.
-
skill_add_level_list(list[SkillAdd]) –List of skills whose levels are increased by this Eidolon.
-
icon(str) –The URL to the Eidolon's icon.
Fields:
-
id(int) -
rank(int) -
name(str) -
params(list[int | float] | None) -
description(str) -
skill_add_level_list(list[SkillAdd]) -
icon(str)
Validators:
-
__format_description→description -
__convert_skill_add_level_list→skill_add_level_list -
__convert_icon→icon
CharacterInfo
pydantic-model
Represent additional information about a character (fetter info).
Attributes:
-
faction(str | None) –The faction or affiliation of the character (optional).
-
description(str) –A general description or profile of the character.
-
voice_actors(list[VoiceActor]) –A list of voice actors for different languages.
Fields:
-
faction(str | None) -
description(str) -
voice_actors(list[VoiceActor])
Validators:
-
__convert_voice_actors→voice_actors
CharacterScript
pydantic-model
Contain character stories and voice lines.
Attributes:
-
stories(list[CharacterStory]) –A list of character story sections.
-
voices(list[CharacterVoice]) –A list of character voice lines.
Fields:
Validators:
CharacterStory
pydantic-model
CharacterTraces
pydantic-model
Contain all character traces (skills and passive abilities).
Attributes:
-
main_skills(list[BaseSkill]) –List of main skills (Basic ATK, Skill, Ultimate, Talent).
-
sub_skills(list[BaseSkill]) –List of passive trace nodes (stat bonuses, extra abilities).
-
tree_skills(list[SkillTree]) –List representing the structure and connections of the skill trees.
Fields:
Validators:
-
__convert_main_skills→main_skills -
__convert_sub_skills→sub_skills -
__convert_tree_skills→tree_skills
CharacterType
pydantic-model
Contain the character's Path and Combat Type enums.
Attributes:
-
path_type(PathType) –The character's Path enum.
-
combat_type(CombatType) –The character's Combat Type enum.
Fields:
CharacterUpgrade
pydantic-model
Represent the details for a specific character ascension rank.
Attributes:
-
level(int) –The ascension rank (0-indexed).
-
cost_items(list[CharacterCostItem]) –A list of items required for this ascension.
-
max_level(int) –The maximum character level achievable after this ascension.
-
required_player_level(int) –The Trailblaze Level required for this ascension.
-
required_world_level(int) –The Equilibrium Level required for this ascension.
-
skill_base(dict[str, int | float]) –Base stats of the character at this ascension rank (level 1 of the rank).
-
skill_add(dict[str, int | float]) –Additional stats gained per level within this ascension rank.
Fields:
-
level(int) -
cost_items(list[CharacterCostItem]) -
max_level(int) -
required_player_level(int) -
required_world_level(int) -
skill_base(dict[str, int | float]) -
skill_add(dict[str, int | float])
Validators:
-
__convert_cost_items→cost_items -
__convert_required_player_level→required_player_level -
__convert_required_world_level→required_world_level
CharacterVoice
pydantic-model
Contact
pydantic-model
ExtraEffect
pydantic-model
Item
pydantic-model
Represent basic information about an item.
Attributes:
-
id(int) –The unique identifier for the item.
-
name(str) –The name of the item.
-
beta(bool) –Whether the item is currently in beta.
-
rarity(int) –The rarity (star rating) of the item.
-
type(int) –The numeric ID representing the item type.
-
tags(list[str]) –A list of tags associated with the item.
-
icon(str) –The URL to the item's icon.
-
route(str) –The API route for this item.
Fields:
Validators:
ItemDetail
pydantic-model
Represent detailed information about an item.
Attributes:
-
id(int) –The unique identifier for the item.
-
name(str) –The name of the item.
-
beta(bool) –Whether the item is currently in beta.
-
rarity(int) –The rarity (star rating) of the item.
-
tags(list[str]) –A list of tags associated with the item.
-
icon(str) –The URL to the item's icon.
-
route(str) –The API route for this item.
-
description(str) –The functional description of the item.
-
story(str | None) –The lore or background story of the item (optional).
-
sources(list[ItemSource]) –A list of sources where this item can be obtained.
Fields:
-
id(int) -
name(str) -
beta(bool) -
rarity(int) -
tags(list[str]) -
icon(str) -
route(str) -
description(str) -
story(str | None) -
sources(list[ItemSource])
Validators:
ItemSource
pydantic-model
Represent a source from which an item can be obtained.
Attributes:
-
description(str) –A description of the source (e.g., "Omni-Synthesizer").
-
recipes(list[Recipe]) –A list of recipes associated with this source.
Fields:
-
description(str) -
recipes(list[Recipe])
Validators:
-
__convert_recipes→recipes
ItemType
pydantic-model
LightCone
pydantic-model
Represent basic information about a light cone.
Attributes:
-
id(int) –The unique identifier for the light cone.
-
name(str) –The name of the light cone.
-
beta(bool) –Whether the light cone is currently in beta.
-
rarity(int) –The rarity (star rating) of the light cone.
-
icon(str) –The URL to the light cone's standard icon.
-
type(str) –The identifier string for the path type (e.g., "Warrior").
-
is_sellable(bool) –Whether the light cone can be sold.
-
route(str) –The API route for this light cone.
Fields:
Validators:
LightConeAscensionMaterial
pydantic-model
LightConeCostItem
pydantic-model
LightConeDetail
pydantic-model
Represent detailed information about a light cone.
Attributes:
-
id(int) –The unique identifier for the light cone.
-
name(str) –The name of the light cone.
-
beta(bool) –Whether the light cone is currently in beta.
-
rarity(int) –The rarity (star rating) of the light cone.
-
type(LightConePathType) –The path type of the light cone.
-
icon(str) –The URL to the light cone's standard icon.
-
is_sellable(bool) –Whether the light cone can be sold.
-
route(str) –The API route for this light cone.
-
description(str) –The lore or background description of the light cone.
-
upgrades(list[LightConeUpgrade]) –A list of ascension details for each rank.
-
skill(LightConeSkill) –The skill details of the light cone.
-
ascension_materials(list[LightConeAscensionMaterial]) –A list of materials required for ascension across all ranks.
Fields:
-
id(int) -
name(str) -
beta(bool) -
rarity(int) -
type(LightConePathType) -
icon(str) -
is_sellable(bool) -
route(str) -
description(str) -
upgrades(list[LightConeUpgrade]) -
skill(LightConeSkill) -
ascension_materials(list[LightConeAscensionMaterial])
Validators:
-
__convert_type→type -
__convert_icon→icon -
__convert_upgrades→upgrades -
__convert_ascension_materials→ascension_materials
LightConePathType
pydantic-model
LightConeSkill
pydantic-model
LightConeUpgrade
pydantic-model
Represent the details for a specific ascension level of a light cone.
Attributes:
-
level(int) –The ascension level (0-indexed).
-
cost_items(list[LightConeCostItem]) –A list of items required for this ascension.
-
max_level(int) –The maximum character level achievable after this ascension.
-
required_player_level(int) –The Trailblaze Level required for this ascension.
-
required_world_level(int) –The Equilibrium Level required for this ascension.
-
skill_base(dict[str, int | float]) –Base stats provided by the light cone at this ascension.
-
skill_add(dict[str, int | float]) –Additional stats gained per level within this ascension rank.
Fields:
-
level(int) -
cost_items(list[LightConeCostItem]) -
max_level(int) -
required_player_level(int) -
required_world_level(int) -
skill_base(dict[str, int | float]) -
skill_add(dict[str, int | float])
Validators:
-
__convert_required_player_level→required_player_level -
__convert_world_level_require→required_world_level -
__convert_cost_items→cost_items
Message
pydantic-model
Represent a message thread or conversation.
Attributes:
-
id(int) –The unique identifier for the message thread.
-
contact(Contact) –The contact associated with this message thread.
-
section_count(int) –The number of sections or messages in the thread.
-
route(str | None) –The API route for this message thread (optional).
Fields:
Recipe
pydantic-model
Represent a recipe to craft or obtain an item.
Attributes:
-
coin_cost(int) –The amount of credits required.
-
required_world_level(int) –The Equilibrium Level required to use this recipe.
-
materials(list[RecipeMaterial]) –A list of standard materials required.
-
special_materials(list[RecipeMaterial]) –A list of special materials required (e.g., event currency).
Fields:
-
coin_cost(int) -
required_world_level(int) -
materials(list[RecipeMaterial]) -
special_materials(list[RecipeMaterial])
Validators:
-
__convert_coin_cost→coin_cost -
__convert_required_world_level→required_world_level -
__convert_materials→materials -
__convert_special_materials→special_materials
RecipeMaterial
pydantic-model
Relic
pydantic-model
Represent a single relic piece.
Attributes:
-
pos(str) –The position/slot of the relic (e.g., "HEAD", "HAND").
-
name(str) –The name of the relic piece.
-
description(str) –The description of the relic piece.
-
story(str) –The lore or story associated with the relic piece.
-
icon(str) –The URL to the relic piece's icon.
Fields:
Validators:
-
__convert_icon→icon
RelicSet
pydantic-model
Represent basic information about a relic set.
Attributes:
-
id(int) –The unique identifier for the relic set.
-
name(str) –The name of the relic set.
-
beta(bool) –Whether the relic set is currently in beta.
-
icon(str) –The URL to the relic set's icon.
-
rarity_list(list[int]) –A list of rarities this set is available in.
-
is_planar_suit(bool) –Whether the set is a Planar Ornament set.
-
route(str) –The API route for this relic set.
Fields:
-
id(int) -
name(str) -
beta(bool) -
icon(str) -
rarity_list(list[int]) -
is_planar_suit(bool) -
route(str)
Validators:
-
__convert_icon→icon
RelicSetDetail
pydantic-model
Represent detailed information about a relic set.
Attributes:
-
id(int) –The unique identifier for the relic set.
-
name(str) –The name of the relic set.
-
icon(str) –The URL to the relic set's icon.
-
rarity_list(list[int]) –A list of rarities this set is available in.
-
is_planar_suit(bool) –Whether the set is a Planar Ornament set.
-
route(str) –The API route for this relic set.
-
beta(bool) –Whether the relic set is currently in beta.
-
set_effects(SetEffects) –The 2-piece and 4-piece effects of the set.
-
relics(list[Relic]) –A list of individual relic pieces belonging to this set.
Fields:
-
id(int) -
name(str) -
icon(str) -
rarity_list(list[int]) -
is_planar_suit(bool) -
route(str) -
beta(bool) -
set_effects(SetEffects) -
relics(list[Relic])
Validators:
SetEffect
pydantic-model
Represent a set effect for a relic set.
Attributes:
-
params(dict[str, list[int | float]] | None) –Parameters used in the description placeholder replacement.
-
description(str) –The formatted description of the set effect.
Fields:
Validators:
-
__format_description→description
SetEffects
pydantic-model
Contain the 2-piece and 4-piece set effects.
Attributes:
-
two_piece(SetEffect) –The effect activated when 2 pieces of the set are equipped.
-
four_piece(SetEffect | None) –The effect activated when 4 pieces of the set are equipped (optional).
Fields:
-
two_piece(SetEffect) -
four_piece(SetEffect | None)
SkillAdd
pydantic-model
SkillListSkill
pydantic-model
Represent detailed information about a specific character skill (Basic ATK, Skill, Ultimate, Talent).
Attributes:
-
id(int) –The unique identifier for the skill.
-
name(str) –The name of the skill.
-
tag(str | None) –A tag associated with the skill (e.g., "Single Target").
-
type(str) –The type of the skill (e.g., "Basic ATK", "Skill", "Ultimate", "Talent").
-
max_level(int) –The maximum level this skill can reach.
-
skill_points(list[SkillPoint]) –Information about skill point generation/consumption.
-
weakness_break(list[WeaknessBreak]) –Information about toughness damage dealt.
-
description(str | None) –The detailed description of the skill (may contain placeholders).
-
simplified_description(str | None) –A simplified description of the skill.
-
traces(list[int]) –List of trace IDs related to this skill.
-
eidolons(list[int]) –List of Eidolon IDs related to this skill.
-
extra_effects(list[ExtraEffect]) –List of extra effects associated with this skill.
-
attack_type(str | None) –The attack type (e.g., "Normal", "AoE").
-
damage_type(str | None) –The damage type (e.g., "Physical", "Fire").
-
icon(str) –The URL to the skill's icon.
-
params(dict[str, list[float]] | None) –Parameters used for scaling and placeholder replacement in descriptions.
Fields:
-
id(int) -
name(str) -
tag(str | None) -
type(str) -
max_level(int) -
skill_points(list[SkillPoint]) -
weakness_break(list[WeaknessBreak]) -
description(str | None) -
simplified_description(str | None) -
traces(list[int]) -
eidolons(list[int]) -
extra_effects(list[ExtraEffect]) -
attack_type(str | None) -
damage_type(str | None) -
icon(str) -
params(dict[str, list[float]] | None)
Validators:
-
__convert_type→type -
__convert_skill_points→skill_points -
__convert_weakness_break→weakness_break -
__format_simplified_description→simplified_description -
__convert_traces→traces -
__convert_eidolons→eidolons -
__convert_extra_effects→extra_effects -
__convert_icon→icon
SkillPoint
pydantic-model
SkillPromote
pydantic-model
Represent the cost to promote (level up) a skill/trace to a specific level.
Attributes:
-
level(int) –The target level for the promotion.
-
cost_items(list[SkillPromoteCostItem]) –A list of items required for this promotion.
Fields:
Validators:
-
__convert_cost_items→cost_items
SkillPromoteCostItem
pydantic-model
SkillTree
pydantic-model
SkillTreeSkill
pydantic-model
Represent a connection or node within a skill tree structure.
Attributes:
-
id(int) –The ID of the skill/trace node this connection points to or represents.
-
points_direction(str | None) –The direction of the connection (optional).
-
points(list[int]) –A list of connected skill/trace node IDs.
Fields:
Validators:
-
__convert_points→points
Status
pydantic-model
Represent a status effect or stat bonus granted by a trace node.
Attributes:
-
name(str) –The name of the status or stat (e.g., "HPAddedRatio").
-
value(int | float) –The value of the status or stat bonus.
-
icon(str) –The URL to the icon representing the status or stat.
Fields:
Validators:
-
__convert_icon→icon