Skip to content

Input Types

Input types are used as mutation arguments to pass structured data.

← Back to GraphQL API Reference


AnswerInput

A single forced-choice answer in an Enneagram assessment.

FieldTypeRequiredDescription
choiceString!YesSelected option: "a" (first statement) or "b" (second statement).
pairIndexInt!YesZero-based index of the question pair (0..39).

DemoCommunityAttributesInput

Permitted fields for inline edit of a demo community.

FieldTypeRequiredDescription
descriptionStringNo
nameStringNo
privateBooleanNo

DemoGoalAttributesInput

Permitted fields for inline edit of a demo goal.

FieldTypeRequiredDescription
completedBooleanNo
contentStringNo
currentAmountFloatNo
nameStringNo
targetAmountFloatNo

DemoUserAttributesInput

Permitted fields for inline edit of a demo user.

FieldTypeRequiredDescription
emailStringNo
firstNameStringNo
lastNameStringNo

MilestoneInput

Input shape for a single milestone entry when creating or updating a goal template. Phase 83 consumes this.

FieldTypeRequiredDescription
daysOffsetFromStartInt!YesNumber of days after goal start when this milestone is expected.
nameString!YesDisplay name of this milestone step.
orderInt!YesZero-based position within the milestone sequence.

OnboardingProgressInput

FieldTypeRequiredDescription
answersJSON ()NoPer-slide answers collected so far.
currentSlideString!YesSlide id the user is currently on.

StepInput

Structured roadmap step input for UpdateGoal.steps. public_id distinguishes update (present) from create (absent). position is zero-based within the parent goal roadmap.

FieldTypeRequiredDescription
nameString!YesStep label (server truncates to 50 chars).
positionInt!YesZero-based ordinal within the parent goal roadmap.
publicIdIDNoExisting milestone public_id. Absent to create a new step.
targetDateStringNoOptional ISO target date (e.g. "2026-12-31").

Last updated: 2026-09-10 (auto-generated from schema.graphql)

Loading…