TDApiClient.API_Request | Amazon Bedrock | Teradata - TDApiClient.API_Request - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
tcl1683670667798

TDApiClient.API_Request is a static helper function to invoke the in-database function API_Request.

This function returns a teradataml DataFrame.

Required Arguments:

  • DataFrame: Specifies an input teradataml DataFrame which acts as the input query for the API_Request in-database function.
  • See list of additional required arguments and corresponding parameters in the in-database function API_Request in the following table.

Optional Arguments: Specifies key-value arguments to be passed to the in-database function API_Request. See list of these key-value arguments in the following table.

The following table shows the mapping between TDApiClient.API_Request arguments to the corresponding parameters in the in-database function API_Request. For details of these parameters, see API_Request In-database Function Syntax Elements.

TDApiClient.API_Request Argument Required/Optional API_Request in-database function Parameter
api_type Required API_TYPE
authorization Required AUTHORIZATION
endpoint Optional ENDPOINT
num_embeddings Optional NUM_EMBEDDINGS
model_name Optional MODEL_NAME
data_columns Required for embeddings DATA_COLUMNS