Saltar al contenido

app.ai_requests

TablaSeguridad a nivel de fila activa

One row per Aurora AI model call (Section 4.7): who asked, for which feature, with which configured model, about which record, and the prompt and output with personal data redacted. Written only by app.ai_begin_request and app.ai_complete_request. Kept under the audit retention rules; customer data is never used for training.

Clave primaria: id

Columnas de app.ai_requests
ColumnaTipoAdmite nulosDescripción
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.Hace referencia a app.organizations.id
person_iduuidNoPerson who asked, set from the session. The model acted with their permissions only.Hace referencia a app.people.id
featureapp.ai_featureNoFeature that made the call.
modeltextNoModel identifier read from configuration at call time, for example claude-sonnet-5-5.
subject_tabletextSíTable of the record the request was about, or null.
subject_iduuidSíRecord the request was about, or null.
outcomeapp.ai_request_outcomeNoPending, Answered, No Answer or Failed.
prompt_redactedtextSíPrompt as sent, with personal data replaced by labels. Restricted fields were never in it.
output_redactedtextSíModel output, with personal data replaced by labels.
failure_codetextSíWhy a Failed request failed, for example model_timeout.
completed_attimestamp with time zoneSíWhen the request finished; null while Pending.
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidSíPerson who inserted the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidSíPerson who last changed the row, or null for a platform process. Set by the database.Hace referencia a app.people.id
deleted_attimestamp with time zoneSíSoft delete time. A row with deleted_at set is ignored by every access helper.