Skip to content

Get Archetype

GET
/api/creative/gamemaster/archetypes/{archetype_id}

Return an archetype’s full spec. Project-scoped user archetypes win.

archetype_id
required
Archetype Id
string
ruleset_ref
Ruleset Ref
string
""

Successful Response

ArchetypeDetailResponse

Detail response envelope.

object
success
Success
boolean
default: true
archetype
Any of:
ArchetypeSpec

A complete archetype JSON document.

One spec is exactly one .archetype.json file under resources/archetypes/<ruleset>/.

object
archetypeId
required
Archetypeid
string
>= 1 characters <= 80 characters /^[a-z0-9][a-z0-9_-]*$/
name
required
Name
string
>= 1 characters <= 120 characters
description
Description
string
""
rulesetRef
required
Rulesetref
string
>= 1 characters <= 80 characters
primaryStats
Primarystats
object
key
additional properties
number
statGeneration
Statgeneration
string
default: standard-array-prioritized
Allowed values: standard-array-prioritized point-buy 4d6-drop-lowest fixed
hitDice
HitDiceSpec

Hit-dice descriptor used when computing HP.

object
die
required
Die
integer
>= 2 <= 100
conModBonus
Conmodbonus
boolean
proficiencies
Proficiencies
Array<string>
classFeaturesByLevel
Classfeaturesbylevel
Array<object>
LevelFeatures

Class / archetype features unlocked at a specific level.

object
level
required
Level
integer
>= 1 <= 30
features
Features
Array<string>
startingGearOptions
Startinggearoptions
Array<object>
StartingGearOption

One weighted bundle of starting-gear items.

object
items
Items
Array<string>
weight
Weight
number
default: 1
spellSlotsFormulaRef
Spellslotsformularef
string
""
spellListRef
Spelllistref
string
""
abilityScaling
AbilityScaling

Formula references used to compute scaling attack / save stats.

object
primary
Primary
string
""
saveDcFormula
Savedcformula
string
""
attackBonusFormula
Attackbonusformula
string
""
error
Any of:
string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object