Skip to content

app.ai_suggestions

TableRow level security on

A change an Aurora feature proposes (Section 4.7). Nothing is written until the person who asked confirms; the confirmed write then goes through the public API operation named here with their own token, so it can never do more than they can. The summary says exactly what will change.

Primary key: id

Columns of app.ai_suggestions
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.ai_requests on insert; never accepted from the caller and never changed.References app.organizations.id
request_iduuidNoRequest that proposed the change.References app.ai_requests.id
operation_idtextNoPublic API operation that performs the change, for example records.create or savedViews.create.
target_iduuidYesRecord the change updates, or null when it creates one.
summarytextNoWhat will change, in one or two sentences, shown on the confirmation step.
suggestion_stateapp.ai_suggestion_stateNoProposed, Confirmed, Applied, Rejected or Expired. Changes only through app.transition_ai_suggestion.
expires_attimestamp with time zoneNoAfter this time the suggestion can no longer be confirmed.
applied_iduuidYesRecord the public API wrote or updated, set when the suggestion is Applied.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.