---
title: "Get endpoint trend (Model Serving, Vector Search or AI Gateway)"
method: GET
path: "/api/v1/databricks/ai-ml-services/endpoints/{endpoint_name}/trend"
tags: ["DATABRICKS", "Databricks", "Databricks AI/ML Services"]
---

# Get endpoint trend (Model Serving, Vector Search or AI Gateway)

`GET /api/v1/databricks/ai-ml-services/endpoints/{endpoint_name}/trend`

Get trend data for a specific endpoint.

Path Parameters:
- endpoint_name: Endpoint name (required)

Query Parameters:
- service: 'model_serving' | 'vector_search' | 'ai_gateway' (required)
- start_date: Start date (YYYY-MM-DD), defaults to 30 days ago
- end_date: End date (YYYY-MM-DD), defaults to today
- granularity: 'day', 'week', 'month', or 'auto' (default: auto)

Returns:
- Array of trend data points (direct array, no wrapper object). For
  Vector Search and AI Gateway this is ``{date, dbus, cost_usd}`` — one
  row per bucket where billing usage exists (no zero-fill).

## Path parameters

- `endpoint_name` string, required

## Query parameters

- `service` string, required — Service type: 'model_serving' | 'vector_search' | 'ai_gateway'
- `start_date` string, date, nullable — Start date (YYYY-MM-DD), defaults to 30 days ago
- `end_date` string, date, nullable — End date (YYYY-MM-DD), defaults to today
- `granularity` string — Time granularity: 'day', 'week', 'month', or 'auto' (auto-detect based on date range)
- `navigationSource` string, nullable

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `403` — Not authorized
- `404` — Resource not found
- `422` — Validation Error

---

[API](https://skmtc.dev/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.dev/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myaltimate/fastapi/revisions/82206441f16e/schema)
