- Schema:
CORTEX_ANALYST_REQUESTS_V view¶
The CORTEX_ANALYST_REQUESTS_V view presents Cortex Analyst request log data.
Columns¶
| TIMESTAMP_NTZ | The time the request was received. |
|---|---|---|
| VARCHAR | The data that was used to provide the semantic model. This value is one of the following:
|
| VARCHAR | The name of the semantic model.
|
| VARIANT | An array containing the fully qualified names of all tables referenced by Cortex Analyst. |
| VARCHAR | The internal/system-generated identifier for the request. |
| VARCHAR | The Snowflake identifier for the user that sent the request. |
| VARCHAR | A JSON object containing metadata about the request source. This object has the following fields:
|
| VARCHAR | The SQL statement generated by Cortex Analyst in response to the request’s question. |
| VARCHAR | The most recent question sent as part of the request. |
| VARIANT | The full body of the HTTP request. For the structure of this object, see Request body. |
| VARIANT | The full body of the HTTP response. For the structure of this object, see Non-streaming response. |
| NUMBER | The HTTP response code returned to the client. |
| VARIANT | The list of warnings from Cortex Analyst about the request. |
| VARCHAR | The name of the role that created the semantic model used in the request. |
| VARIANT | Metadata containing the response generation details for the request |
| ARRAY | Array of objects that contain information for all feedback associated with the request. Feedback objects are identical to the REST API call request body as described in Send feedback. |