Schema:

ACCOUNT_USAGE

SERVERLESS_TASK_HISTORY View¶

This Account Usage view can be used to query the serverless task usage history. The information returned by the view includes the serverless task name and credits consumed by serverless task usage.

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

TEXT

Number of credits billed for serverless task usage during the START_TIME and END_TIME window.

TASK_ID

NUMBER

Internal/system-generated identifier for the serverless task.

TASK_NAME

TEXT

Name of the serverless task.

SCHEMA_ID

NUMBER

Internal/system-generated identifier for the schema that contains the serverless task.

SCHEMA_NAME

TEXT

Name of the schema that contains the serverless task.

DATABASE_ID

NUMBER

Internal/system-generated identifier for the database that contains the serverless task.

DATABASE_NAME

TEXT

Name of the database that contains the serverless task.

INSTANCE_ID

NUMBER

Internal/system-generated identifier for the instance which the object belongs to.

Usage Notes¶

  • Latency for the view may be up to 180 minutes (3 hours).