Get a page's starter order
Returns every starter question eligible on the page's address, written by hand or AI-generated, switched on or off, in the order a shopper surface selects them for the page's own type and language. Each question says whether shoppers see it on this page and, when they do not, why. The questions shown are the ones the storefront serves on that address, type and language. At most 100 questions, with the count of the others. Read-only.
ApiKeyAuthAuthorizationBearer <token>A WorkOS org-scoped API key, created from the dashboard's organization settings page. Identifies the tenant every read and write is scoped to. Missing, malformed, unknown, revoked, expired, or non-organization-owned keys all return 401 (no distinction, so the response can't be used to probe which keys or org ids exist).
siteId*stringThe site id (prefixed site_). A site id that isn't yours is a 404, same as any other cross-tenant id.
pageId*stringThe page id (prefixed spg_).
The page's starter order.
application/json- response
data*curl -X GET 'https://example.com/api/v1/sites/string/pages/string/starter-questions'{ "data": { "pageId": "string", "pageType": "string", "pageTypeGuessed": true, "language": "string", "languageFromPage": true, "eligible": 0, "shown": 0, "leftOut": 0, "questions": [ { "id": "string", "position": 0, "enabled": true, "targeting": { "mode": "all_pages", "pageTypes": [ "string" ], "urlPatterns": [ "string" ] }, "texts": { "property1": { "label": "string", "message": "string" }, "property2": { "label": "string", "message": "string" } }, "source": "manual", "sourcePageId": "string", "generatedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "state": { "value": "live", "reason": "string", "missingLanguages": [ "string" ] }, "performance": { "windowDays": 0, "impressions": 0, "clicks": 0, "clickRate": 0, "verdict": "never_shown", "reason": "string" }, "rank": 0, "shown": true, "reason": "switched_off" } ] }}Read the performance of a site's starter questions over a period
Returns the questions shown at least once in the period, with the figures the dashboard's Starter performance tab shows: impressions, clicks and click rate, in total and per surface, and the verdict against the site's own click rate. A question shown to nobody is not listed; `meta.notShownCount` counts them. The default order is the most shown first. Sorting by `rate` orders the whole result, and a cursor is bound to the period, the device and the sort it was issued for. `from` and `to` are required UTC days, at most 366 days apart.
List a site's conversations
Returns the conversations run through this site's agents, newest first by creation time, with their context, feedback, engagement and a summary of their labels. The list is scoped to the site in the path and to the organization of the API key. Filters combine with AND: `labels.all` needs every token, each `labels.any` group (tokens separated by `|`) needs one of its tokens, and `labels.none` excludes tokens and needs a positive label filter or a date range. `limit` is 1 to 100 (25 by default), and a cursor is bound to the filters it was issued for. Read-only: conversations are created by the agent, never via this API.