Skip to main content
GET
Retrieve Opportunity

Authorizations

X-Lightsage-Api-Key
string
header
required

Path Parameters

opportunity_id
string
required

Query Parameters

since
string

Relative or absolute window start.

start_date
string

Inclusive start date; overrides since.

end_date
string

Inclusive end date; defaults to today.

Response

Successful Response

id
string
required

Stable across requests and windows for the same finding and retrievable within a selected date window.

type
string
required

Determines which undeclared extra fields the object carries, such as winner_brand_name on almost_winning.

category
string
required
priority
string
required
title
string
required
description
string
required
action
string
required
execution_prompt
string
required
impact_score
number
required

Out of 100. Recomputed per window, so the same id can score differently across windows.

created_at
string
required

Time of the request, since opportunities are computed per call.