explainWizardStep
query · in the family Reading your records
What it does
Ask AI to explain where you are on this wizard page — what is happening, what you have provided, and what is still needed and why.
Ask AI to explain where you are on ONE wizard/form step: the model reads what you sent — filled (the step's answered label: value lines; empty is lawful: the first-page press) and want (one line per empty field) — the server reads no tenant data of its own — and narrates what this step is doing, what you have provided, and what is still needed and WHY each missing piece matters. Guidance only — nothing applies, fills, or changes (the fill assist is suggestFormFill). type is the record kind word (prompt context only, 1..64); step the page word (1..120); filled 0..4000 chars; want 0..2000 chars; materialIds composes your own confirmed materials' stored extractions exactly as on suggestFormFill (≤4, same type word, never a raw re-read). Refuses INTEGRATION/UNAVAILABLE while the assistant is offline/keyless — the page's static guide words still stand. Requires authentication (user sessions). Every made call is cost-metered (at.ai.call.v1).
Before you call
A signed-in user’s session — the call refuses an API key (AUTHZ/FORBIDDEN).
Capability area: Reading your records — Looking up and listing the records of your organization.
Roles that may call it:
- Owner
- System Administrator
- Manager
- Associate Manager
- Warehouse Associate
- Sales Associate
What happens
Guidance only: the explanation reads what you already see on the page and narrates it back — nothing is changed, filled, or saved. Each use makes one metered AI call.
Arguments
| Name | Type | Required | Notes |
|---|---|---|---|
type | String String! | yes | |
step | String String! | yes | |
filled | String String! | yes | |
want | String String! | yes | |
materialIds | ID [ID!] | no |
Returns
StepExplanation StepExplanation! — The responsive guide's answer: what this step is doing, what you have provided, what is still needed and why. Guidance only — rendered verbatim beside the page's static words; nothing applies or changes.
Example request
query ExampleExplainWizardStep($type: String!, $step: String!, $filled: String!, $want: String!, $materialIds: [ID!]) {
explainWizardStep(type: $type, step: $step, filled: $filled, want: $want, materialIds: $materialIds) {
explanation
}
}Variables:
{
"type": "<type>",
"step": "<step>",
"filled": "<filled>",
"want": "<want>",
"materialIds": [
"01900000-0000-7000-8000-cbd54f800000"
]
}Example response
{
"data": {
"explainWizardStep": {
"explanation": "<explanation>"
}
},
"extensions": {
"at": {
"callId": "01EXAMPLE-CALL-ID",
"version": {
"requested": null,
"serviced": {
"name": "genesis",
"number": 0
}
}
}
}
}Errors this call can answer
VALIDATION/INVALID— Something in the request is not valid. Retry: no. (VALIDATION)AUTHN/REQUIRED— Sign in to do this. Retry: no. (AUTHN)AUTHZ/FORBIDDEN— Your role does not allow this action. Retry: no. (AUTHZ)RATE_LIMIT/THROTTLED— Too many requests in a short time. Retry: yes. (RATE_LIMIT)NOT_FOUND/*— That record could not be found. Retry: no. (NOT_FOUND)