serving_endpoints_query
Invoke a Databricks serving endpoint by sending a request to the model, supporting chat, completions, embeddings, or custom formats.
Instructions
Query/invoke a serving endpoint
(POST /api/2.0/serving-endpoints/{name}/invocations).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Serving endpoint name | |
| body | Yes | Raw request body forwarded to the model. Shape depends on the underlying model (chat-completions, completions, embeddings, custom). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |