Messages
Generate Batch Retry Failed
B-3 (2026-04-27): フロントが「失敗した N 件を再生成」ボタンから叩く エンドポイント。
動作は /generate-batch と同等だが、独立した rate-limit bucket を 持つので「初回バッチ全体」と「リトライ」がお互いの quota を食い合わない。 ユーザーが連打しても 5 件チャンク + per-order retry の安全装置が 効くので、Supabase / Anthropic に対する追加負荷は限定的。
冪等性: /generate-batch 同様に同日キャッシュ (find_today_messages) があるので、初回バッチで成功した order_id を間違って渡してしまっても キャッシュから restored として返り、API/課金は二度走らない。
post/api/messages/generate-batch/retry-failed
Request
- Base URL: https://api.soeru.biz (the document declares no server; this is the origin it was published from)
- URL: https://api.soeru.biz/api/messages/generate-batch/retry-failed
- Auth: none declared. Required headers: authorization
Headers
x-shop-idstring nullable
Optional shop ID
authorizationstring required
Bearer <token>
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.