serving_endpoints_openapi
Retrieve the OpenAPI schema for a Databricks serving endpoint to generate API documentation or client code.
Instructions
Fetch the OpenAPI schema for a serving endpoint
(GET /api/2.0/serving-endpoints/{name}/openapi).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "serving_endpoints_openapi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Serving endpoint name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |