Schema:

ACCOUNT_USAGE

DOCUMENT_AI_USAGE_HISTORY view

The DOCUMENT_AI_USAGE_HISTORY view can be used to query the job history for Document AI.

Columns

Column NameData TypeDescription
START_TIMETIMESTAMP_LTZStart of the hourly time range in which the query usage took place.
END_TIMETIMESTAMP_LTZEnd of the hourly time range in which the query usage took place.
CREDITS_USEDNUMBER(38,9)Number of credits used for Document AI compute between START_TIME and END_TIME.
QUERY_IDVARCHARA unique identifier for the SQL query.
OPERATION_NAMETEXTName of the Document AI operation: Inference (entity extraction) or Inference-Table-Extraction (table extraction).
PAGE_COUNTNUMBERNumber of pages processed.
DOCUMENT_COUNTNUMBERNumber of documents processed.
FEATURE_COUNTNUMBERNumber of data values defined to be extracted.