---
title: "Database Monitoring: calling endpoints for a query"
method: GET
path: "/api/{org_id}/db_monitoring/query/endpoints"
tags: ["Traces"]
---

# Database Monitoring: calling endpoints for a query

`GET /api/{org_id}/db_monitoring/query/endpoints`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/db_monitoring/query/endpoints`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/db_monitoring/query/endpoints/get.ts> (a function with typed inputs; its response is checked against the schema)

Aggregates raw DB spans for one fingerprint joined to their trace root spans, grouped per calling service + endpoint.

## Path parameters

- `org_id` string, required

## Query parameters

- `fingerprint` string, required
- `stream` string, required
- `start_time` integer
- `end_time` integer
- `system` string
- `namespace` string
- `limit` integer

## Response `200`

Success

- object

## Other responses

- `400`: Missing fingerprint/stream

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
