LOCAL schema

Some Snowflake features use the LOCAL schema of the SNOWFLAKE database to store telemetry data for logging and results analysis. The tables, views, and functions available in the LOCAL schema depend on which features you use in an account. Visibility of available objects in the LOCAL schema are access-controlled.

LOCAL tables

All tables in the LOCAL schema use the event table structure.

The LOCAL schema provides the following tables:

TableAssociated Snowflake featureNotes
AI_OBSERVABILITY_EVENTSAI ObservabilityRaw event data for AI Observability. The SNOWFLAKE.AI_OBSERVABILITY_READER application role grants read-only on this table; SNOWFLAKE.AI_OBSERVABILITY_ADMIN can delete rows. For more information, see Observability data.
CORTEX_ANALYST_REQUESTS_RAWCortex AnalystRaw event data for Cortex Analyst. For information about querying this table, see Querying logs with SQL
DATA_QUALITY_MONITORING_LOGS_RAWData QualityRaw event data for Data Quality log events emitted by DMFs that produce per-event detail in addition to their aggregate result. For the simplified projection, see the DATA_QUALITY_MONITORING_LOGS view.
DATA_QUALITY_MONITORING_RESULTS_RAWData QualityRaw event data for Data Quality. For information about querying this table, see Query the DATA_QUALITY_MONITORING_RESULTS_RAW table.

Note

Data stored in LOCAL tables incurs Snowflake storage charges. For information about storage costs, see Understanding storage cost.

LOCAL views

The LOCAL schema provides the following views:

ViewAssociated Snowflake featureNotes
CORTEX_ANALYST_REQUESTS_VCortex AnalystFor information about querying this view, see Querying logs with SQL.
DATA_QUALITY_MONITORING_RESULTSData QualityFor information about querying this view, see Query the DATA_QUALITY_MONITORING_RESULTS view.
DATA_QUALITY_MONITORING_ANOMALY_DETECTION_STATUSData quality anomaly detection
DATA_QUALITY_MONITORING_EXPECTATION_STATUSData quality expectations
DATA_QUALITY_MONITORING_LOGSData QualitySimplified projection of DATA_QUALITY_MONITORING_LOGS_RAW with per-event log detail from DMFs that emit structured log events.

LOCAL functions

The LOCAL schema provides the following functions:

FunctionAssociated Snowflake featureNotes
CORTEX_ANALYST_REQUESTSCortex AnalystFor information about how to call this function, see Querying logs with SQL.
DATA_QUALITY_MONITORING_RESULTSData QualityFor information about how to call this function, see Call the DATA_QUALITY_MONITORING_RESULTS function
GET_AI_EVALUATION_DATACortex Agent evaluations
GET_AI_OBSERVABILITY_EVENTSAI Observability , Cortex AgentsReturns observability event rows for a Cortex Agent or External Agent (agent_type CORTEX AGENT or EXTERNAL AGENT). For usage, see GET_AI_OBSERVABILITY_EVENTS (SNOWFLAKE.LOCAL), Monitor Cortex Agent requests, and Observability data.
GET_AI_OBSERVABILITY_LOGSCortex Agent evaluations
GET_AI_RECORD_TRACECortex Agent evaluations