---
title: "Get Opportunity Detail Data"
method: GET
path: "/opportunities/detail"
tags: ["OPPORTUNITIES"]
---

# Get Opportunity Detail Data

`GET /opportunities/detail`

Hydrated single opportunity with comments and (for SE-authored priority opps) priority metadata.

## Query parameters

- `opportunity_id` string, required
- `instance_id` integer, required
- `navigationSource` string, nullable

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- OpportunityDetailResponse
  - `opportunity_id` string, required
  - `instance_id` integer, required
  - `resource_name` string, required
  - `resource_type` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28, required
  - `resource_uri` string, required
  - `opportunity_name` string, required
  - `description` string, nullable
  - `last_seen` string, date-time, required
  - `first_seen` string, date-time, required
  - `count` integer, required
  - `total_count` integer, nullable
  - `resources` AppSchemasOpportunitiesResource[], required
    - `resource_name` string, required
    - `resource_uri` string, required
    - `resource_type` 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28, required
  - `money_savings` object, required
  - `time_savings` string, required
  - `effort` 1 | 2 | 3, required
  - `owner` string, nullable
  - `status` 1 | 2 | 3 | 4, required
  - `redirect_url` string, nullable
  - `comments_count` integer
  - `comments` CommentResponse[]
    - `id` string, required
    - `opportunity_id` string, required
    - `instance_id` integer, nullable
    - `comment` string, required
    - `created_by` integer, nullable
    - `timestamp` string, date-time, required
    - `updated_at` string, date-time, nullable
    - `edited` boolean
  - `priority_rank` integer, nullable
  - `priority_se_notes` string, nullable
  - `metadata` OpportunityMetadata — Agent-actionable metadata attached to an opportunity. `agent_instructions` is the canonical, pre-formatted markdown the detail page renders. `extra="allow"` forwards every other metadata key untouched so new keys are never silently dropped.
    - `agent_instructions` string, nullable
  - `opportunity_type` string, nullable

## Other responses

- `404` — Opportunity not found
- `422` — Validation Error

## Changes

- **2026-08-25** `64fc5b1ea2a2` — 8 warning
  - added the new `25.00` enum value to the `resource_type` response property for the response status `200`
  - added the new `25.00` enum value to the `resources/items/resource_type` response property for the response status `200`
  - added the new `26.00` enum value to the `resource_type` response property for the response status `200`
  - added the new `26.00` enum value to the `resources/items/resource_type` response property for the response status `200`
  - …4 more
- **2026-08-08** `103580dad816` — 1 info
  - added the optional property `redirect_url` to the response with the `200` status

[Change history](https://skmtc.dev/myaltimate/apis/fastapi/changes/opportunities/detail/get.md)

---

[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)
