Skip to Content

Scenario Types

CallerPermissions

Evaluated permissions for the current caller on this artifact type.

FieldTypeRequiredDescription
can_createbooleanYesWhether the caller can create new artifacts
can_draftbooleanYesWhether the caller can create/update drafts
can_duplicatebooleanYesWhether the caller can duplicate artifacts
has_accessbooleanNoWhether the caller can view this entity
can_editbooleanNoWhether the caller can edit this entity
can_deletebooleanNoWhether the caller can delete this entity
disabled_reasonstringNoHuman-readable reason if editing is disabled

ColumnInfo

FieldTypeRequiredDescription
namestringYesColumn name
typestringYesColumn data type
nullablebooleanYesWhether the column is nullable

CreateScenarioItem

Single scenario item for create — no scenario_id.

Required fields (name): provide ID or value.

FieldTypeRequiredDescription
idstringNoClient-provided UUID for the scenario
resource_idstringNoOptional preset UUID for the resource snapshot
name_idstringNoUUID of the name resource
namestringNoDisplay name value
description_idstringNoUUID of the description resource
descriptionstringNoDescription text value
problem_statement_idstringNoUUID of the problem statement resource
problem_statementstringNoProblem statement text value
flag_idsstring[]NoSelected flag option UUIDs — canonical; server derives semantics by flag type/value
department_idsstring[]NoAssociated department UUIDs
persona_idsstring[]NoAssociated persona UUIDs
document_idsstring[]NoAssociated document UUIDs
parameter_idsstring[]NoAssociated parameter UUIDs
parameter_field_idsstring[]NoAssociated parameter field UUIDs
image_idsstring[]NoAssociated image UUIDs
objective_idsstring[]NoAssociated objective UUIDs
video_idsstring[]NoAssociated video UUIDs
question_idsstring[]NoAssociated question UUIDs
option_idsstring[]NoAssociated option UUIDs
departmentsstring[]NoDepartment names for matching
personasstring[]NoPersona names for matching
documentsstring[]NoDocument names for matching
parameter_fieldsstring[]NoParameter field names for matching
objectivesstring[]NoObjective texts for matching
imagesstring[]NoImage names for matching
videosstring[]NoVideo names for matching
questionsstring[]NoQuestion texts for matching
optionsstring[]NoOption texts for matching

DeleteScenarioResult

Per-item result from bulk delete.

FieldTypeRequiredDescription
successbooleanNoWhether the operation succeeded
scenario_idstringNoUUID of the deleted scenario
messagestringNoHuman-readable result message

DocsApiResponse

FieldTypeRequiredDescription
listPageMetaItemYes
detailPageMetaItemYes
newPageMetaItemYes

DocsResponse

FieldTypeRequiredDescription
namestringYesResource or entry name
typestringYesResource or entry type identifier
descriptionstringYesHuman-readable description
materialized_viewMvInfoNoMaterialized view metadata
tablesTableInfo[]YesRelated database tables
operationsOperationInfo[]YesAvailable operations

EvalSetup

Run-level eval scaffold — first-class on the generate response.

Audit’s **output spread carries this onto <artifact>.generate.completed. Null when no rubric-bearing agent participated.

FieldTypeRequiredDescription
test_idstringYes
invocationsInvocationSlot[]Yes

GenerateConfig

Developer configuration — all optional with sensible defaults.

FieldTypeRequiredDescription
operationsstring[]No
dangerousbooleanNo
paramsobjectNo
group_idstringNo

GenerationsScenarioListItem

Single generation group in the scenario generations response.

FieldTypeRequiredDescription
group_idstringYesUUID of the generation group
session_idstringNoUUID of the parent session
group_namestringNoName of the generation group
created_atstringNoTimestamp of the generation

GetScenarioDraftResponse

