AlmondTill/G3N API

FillDraft

object type

One background wizard draft: your text and/or documents in, a drafted sheet across every page of the walk out — in the background (the assistant thinks at its highest effort; the machine polls every 8 s inside a 480 s wall). The sheet (pages · questions · advice · understood) is absent until status ready; failReason is present on failed. Drafts only — nothing is created or applied; you review every value. expiresAt = the draft's lifetime in epoch seconds (startedAt + 30 days).

Fields

FieldTypeNotes
idID ID!
sysIdString String!
typeString String!
captionString String!
statusFillDraftStatus FillDraftStatus!One of the values of [FillDraftStatus](/types/FillDraftStatus/).
parentIdID ID!The drafting person (the draft is theirs alone).
rootIdID ID!
revisionID ID!
revisionNumInt Int!
createdAtString String!
updatedAtString String!
wizardTypeString String!The wizard word the draft was asked for (Item · Location · …) — prompt context and the materials' walk-scope word. A plan draft's word is Scratchpad.
subjectIdIDthe Scratchpad this plan draft is for — its steps are the pages; absent on a wizard draft. Set at the start, never changed.
briefString String!Your text ('' on a documents-only draft).
materialIdsID [ID!]!
pagesFillDraftPageSpec [FillDraftPageSpec!]!The pages you sent, in walk order.
filledString String!What was already answered when you asked ('' on a fresh wizard).
sheetFillDraftSheetPage [FillDraftSheetPage!]See [FillDraftSheetPage](/types/FillDraftSheetPage/).
questionsString [String!]At most 5 — where the materials disagree, or a required field has no support.
adviceString
understoodStringWhat the assistant said it understood (the echo rule) — present once the draft is ready.
turnCountInt Int!
summaryStringwhat the assistant remembers of the conversation so far — the stored rolling summary; absent until the older turns fold (past 12 un-summarized turns).
summarizedThroughSeqInt Int!turns before this ordinal live inside the summary; from it on, they are composed verbatim. 0 until the first fold.
activeTurnIdIDthe message the assistant is answering right now — present only while a talk is in flight (status drafting).
activeTurnStartedAtString
failReasonString
sfExecutionArnString
startRequestIdID ID!
startedAtString String!
readyAtString
takenAtStringwhen the sheet was taken into the record the wizard created — present iff status taken (set once).
takenRefStringthe record the draft was taken into — its sysId (or its id) as the taker named it at the take; present only on a taken draft whose take named one (a plain take carries none). A reference, never resolved.
expiresAtInt Int!

Used by