AI assistance

Synchronous AI response generation + history.

Synchronous AI response generation + history. Calls the upstream provider, counts against the store-s ai_response plan-feature quota, persists every attempt to ai_review_responses. Requires authentication with per-store + per-review scope gating.

Prerequisites

  • A bearer token in the Authorization header. Any endpoint that needs no token says so on its own page.
  • The id of each record the call targets. Every endpoint page lists the ids it needs.

Errors

StatusMeaning
401The bearer token is missing, expired or invalid
403The token is valid but the record sits outside your account
422The request failed validation — the response names the fields
500Unexpected server error

Individual endpoints may return more; each page lists its own.

Endpoints

MethodEndpointDescription
POSTGenerate AI responseSynchronously calls the ReviewData AI provider to draft a reply for a review, persists an AiReviewResponse row, and counts 1 unit against the store's ai_response plan quota (hard-stop plans return 403 once exhausted; soft-stop plans bill the call as overage).
GETList successful AI responses for a reviewList every successfully-generated AI response row for a given review, newest first (status=success, ordered by id descending).