UpdateScenarioReq
Request body for PUT /scenarios/{key}. Send the full metadata + spec envelope (same shape as CreateScenarioReq). The path key is the source of truth — metadata.key is required for shape parity but is ignored on the server.
- metadataType: objectrequired
Identity fields for a scenario —
keyplus human-facing descriptors. Same shape asResourceIdentitybut withoutversion(scenarios have no draft/published lifecycle).- keyType: stringrequired
Scenario key (snake_case, customer-supplied; stable across updates).
- nameType: stringrequired
Display name.
- descriptionType: string
Optional description.
- labelsType: object
Free-form labels for filtering / organization.
- specType: objectrequired
Scenario content — the entity data this scenario carries.
- entitiesType: array object[] · ScenarioEntity[]required
Scenario entity data — keyed by entity key, holds the test data used when previewing or rendering this scenario.
