API and agentsAPI reference
AssistantContext
Optional page grounding, at most 64 KiB of UTF-8 JSON. Omission makes no page claim. Unknown fields, malformed snapshots and incompatible object ownership refuse before work with assistant_context_invalid; oversized context answers 413 assistant_context_too_large. Server-owned identities are checked against this instance. SQL is an exact browser-submitted snapshot, not a draft write, execution or approval. A table preview is not a last execution.
One of:
object
pagealwaysbuilderrequiredmapIdstringrequiredmin length1selectedLayerIdstringor nullrequiredmin length1appearancestringThe builder's resolved theme, so an automatic map check renders the appearance the person is looking at. Absent means light.
One of
light,dark
No other keys.
object
pagealwayssqlrequireddraftstringrequiredselectionstringor nullrequiredlastExecutionrequiredOne of:
or null
object
sqlstringrequiredresultAssistantSqlResultSummaryrequired
No other keys.
object
sqlstringrequirederrorobjectrequiredcodestringrequiredmin length1messagestringrequired
No other keys.
No other keys.
No other keys.
object
pagealwaysworkflowrequiredrecipeIdstringrequiredmin length1selectedStepIdstringor nullrequiredmin length1lastRunIdstringor nullrequiredmin length1
No other keys.
7439201b