Assistant settings
Whether an account’s members may talk to its AI assistant, on which model, paid by whom, and whether it may read the shop’s customers. A singleton that always exists, off until switched on.
Get assistant settings
The account's assistant settings, or their defaults before anything was written: off, the platform's model, any connection, no customer data.
path Parameters
account_idId of the parent account.
Headers
If-None-MatchA matching etag answers 304 with no body (§16).
Get assistant settings › Responses
The resource.
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
is_enabledWhether the account's members may talk to the assistant. On by default; an administrator may switch it off. A turn is paid by the account's own provider key or its MooverApp balance, and refused when there is neither.
model_idThe ai_models entry the assistant answers on — an AVAILABLE model that can call tools. Absent: the platform's default, which moves when the platform moves; send null to go back to it.
image_model_idThe ai_models entry the assistant draws pictures on — an AVAILABLE model with the IMAGE_GENERATION capability. Absent: the platform's default, which moves when the platform moves; send null to go back to it. A person may name another model for one picture in the chat.
connection_modeWhose key may pay for a turn and for the pictures it draws: ANY (the account's own provider key first, then the platform's, paid from the AI balance), BYOK_ONLY or MANAGED_ONLY.
effortHow hard the model tries — LOW, MEDIUM, HIGH, XHIGH or MAX — on a model with the EFFORT capability. Absent: the model's own default.
customer_data_accessWhether the assistant may read the shop's customers' own data — customers and their groups, orders, carts, invoices, wishlists — for a member who may. Off by default: what the assistant reads goes to the model's provider.
Update assistant settings
Switches the assistant on or off, picks its model, whose key pays, its effort and whether it may read the shop's customers. A model must be AVAILABLE and able to call tools, and an effort needs a model with the EFFORT capability — refused with INVALID_ARGUMENT otherwise; a model stored earlier is never checked again, so switching the assistant off always works. Takes WRITE on Account AI, where the money is; send the etag in If-Match to be refused with ABORTED if someone changed the settings first.
path Parameters
account_idId of the parent account.
query Parameters
update_maskComma-separated field paths to merge. A field named here and sent as null is cleared; without the mask a null is dropped (§7, §11).
Headers
If-MatchThe etag the client last read. A mismatch is ABORTED (409) with the current resource in the error details (§14).
Update assistant settings › Request Body
is_enabledWhether the account's members may talk to the assistant. On by default; an administrator may switch it off. A turn is paid by the account's own provider key or its MooverApp balance, and refused when there is neither.
model_idThe ai_models entry the assistant answers on — an AVAILABLE model that can call tools. Absent: the platform's default, which moves when the platform moves; send null to go back to it.
image_model_idThe ai_models entry the assistant draws pictures on — an AVAILABLE model with the IMAGE_GENERATION capability. Absent: the platform's default, which moves when the platform moves; send null to go back to it. A person may name another model for one picture in the chat.
connection_modeWhose key may pay for a turn and for the pictures it draws: ANY (the account's own provider key first, then the platform's, paid from the AI balance), BYOK_ONLY or MANAGED_ONLY.
effortHow hard the model tries — LOW, MEDIUM, HIGH, XHIGH or MAX — on a model with the EFFORT capability. Absent: the model's own default.
customer_data_accessWhether the assistant may read the shop's customers' own data — customers and their groups, orders, carts, invoices, wishlists — for a member who may. Off by default: what the assistant reads goes to the model's provider.
Update assistant settings › Responses
The updated resource.
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
is_enabledWhether the account's members may talk to the assistant. On by default; an administrator may switch it off. A turn is paid by the account's own provider key or its MooverApp balance, and refused when there is neither.
model_idThe ai_models entry the assistant answers on — an AVAILABLE model that can call tools. Absent: the platform's default, which moves when the platform moves; send null to go back to it.
image_model_idThe ai_models entry the assistant draws pictures on — an AVAILABLE model with the IMAGE_GENERATION capability. Absent: the platform's default, which moves when the platform moves; send null to go back to it. A person may name another model for one picture in the chat.
connection_modeWhose key may pay for a turn and for the pictures it draws: ANY (the account's own provider key first, then the platform's, paid from the AI balance), BYOK_ONLY or MANAGED_ONLY.
effortHow hard the model tries — LOW, MEDIUM, HIGH, XHIGH or MAX — on a model with the EFFORT capability. Absent: the model's own default.
customer_data_accessWhether the assistant may read the shop's customers' own data — customers and their groups, orders, carts, invoices, wishlists — for a member who may. Off by default: what the assistant reads goes to the model's provider.