Skip to main content

serving_endpoint_openapi

Creates, updates, deletes, gets or lists a serving_endpoint_openapi resource.

Overview​

Nameserving_endpoint_openapi
TypeResource
Iddatabricks_workspace.serving.serving_endpoint_openapi

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
contentsstring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectname, deployment_nameGet the query schema of the serving endpoint in OpenAPI format. The schema contains information for

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)
namestringThe name of the serving endpoint that the served model belongs to. This field is required.

SELECT examples​

Get the query schema of the serving endpoint in OpenAPI format. The schema contains information for

SELECT
contents
FROM databricks_workspace.serving.serving_endpoint_openapi
WHERE name = '{{ name }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
;