Get the Latest Opportunities ReportExperimental
Experimental — the response shape may still change.
The brand's Opportunities report: a prioritized set of ways to get cited more often, with the tracked prompts and cited pages behind each one. The same analysis the dashboard shows, from the same code. Generation is inline and synchronous. A stored report is served while it is fresh and regenerated when it is not, so there is nothing to poll for and no way to be handed a stale one — but a request that triggers a generation waits for it. The freshness window bounds the cost: however many callers ask, one generation per brand per window. There is deliberately no POST, which would spend provider budget with nothing metering it per call.
Needs read access. About keys
Request
curl "https://app.vyingfor.com/api/v1/brands/{brandId}/opportunities" \
-H "Authorization: Bearer YOUR_API_KEY"Parameters
| Name | In | Type | Description |
|---|---|---|---|
brandId required | Path | string | Brand identifier. |
Response
200 Get the latest opportunities report
| Field | Type | Description |
|---|---|---|
brandId | string | |
status | "ready" | "insufficient-data" |
|
generatedAt | string or null | |
model | string or null | The model that produced the report, when recorded. |
summary | string[] | A few bullets on where the brand stands and the through-line of the plan. |
opportunities | Opportunity[] | Prioritized, highest impact first. |
risks | string[] | Caveats: hard-to-win areas, or tactics to avoid. |
Errors
401Authentication required403The key is valid but doesn't have the access this request needs.404Resource not found429Per-key rate limit exceeded.500Internal server error