Roll Detailed
POST /api/creative/mechanics/analysis/roll
POST
/api/creative/mechanics/analysis/roll
Roll dice and return individual results with band classification.
Request Body required
Section titled “Request Body required ” DetailedRollRequest
Request for a detailed dice roll with individual die results.
object
poolSize
required
Poolsize
integer
outcomeMapping
required
DiceOutcomeMapping
Defines how individual die faces map to categorical outcomes.
For a d10 pool system: faces 1-10 map to bands like Critical Success, Advantage, Neutral, Consequence, Critical Failure — each with a weight that determines net outcome when advantages and consequences cancel.
object
dieFaces
required
Diefaces
integer
bands
required
Bands
Array<object>
DiceOutcomeBandA range of die face values with a categorical meaning and weight.
Example: on a d10, faces 8-9 are “Advantage” with weight +1.
object
name
required
Name
string
minValue
required
Minvalue
integer
maxValue
required
Maxvalue
integer
weight
Weight
integer
color
Color
string
Responses
Section titled “ Responses ”Successful Response
DetailedRollResponse
Response with individual die results and net weight.
object
dice
required
Dice
Array<object>
DieResultA single die face result with its outcome band classification.
object
face
required
Face
integer
bandName
required
Bandname
string
weight
required
Weight
integer
color
required
Color
string
netWeight
required
Netweight
integer
poolSize
required
Poolsize
integer
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context