FieldTypeRequiredDescription
idstringYesUUID of the draft
created_atstringYesCreation timestamp
generatedbooleanYesWhether this was AI-generated
mcpbooleanYesWhether MCP tooling was used
activebooleanYesWhether this draft is active
session_idstringYesAssociated session UUID
namestringNoImmutable draft label set at create time
department_idsstring[]YesAssociated department UUIDs
description_idsstring[]YesAssociated description UUIDs
document_idsstring[]YesAssociated document UUIDs
flag_idsstring[]YesAssociated flag UUIDs
image_idsstring[]YesAssociated image UUIDs
name_idsstring[]YesAssociated name UUIDs
objective_idsstring[]YesAssociated objective UUIDs
option_idsstring[]YesAssociated option UUIDs
parameter_field_idsstring[]YesAssociated parameter field UUIDs
persona_idsstring[]YesAssociated persona UUIDs
problem_statement_idsstring[]YesAssociated problem statement UUIDs
profile_idsstring[]YesAssociated profile UUIDs
question_idsstring[]YesAssociated question UUIDs
video_idsstring[]YesAssociated video UUIDs
pending_name_idsstring[]NoPending name UUIDs
pending_description_idsstring[]NoPending description UUIDs
pending_problem_statement_idsstring[]NoPending problem statement UUIDs
pending_department_idsstring[]NoPending department UUIDs
pending_persona_idsstring[]NoPending persona UUIDs
pending_document_idsstring[]NoPending document UUIDs
pending_objective_idsstring[]NoPending objective UUIDs
pending_image_idsstring[]NoPending image UUIDs
pending_video_idsstring[]NoPending video UUIDs
pending_question_idsstring[]NoPending question UUIDs
pending_option_idsstring[]NoPending option UUIDs
pending_flag_idsstring[]NoPending flag UUIDs
pending_parameter_field_idsstring[]NoPending parameter field UUIDs

GroupCall

Tool call referenced by a message.

FieldTypeRequiredDescription
idstringYes
tool_namestringNo
template_namestringNo
toolobjectNo
ledger_statusstringNo
ledger_operationstringNo
ledger_artifactstringNo
ledger_artifact_idstringNo

GroupMessage

Message within a run.

FieldTypeRequiredDescription
idstringYes
rolestringYes
created_atstringNo
text_idsstring[]No
audio_idsstring[]No
image_idsstring[]No
video_idsstring[]No
file_idsstring[]No
call_idsstring[]No
callsGroupCall[]No
reasoningbooleanNoTrue when this row is a chain-of-thought trace persisted alongside the assistant answer (rendered as a collapsed accordion).
in_contextbooleanNoWhether this message is included in the LLM context for the next generation. Mirrors the dedup pass that builds chat history (see in_context_reason).
in_context_reasonstringNoWhy this message is in/out of LLM context. ‘kept’ = included; ‘deduped_read’ = older read-only call to a tool that has a fresher result later in the group; future values may include ‘trimmed_top_n’.

GroupResource

Lightweight \{id, name\} for cross-referencing run-level ids (model_id / agent_id / profile_id) against human-readable names on the analytics panel. Names come from the canonical get_models / get_agents / get_profiles black boxes.

FieldTypeRequiredDescription
idstringYes
namestringNo

GroupRun

Run within a group, with its messages.

Carries token / cost / model / agent / profile attribution so the analytics view can render per-run cost + actor info without a parallel detail shape. profile_id is the authoring profile (human user), agent_id is the LLM-side actor, model_id is the model used by that agent. All optional — runs predating these columns or with unresolved attributions surface None.

FieldTypeRequiredDescription
idstringYes
created_atstringNo
input_tokensintegerNo
output_tokensintegerNo
cached_input_tokensintegerNo
costnumberNo
model_idstringNo
agent_idstringNo
profile_idstringNo
previous_context_start_indexintegerNoIndex in messages where the current run’s own messages begin; earlier rows are previous-context replay. None when the run has no previous context attached.
messagesGroupMessage[]No

ImportField

Field descriptor for CSV import column mapping.

FieldTypeRequiredDescription
keystringYes
labelstringYes
requiredbooleanNo
multibooleanNo
typestringNo
examplestringNo
descriptionstringNo

InvocationSlot

One agent’s slot in a multi-agent generation pool.

Populated by setup_generation_test when an agent carries a rubric. The client uses these IDs to drive the eval workflow: review the candidate’s output, optionally fire a grader against its invocation_id, and promote/reject by call_id via the existing idempotency_key + accept pattern.

FieldTypeRequiredDescription
invocation_idstringYes
agent_idstringYes
rubric_idstringNo

ListFilterOption

Standardized option for list endpoint filter sections.

FieldTypeRequiredDescription
idstringNoUnique identifier for this filter option
namestringNoDisplay name
countintegerNoNumber of matching records
hex_codestringNoHex color code for display
valuestringNoInternal value
typestringNoOption type discriminator

ListFilterSection

Filter section with options and echoed request state.

