Validates a Turso API token and retrieves its expiration time. Use this action to verify that an API token is valid and check when it expires. Returns the token's expiration timestamp, or -1 if the token has no expiration.
modestringValidation mode: 'platform' (recommended) validates via the Platform API at https://api.turso.tech/v1/auth/validate and returns token expiration. 'pipeline' validates by executing a health-check SQL query against a database URL (requires a database-specific base_url like https:/…
health_sqlstringSQL statement to execute for health validation when mode is 'pipeline' or during 'auto' fallback. Only used when validating against a database instance.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.