API_Request In-database Function Syntax | Azure Machine Learning - API_Request In-database Function Syntax - Teradata Vantage

Teradata Vantageā„¢ - API Integration Guide for Cloud Machine Learning

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Vantage
Release Number
1.4
Published
September 2023
ft:locale
en-US
ft:lastEdition
2023-09-28
dita:mapPath
mgu1643999543506.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
mgu1643999543506
SELECT * FROM tapidb.API_Request(
    ON { table | view | (query) } AS InputTable
    USING
    AUTHORIZATION('{"key": "azure-ml-endpoint-key or token", 
                    "region" : "azure region string"}')
    ENDPOINT({'azure-ml-endpoint' | 'azure-ml-endpoint URL'})
    [CONTENT_TYPE({'json' | 'csv'})]
    [API_TYPE('azure-ml')]
    [KEY_START_INDEX('0')]
    [CONTENT_FORMAT('string to represent how the row should be formatted')]
) AS alias;