FieldTypeRequiredDescription
optionsListFilterOption[]NoAvailable filter options
selected_idsstring[]NoCurrently selected filter option IDs
searchstringNoActive search text for filtering

ListScenarioApiCohort

Cohort in list response.

FieldTypeRequiredDescription
cohort_idstringNoUUID of the cohort
namestringNoCohort name
descriptionstringNoCohort description text

ListScenarioApiDepartment

Department in list response.

FieldTypeRequiredDescription
department_idstringNoUUID of the department
namestringNoDepartment name
descriptionstringNoDepartment description text

ListScenarioApiField

Field in list response.

FieldTypeRequiredDescription
field_idstringNoUUID of the field
namestringNoField name
descriptionstringNoField description text

ListScenarioApiObjective

Objective in list response.

FieldTypeRequiredDescription
objective_idstringNoUUID of the objective
namestringNoObjective name
descriptionstringNoObjective description text

ListScenarioApiPersona

Persona in list response.

FieldTypeRequiredDescription
persona_idstringNoUUID of the persona
namestringNoPersona name
descriptionstringNoPersona description text
colorstringNoDisplay color for the persona
iconstringNoIcon identifier for the persona

ListScenarioApiScenario

Scenario item in list response with Python-computed permissions.

FieldTypeRequiredDescription
idstringNoScenario artifact UUID (canonical id; mirrors scenario_id)
scenario_idstringNoUUID of the scenario
namestringNoDisplay name
problem_statementstringNoProblem statement text
is_inactivebooleanNoWhether the scenario is inactive
generatedbooleanNoWhether this was AI-generated
mcpbooleanNoWhether this is an MCP scenario
department_idsstring[]NoAssociated department UUIDs
objective_idsstring[]NoAssociated objective UUIDs
persona_idsstring[]NoAssociated persona UUIDs
field_idsstring[]NoAssociated field UUIDs
simulation_idsstring[]NoAssociated simulation UUIDs
num_simulationsintegerNoTotal number of simulations
active_simulation_countintegerNoNumber of active simulations
can_editbooleanNoWhether the current user can edit
can_deletebooleanNoWhether the current user can delete
can_duplicatebooleanNoWhether the current user can duplicate
cohort_idsstring[]NoAssociated cohort UUIDs
pending_statusstringNoLatest soft_calls_mv status: ‘pending’ / ‘accepted’ / ‘rejected’
pending_operationstringNoOperation type (‘create'
pending_call_idstringNocall_id (idempotency key for ack) of the pending op
updated_atstringNoLast updated timestamp

ListScenarioApiSimulation

Simulation in list response.

FieldTypeRequiredDescription
simulation_idstringNoUUID of the simulation
namestringNoSimulation name
descriptionstringNoSimulation description text
department_idsstring[]NoAssociated department UUIDs

MvInfo

FieldTypeRequiredDescription
namestringYesMaterialized view name
definitionstringYesSQL definition of the view
columnsColumnInfo[]YesList of columns in the view

OperationInfo

FieldTypeRequiredDescription
namestringYesOperation name
descriptionstringYesHuman-readable description of the operation
paramsParamInfo[]YesList of operation parameters
returnsobjectNoReturn type schema

OperationPrompts

Starter prompts keyed by operation name.

Each key is an operation (e.g. “create”, “search”, “draft”, “export”) and the value is a list of starter prompts for that operation. The client picks from the operations the caller has permission for and rotates through them.

FieldTypeRequiredDescription
promptsobjectNoMap of operation name to starter prompts

PageMetaItem

FieldTypeRequiredDescription
titlestringYes
descriptionstringYes

ParamInfo

FieldTypeRequiredDescription
namestringYesParameter name
typestringYesParameter data type
requiredbooleanYesWhether the parameter is required
defaultanyNoDefault value if not required

ProducedMedia

One asset produced by a generation run.

resource_id is the canonical id the per-artifact download tools accept (e.g. Scenario_Image_Download(image_id=resource_id) for modality="image"). It maps to images_resource.id / videos_resource.id / audios_resource.id depending on the modality.

FieldTypeRequiredDescription
modality"image" | "video" | "audio"Yes
resource_idstringYes
upload_idstringYes
mime_typestringNo
file_sizeintegerNo

ProfileSummary

Caller identity derived from JWT — who you are on this page.

Superset of the old six-field version: now carries everything the client needs so that /\{artifact\}/context fully replaces /profiles/context and the extra getLayoutContextData round-trip can be dropped.

FieldTypeRequiredDescription
namestringYesDisplay name of the authenticated user
rolestringYesRole name (e.g. ‘Super Administrator’)
role_levelintegerYesRole hierarchy level (0 = highest privilege)
department_idsstring[]YesDepartments the user belongs to
artifact_accessstring[]YesArtifact types this role can access (sidebar visibility)
role_permissionsany[][]YesFull (artifact, operation) permission tuples for granular page gating
is_activebooleanYesWhether the user’s profile is active
idstringYesProfile UUID (SocketProvider, ProfileProvider)
themeThemeBundleNoResolved theme: hex primitives + derived oklch tokens + score thresholds
session_idstringNoCurrent session UUID
is_emulationbooleanNoWhether user is in emulation mode (ProfileProvider)
role_resourcesQGetProfileContextV4RoleResource[]NoAll role resources for emulation display (ProfileProvider)
scoped_rolesstring[]NoRoles the user can emulate (ProfileProvider)
activebooleanNoAlias for is_active (ProfileProvider uses this name)

QGetProfileContextV4RoleResource

FieldTypeRequiredDescription
rolestringNo
namestringNo
descriptionstringNo
icon_valuestringNo
color_hexstringNo

RunStatus

Outcome of one watched run.

FieldTypeRequiredDescription
run_idstringYes
status"pending" | "completed" | "failed"Yes
modalitystringNoModality of generated output (image, video, text…)
resource_idsstring[]NoResource UUIDs produced by this run (e.g. images_resource ids)
errorstringNo

ScenarioDepartment

Department for scenario.

FieldTypeRequiredDescription
department_idstringNoUUID of the department
namestringNoDepartment name
descriptionstringNoDepartment description text
generatedbooleanNoWhether this was AI-generated
selectedbooleanNo
suggestedbooleanNo
pendingbooleanNo

ScenarioDescriptionResource

Description resource for scenario.

FieldTypeRequiredDescription
idstringNoUUID of the description resource
descriptionstringNoDescription text
generatedbooleanNoWhether this was AI-generated
selectedbooleanNo
suggestedbooleanNo
pendingbooleanNo

ScenarioDocument

Document for scenario.

FieldTypeRequiredDescription
document_idstringNoUUID of the document
namestringNoDocument name
descriptionstringNoDocument description text
file_idstringNoUUID of the files_resource (used for download)
file_pathstringNoStorage path of the file
mime_typestringNoMIME type of the document
upload_idstringNoUUID of the associated upload
htmlbooleanNoWhether the document is HTML content
parameter_idsstring[]NoLinked parameter UUIDs
field_idsstring[]NoLinked field UUIDs
parent_document_idstringNoUUID of the parent document
video_documentbooleanNoHas linked parameter with video enabled
non_video_documentbooleanNoHas linked parameter with video disabled
generatedbooleanNoWhether this was AI-generated
selectedbooleanNo
suggestedbooleanNo
pendingbooleanNo

ScenarioDraftFormState

Full form state after draft patch — server is source of truth.

Client replaces its local form state with this after every successful patch.

FieldTypeRequiredDescription
name_idstringNoUUID of the selected name resource
description_idstringNoUUID of the selected description resource
problem_statement_idstringNoUUID of the selected problem statement resource
flag_idsstring[]NoSelected flag UUIDs
activebooleanNoEchoed scenario_active flag state
video_enabledbooleanNoEchoed video_enabled flag state
problem_statement_enabledbooleanNoEchoed problem_statement_enabled flag state
objectives_enabledbooleanNoEchoed objectives_enabled flag state
images_enabledbooleanNoEchoed images_enabled flag state
questions_enabledbooleanNoEchoed questions_enabled flag state
department_idsstring[]NoSelected department UUIDs
persona_idsstring[]NoSelected persona UUIDs
document_idsstring[]NoSelected document UUIDs
parameter_field_idsstring[]NoSelected parameter field UUIDs
objective_idsstring[]NoSelected objective UUIDs
image_idsstring[]NoSelected image UUIDs
video_idsstring[]NoSelected video UUIDs
question_idsstring[]NoSelected question UUIDs
option_idsstring[]NoSelected option UUIDs

ScenarioField

Field for scenario.

FieldTypeRequiredDescription
idstringNoUUID of the parameter_fields_resource junction row; required by the client picker to select a field
field_idstringNoUUID of the field
namestringNoField name
descriptionstringNoField description text
parameter_idstringNoUUID of the linked parameter
parameter_namestringNoName of the linked parameter
conditional_parameter_idsstring[]NoConditional parameter UUIDs
generatedbooleanNoWhether this was AI-generated
selectedbooleanNo
suggestedbooleanNo
pendingbooleanNo

ScenarioFieldError

Per-field error from value resolution.

FieldTypeRequiredDescription
fieldstringYesName of the field with the error
messagestringYesHuman-readable error message

ScenarioFlagResource

Flag option row — one per (name, type, value) entry in flags_resource.

FieldTypeRequiredDescription
idstringNoFlag resource identifier
namestringNoFlag display name
typestringNoFlag type (e.g. ‘scenario_active’)
valuebooleanNoUnderlying bool value of this option
descriptionstringNoFlag description text
icon_idstringNoIcon identifier for the flag
iconstringNoResolved SVG markup (hydrated from icons_resource)
generatedbooleanNoWhether the flag was AI-generated
suggestedbooleanNoWhether this item is suggested
selectedbooleanNoWhether this item is selected
pendingbooleanNoWhether this item is pending acceptance

ScenarioImage

Image for scenario.

FieldTypeRequiredDescription
image_idstringNoUUID of the image
namestringNoImage name
file_pathstringNoStorage path of the image file
mime_typestringNoMIME type of the image
upload_idstringNoUUID of the associated upload
generatedbooleanNoWhether this was AI-generated
selectedbooleanNo
suggestedbooleanNo
pendingbooleanNo

ScenarioNameResource

Name resource for scenario.

FieldTypeRequiredDescription
idstringNoUUID of the name resource
namestringNoDisplay name
generatedbooleanNoWhether this was AI-generated
selectedbooleanNo
suggestedbooleanNo
pendingbooleanNo

ScenarioObjective

Objective for scenario.

FieldTypeRequiredDescription
idstringNoUUID of the objective
objectivestringNoObjective text
generatedbooleanNoWhether this was AI-generated
selectedbooleanNo
suggestedbooleanNo
pendingbooleanNo

ScenarioOption

Option for scenario.

FieldTypeRequiredDescription
option_idstringNoUUID of the option
option_textstringNoOption text content
is_correctbooleanNoWhether this is the correct option
question_idstringNoUUID of the parent question
generatedbooleanNoWhether this was AI-generated
selectedbooleanNo
suggestedbooleanNo
pendingbooleanNo

ScenarioPersona

Persona for scenario.

FieldTypeRequiredDescription
persona_idstringNoUUID of the persona
namestringNoPersona name
descriptionstringNoPersona description text
colorstringNoDisplay color for the persona
iconstringNoIcon identifier for the persona
image_modelbooleanNoWhether this persona uses an image model
parameter_idsstring[]NoLinked parameter UUIDs
field_idsstring[]NoLinked field UUIDs
examplestringNoExample text for the persona
video_personabooleanNoHas linked parameter with video enabled
non_video_personabooleanNoHas linked parameter with video disabled
generatedbooleanNoWhether this was AI-generated
selectedbooleanNo
suggestedbooleanNo
pendingbooleanNo

ScenarioProblemStatement

Problem statement for scenario.

FieldTypeRequiredDescription
problem_statement_idstringNoUUID of the problem statement
namestringNoProblem statement name
problem_statementstringNoProblem statement text
generatedbooleanNoWhether this was AI-generated
selectedbooleanNo
suggestedbooleanNo
pendingbooleanNo

ScenarioQuestion

Question for scenario.

FieldTypeRequiredDescription
question_idstringNoUUID of the question
question_textstringNoQuestion text content
allow_multiplebooleanNoWhether multiple answers are allowed
generatedbooleanNoWhether this was AI-generated
selectedbooleanNo
suggestedbooleanNo
pendingbooleanNo

ScenarioResultItem

Per-item result within a bulk create/update response.

FieldTypeRequiredDescription
successbooleanYesWhether the operation succeeded
scenario_idstringNoUUID of the affected scenario
messagestringYesHuman-readable result message
errorsScenarioFieldError[]NoList of per-field errors

ScenarioVideo

Video for scenario.

FieldTypeRequiredDescription
video_idstringNoUUID of the video
namestringNoVideo name
file_pathstringNoStorage path of the video file
mime_typestringNoMIME type of the video
upload_idstringNoUUID of the associated upload
generatedbooleanNoWhether this was AI-generated
selectedbooleanNo
suggestedbooleanNo
pendingbooleanNo

TableInfo

FieldTypeRequiredDescription
namestringYesTable name
columnsColumnInfo[]YesList of columns in the table

ThemeBundle

Full theme payload for a page bootstrap.

Riding along on every /\{artifact\}/context response via ProfileSummary.theme. Layers:

  • primitives / dark_primitives — hex inputs the settings editor reads/writes (light + dark palettes).
  • tokens / dark_tokens — oklch tokens the client paints with. ThemeStyle emits two <style> blocks: one scoped to :root:not(.dark) (light) and one to :root.dark (dark).
  • thresholds — numeric score thresholds for analytics components. Empty-in → empty-out per token: missing values fall through to the matching globals.css default.
FieldTypeRequiredDescription
primitivesThemePrimitivesNoHex inputs from the setting (light palette, for the theme editor)
tokensThemeTokensNoDerived oklch tokens for light mode (SSR CSS-var injection)
dark_primitivesThemePrimitivesNoHex inputs from the setting (dark palette, for the theme editor)
dark_tokensThemeTokensNoDerived oklch tokens for dark mode (SSR CSS-var injection)
thresholdsThresholdsNoScore thresholds resolved from the setting

ThemePrimitives

40 optional fields. The 17 essentials drive the rest; the other 23 are overrides for fine-tuning when derivation isn’t what you want.

Empty primitive → empty token → client falls back to globals.css.

FieldTypeRequiredDescription
backgroundstringNo
primarystringNo
accentstringNo
cardstringNo
sidebarstringNo
muted_foregroundstringNo
ringstringNo
borderstringNo
destructivestringNo
successstringNo
warningstringNo
infostringNo
chart1stringNo
chart2stringNo
chart3stringNo
chart4stringNo
chart5stringNo
foregroundstringNo
card_foregroundstringNo
popoverstringNo
popover_foregroundstringNo
primary_foregroundstringNo
secondarystringNo
secondary_foregroundstringNo
mutedstringNo
accent_foregroundstringNo
destructive_foregroundstringNo
dangerstringNo
danger_foregroundstringNo
inputstringNo
success_foregroundstringNo
warning_foregroundstringNo
info_foregroundstringNo
sidebar_foregroundstringNo
sidebar_primarystringNo
sidebar_primary_foregroundstringNo
sidebar_accentstringNo
sidebar_accent_foregroundstringNo
sidebar_borderstringNo
sidebar_ringstringNo

ThemeTokens

40 fully-resolved CSS variable values (snake_case 1:1 with vars).

FieldTypeRequiredDescription
backgroundstringNo
foregroundstringNo
cardstringNo
card_foregroundstringNo
popoverstringNo
popover_foregroundstringNo
primarystringNo
primary_foregroundstringNo
secondarystringNo
secondary_foregroundstringNo
mutedstringNo
muted_foregroundstringNo
accentstringNo
accent_foregroundstringNo
destructivestringNo
destructive_foregroundstringNo
dangerstringNo
danger_foregroundstringNo
borderstringNo
inputstringNo
ringstringNo
successstringNo
success_foregroundstringNo
warningstringNo
warning_foregroundstringNo
infostringNo
info_foregroundstringNo
chart1stringNo
chart2stringNo
chart3stringNo
chart4stringNo
chart5stringNo
sidebarstringNo
sidebar_foregroundstringNo
sidebar_primarystringNo
sidebar_primary_foregroundstringNo
sidebar_accentstringNo
sidebar_accent_foregroundstringNo
sidebar_borderstringNo
sidebar_ringstringNo

Thresholds

Numeric score thresholds resolved from the active setting.

Server pre-buckets dashboard metrics into success | warning | danger | neutral already, so most components don’t need these values. Surface them for chart reference lines, tooltips, and any client-side bucketing.

FieldTypeRequiredDescription
successintegerYesScore >= this counts as success
warningintegerYesScore >= this counts as warning
dangerintegerYesScore < success threshold but >= this counts as danger; below is neutral/no-data

UpdateScenarioItem

Single scenario item for update — scenario_id required, all fields optional.

Only provided fields are updated (partial update).

FieldTypeRequiredDescription
idstringYesUUID of the scenario to update
name_idstringNoUUID of the name resource
namestringNoDisplay name value
description_idstringNoUUID of the description resource
descriptionstringNoDescription text value
problem_statement_idstringNoUUID of the problem statement resource
problem_statementstringNoProblem statement text value
flag_idsstring[]NoSelected flag option UUIDs — canonical; server derives semantics by flag type/value
department_idsstring[]NoAssociated department UUIDs
persona_idsstring[]NoAssociated persona UUIDs
document_idsstring[]NoAssociated document UUIDs
parameter_idsstring[]NoAssociated parameter UUIDs
parameter_field_idsstring[]NoAssociated parameter field UUIDs
image_idsstring[]NoAssociated image UUIDs
objective_idsstring[]NoAssociated objective UUIDs
video_idsstring[]NoAssociated video UUIDs
question_idsstring[]NoAssociated question UUIDs
option_idsstring[]NoAssociated option UUIDs
departmentsstring[]NoDepartment names for matching
personasstring[]NoPersona names for matching
documentsstring[]NoDocument names for matching
parameter_fieldsstring[]NoParameter field names for matching
objectivesstring[]NoObjective texts for matching
imagesstring[]NoImage names for matching
videosstring[]NoVideo names for matching
questionsstring[]NoQuestion texts for matching
optionsstring[]NoOption texts for matching

UpdateScenarioPatch

Shared patch for bulk-update-all-matching mode.

Inherits every field from UpdateScenarioItem and just relaxes id to optional — the bulk impl stamps the resolved id onto a clone of the patch per matched row, so any client-supplied id is ignored. Sparse semantics: only fields the client sets are written.

FieldTypeRequiredDescription
idstringNoIgnored — bulk impl stamps the resolved scenario id per matched row
name_idstringNoUUID of the name resource
namestringNoDisplay name value
description_idstringNoUUID of the description resource
descriptionstringNoDescription text value
problem_statement_idstringNoUUID of the problem statement resource
problem_statementstringNoProblem statement text value
flag_idsstring[]NoSelected flag option UUIDs — canonical; server derives semantics by flag type/value
department_idsstring[]NoAssociated department UUIDs
persona_idsstring[]NoAssociated persona UUIDs
document_idsstring[]NoAssociated document UUIDs
parameter_idsstring[]NoAssociated parameter UUIDs
parameter_field_idsstring[]NoAssociated parameter field UUIDs
image_idsstring[]NoAssociated image UUIDs
objective_idsstring[]NoAssociated objective UUIDs
video_idsstring[]NoAssociated video UUIDs
question_idsstring[]NoAssociated question UUIDs
option_idsstring[]NoAssociated option UUIDs
departmentsstring[]NoDepartment names for matching
personasstring[]NoPersona names for matching
documentsstring[]NoDocument names for matching
parameter_fieldsstring[]NoParameter field names for matching
objectivesstring[]NoObjective texts for matching
imagesstring[]NoImage names for matching
videosstring[]NoVideo names for matching
questionsstring[]NoQuestion texts for matching
optionsstring[]NoOption texts for matching

app__infra__persona__types__SectionFilter

Per-section filter options for GET requests.

FieldTypeRequiredDescription
searchstringNoFilter options by search text
limitintegerNoMax options to return
selectedbooleanNoOnly return selected items
suggestedbooleanNoOnly return suggested items
includebooleanNoInclude this section in response (default true)
parameter_idsstring[]NoParameter group IDs to filter by (parameter_fields section only)

app__infra__scenario__types__DraftImageValue

Value for creating an image via the draft endpoint.

FieldTypeRequiredDescription
namestringYesImage name
descriptionstringYesImage description text
upload_idstringNoUUID of the associated upload

app__infra__scenario__types__DraftOptionValue

Value for creating an option via the draft endpoint.

FieldTypeRequiredDescription
option_textstringYesOption text content
question_idstringNoUUID of the parent question

app__infra__scenario__types__DraftQuestionValue

Value for creating a question via the draft endpoint.

FieldTypeRequiredDescription
question_textstringYesQuestion text content
timeintegerNoTime limit in seconds
allow_multiplebooleanNoWhether multiple answers are allowed

app__infra__scenario__types__DraftVideoValue

Value for creating a video via the draft endpoint.

FieldTypeRequiredDescription
namestringYesVideo name
descriptionstringYesVideo description text
upload_idstringNoUUID of the associated upload
length_secondsintegerNoVideo length in seconds

Last updated on