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 Name

Data Type

Description

START_TIME

TIMESTAMP_LTZ

Start of the specified time range.

END_TIME

TIMESTAMP_LTZ

End of the specified time range.

CREDITS_USED

NUMBER(38,9)

Number of credits used for Document AI compute between START_TIME and END_TIME.

QUERY_ID

VARCHAR

An identifier for the SQL query.

OPERATION_NAME

TEXT

Name of the Document AI operation: inference.

PAGE_COUNT

NUMBER

Number of pages processed.

DOCUMENT_COUNT

NUMBER

Number of documents processed.

FEATURE_COUNT

NUMBER

Number of data values defined to be extracted.