Set Benchmark Preferences
Stores the cohort and funnel-step mapping used to compare this project's metrics with benchmarks. Replaces the previous preferences. Point each step at an event this product already tracks. Skip a step you cannot match. Do not invent events.
Authorization
Authorization In: header
Path Parameters
ID of the project whose benchmark preferences to store.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Cohort and funnel-step mapping to store for this project.
Cohort the project's metrics are compared against.
Annual contract value band used to pick a benchmark cohort.
How someone becomes a paying customer: opt-in trial, opt-out trial, freemium, or a direct purchase.
Who the product sells to.
Which analytics events stand in for each benchmark funnel step.
Analytics event name that counts as activation.
Analytics event name that counts as a completed order.
Analytics event name that counts as a page view.
Analytics event name that counts as a signup.
Analytics event name that counts as a trial start.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/projects/string/benchmarks/preferences" \ -H "Content-Type: application/json" \ -d '{ "benchmarkPreferences": { "businessInfo": { "acvLevel": "low", "businessModel": "freeTrialOptIn", "businessType": "b2b" }, "funnelSteps": { "activation": "string", "completedOrder": "string", "pageView": "string", "signup": "string", "startTrial": "string" } } }'{ "businessInfo": { "acvLevel": "low", "businessModel": "freeTrialOptIn", "businessType": "b2b" }, "funnelSteps": { "activation": "string", "completedOrder": "string", "pageView": "string", "signup": "string", "startTrial": "string" }}Get Benchmark Preferences
Reads the cohort and funnel-step mapping used to compare this project's metrics with benchmarks. Returns null when nothing has been saved.
List Projects
Lists the projects the caller can reach, each with its app configs. Pass id to return only that project; an unknown or inaccessible id returns 404. Omit id for every reachable project. take pages that list, and includeId keeps one project on the page without filtering. API keys are scoped to a single project. An MCP URL with ?projectId= is limited to that project. The MCP tool returns a short summary; this REST response is the full record.