storyline_set_brief
Replace a storyline's full brief with a human-authored version using optimistic concurrency. Confirm the brief to advance to strategy generation.
Instructions
Manually set (replace) the full brief for a storyline. Use to provide a human-authored brief or to push back an edited version retrieved via storyline_get. Pass the complete brief object and the current expectedVersion (use 0 when setting from scratch). After setting, call storyline_confirm_brief to advance to strategy generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | Yes | Full brief object — replaces the entire current brief | |
| brandId | No | Brand ID (defaults to active brand) | |
| storylineId | Yes | Storyline ID | |
| expectedVersion | Yes | Optimistic-concurrency version from the current brief (pass 0 when setting from scratch) |