Accept All Drafts
POST /api/creative/council/drafts/{session_id}/accept-all
POST
/api/creative/council/drafts/{session_id}/accept-all
Accept all pending draft entries and create lore entries for them.
Returns the mapping of each accepted draft to the lore entry minted from it so the frontend can wire a single undo-toast that reverts statuses and deletes the created lore entries.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” session_id
required
Session Id
string
Responses
Section titled “ Responses ”Successful Response
AcceptAllDraftsResponse
Response from the bulk accept-all endpoint.
Returns both the count (for UI messaging) and the full list of created draft→lore links (for wiring an undo that reverts statuses and deletes the lore entries that were minted from the drafts).
object
applied
required
Applied
Number of drafts accepted
integer
created
Created
Draft→lore links for undo
Array<object>
AcceptedDraftLinkPairing of an accepted draft ID with the lore entry created from it.
object
draftId
required
Draftid
Draft entry ID
string
loreEntryId
required
Loreentryid
Created lore entry ID
string
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