Skip to main content
Use the Economic Intelligence API to list an account’s recommendations, request new ones for a specific goal, and follow each one from queued to ready, then to executed once the owner runs it or superseded when a newer one replaces it or you retire it. Read economic_intelligence_offers from account preferences and send one of its keys as economic_intelligence_duration_key to turn it on.

Endpoints

Attributes

string
required
Recommendation ID, prefixed reca_, or create_business for an unsaved setup recommendation. Authenticate and list again before executing an unsaved recommendation.
string | null
required
ID of the account this recommendation is for, prefixed biz_, or null for personal onboarding.
string | null
required
When the executed run was first marked as seen, as an ISO 8601 timestamp, or null if it has not been.
string | null
required
Type of action recommended, or null when no type is assigned. New values may be added; handle unknown types gracefully.
string | null
required
The chat that ran the recommendation, shown only to the user who ran it, or null otherwise.
string | null
required
When the recommendation was created, as an ISO 8601 timestamp, or null for an unsaved recommendation.
string | null
required
When the recommendation was carried out, as an ISO 8601 timestamp, or null if it has not been.
object[] | null
required
Expected API operations or tools, in execution order, or null when no execution plan was recorded.

Properties

string | null
required
Concise description of the operation and affected resource, or null for older recommendations.
string
required
API operation or assistant tool name.
string | null
required
What you requested, in your own words, or null for recommendations generated without your input.
object[]
required
Decisions this recommendation leaves to you. Pick one option for each before it runs, or write your own for a whop_ai recommendation; empty when there is nothing to decide.

Properties

string
required
Identifies the input when you answer it.
string | null
required
What the run used: one of the options, or your own text for a whop_ai recommendation. null until a run starts.
string
required
What you are choosing, such as the daily ad budget.
string[]
required
Three suggested values, strongest first. You can answer with one of them, or with your own text for a whop_ai recommendation.
string
required
A plan sentence with one {answer} blank to fill with the selected answer.
string | null
required
Step-by-step instructions for Whop AI, or null when no instructions are available.
string | null
required
Evidence and metrics supporting the recommendation, or null when no reasoning was provided.
string | null
required
Where to view what the run produced, such as the published website or created product, or null when the result is only in the chat.
string | null
required
The user who started the run, prefixed user_, or null if it has not run or was started without a user, such as with an API key.
string | null
required
When the run ended, whether executed or incomplete, as an ISO 8601 timestamp, or null if it has not ended.
string | null
required
When the run started, by Whop AI or the recommendation’s API calls, as an ISO 8601 timestamp, or null if it has not run.
string | null
required
How the user rated this recommendation, or null if they have not rated itAvailable options: positive, negative
string
required
queued when awaiting generation; pending while generating; ready when available to run; running while Whop AI or the recommendation’s API calls carry it out; executed when carried out; incomplete when the run ended without carrying it out; superseded when rejected or replaced.Available options: queued, pending, ready, running, executed, incomplete, superseded
string | null
required
When the recommendation was rejected or replaced, as an ISO 8601 timestamp, or null if neither has occurred.
string | null
Website URL selected for pixel setup, or null when no website was captured for this recommendation.
string | null
required
Recommended action and its expected benefit, or null until generated.
string | null
required
The user’s written feedback, or null if they have not provided any.
EconomicIntelligence