/**
* Databricks Node - Version 1
* Discriminator: resource=modelServing, operation=queryEndpoint
*/
interface Credentials {
databricksApi: CredentialReference;
databricksOAuth2Api: CredentialReference;
}
/** Deploy and query ML models. Learn more. */
export type DatabricksV1ModelServingQueryEndpointParams = {
resource: 'modelServing';
operation: 'queryEndpoint';
authentication?: 'accessToken' | 'oAuth2' | Expression;
/**
* The model serving endpoint to query. The input format will be automatically detected from the endpoint schema. The node will fetch the endpoint's OpenAPI schema to determine the correct invocation URL.
* @default {"mode":"list","value":""}
*/
endpointName?: { __rl: true; mode: 'list' | 'name' | 'url'; value: string; cachedResultName?: string };
/**
* Request body in JSON format. The node automatically detects the expected format from the endpoint's OpenAPI schema and validates your input at runtime.
* @hint See your model serving endpoint for example, request body format.
*/
requestBody?: IDataObject | string | Expression;
};
export type DatabricksV1ModelServingQueryEndpointNode = {
type: 'n8n-nodes-base.databricks';
version: 1;
credentials?: Credentials;
config: NodeConfig;
};