read
analytics

Orders and revenue that started at an AI assistant (ChatGPT, Perplexity, Gemini, Copilot and others) over the last N day

Changed on

Orders and revenue that started at an AI assistant (ChatGPT, Perplexity, Gemini, Copilot and others) over the last N days, per assistant, with the same-length period before it. ai_orders is a lower bound: orders with no readable referrer (unreadable_orders) or a direct visit (dark_orders) may also have started there. Revenue is in the store currency; other_currencies says AI revenue in another currency is not included.

post/api/v1/tools/get_ai_referred_orders

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesanalytics:read

Request body

object required
days, integer

Window in days (default 90).

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision