SELECT * FROM tapidb.API_Request(
ON { table | view | (query) } AS InputTable
USING
AUTHORIZATION('{"key": "gcp vertex access token",
["region" : "gcp_region",
"project" : "gcp_project_name"]}')
ENDPOINT('vertex-ai endpoint name' | 'vertex-ai endpoint URL')
[CONTENT_TYPE({'json' | 'csv' | 'json-with-keys'})]
[API_TYPE('vertex-ai')]
[KEY_START_INDEX('0')]
[CONTENT_FORMAT('string to represent how the row should be formatted')]
) AS alias;