SYSTEM$GET_SERVICE_CALLER_TOKEN_EXPIRY

functionsupportedContainer services & dev tooling

docs.snowflake.com ↗

System functions

Returns the expiration timestamp of a caller’s rights login token for a Snowpark Container Services service. Snowpark Container Services is available to accounts in AWS, Microsoft Azure, and Google Cloud Platform commercial regions, with some exceptions. For more information, see Available regions and considerations.

Syntax

SYSTEM$GET_SERVICE_CALLER_TOKEN_EXPIRY( '<token_string>' )

Parameters

NameRequiredDescription
token_stringrequiredThe caller’s rights login token string, obtained from the Sf-Context-Current-User-Token HTTP header that Snowflake passes to the service container.

Returns

Returns a timestamp string representing the expiration time of the token (for example, 2026-07-18T14:30:00Z).

Usage notes

See also