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

# Get Resource Opportunities Data

`GET /opportunities/resource`

Get opportunities resource data.
:param db: The database session for accessing the database.
:param auth: The authorization token for the request.
:param resource_uri: The resource uri for the opportunities.
:param status: List of status values to filter by (active, implemented, discarded).
:param sort: Field to sort by (cost_savings, time_savings, effort) - for backward compatibility.
:param sort_by: Field to sort by (cost_savings, time_savings, effort).
:param sort_order: Sort direction (asc, desc).
:return: ok status and optional message.

## Query parameters

- `resource_uri` string, required
- `start_date` string, date-time
- `end_date` string, date-time
- `instance_id` string
- `status` string[]
- `sort` string
- `sort_by` string
- `sort_order` string
- `navigationSource` string, nullable

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- 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/aab3fe5c9f05/schema)
