---
title: "Get Opportunities Summary Data"
method: GET
path: "/opportunities/summary"
tags: ["OPPORTUNITIES"]
---

# Get Opportunities Summary Data

`GET /opportunities/summary`

Get opportunities data.
:param db: The database session for accessing the database.
:param auth: The authorization token for the request.
:return: ok status and optional message.

## Query parameters

- `effort` string[]
- `resource_name` string[]
- `opportunity_name` string[]
- `resource_type` string[]
- `owner` integer[]
- `user` string[]
- `status` string[]
- `secondary_resource` string[]
- `warehouse` string[]
- `start_date` string, date-time, required — Start date for filtering opportunities (ISO format)
- `end_date` string, date-time, required — End date for filtering opportunities (ISO format)
- `instance_id` string[]
- `workspace_id` string[] — Databricks workspace IDs (multi-value). Mirrors the list endpoint's workspace_id so summary tiles scope to the same selection.
- `navigationSource` string, nullable

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- GetOpportunitiesSummaryResponse[]
  - `label` string, required
  - `value` union, required
    - string
    - object

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/103580dad816/schema)
