Every answer call, with its timeout, retry, and request reference
Use this page before you change a retry, a timeout, or a duplicate check. Each row states the call, where it lives in this pack, what happens on a transient failure, and how a retry avoids a second record. Nothing on this page sends a form, creates a college record, or changes a locked backend file.
How to read this map
Timeout means the longest one attempt may run before it is stopped. Retry means how many attempts are made and which failures are retried. Request reference means the stable key that lets a server return the first record instead of creating a second one. Where this pack states no timeout or no retry, the row says so in plain words. Do not invent a value for that row.
- A retry that uses a new request reference can create a duplicate. A retry that reuses one request reference returns the first record.
- A rate limit answer, status 429, is never retried in a loop on the calls below. Wait guidance comes only from the server.
- Locked backend files hold the answer creation call itself. This page adds no cap, no token limit, and no throttle to that call, and it changes no locked file.
Map of every call in this pack
Read the request reference column before you add a retry anywhere else.
| Call | Timeout | Retry and backoff | Request reference and duplicate rule | Transient failure result |
|---|---|---|---|---|
| Checked answer creation on Ask, on the website widget, for a staff draft reply, in the test panel, and for summaries from returned passages. Server side assist call in src core, described in APPKIT.md, wording version answer-grounding-v3 | No timeout is stated in this pack for this backend call. No value is added on this page. | No retry or backoff is stated in this pack for this backend call. A client retry must reuse the answer generation key below, and must not add a cap to the backend call. | One answer generation key from tenant id, question record id, assistant id, wording version, and the sorted list of retrieved source ids with a hash of each retrieved passage. The same key returns the existing answer record, with no second answer, no second count, and no second saved passage. A new question, changed question text, a changed assistant, a new wording version, or a changed retrieved passage gets a new key. Sources are rechecked at creation time for approved status, review date, and suspension. Saved passages are reused only word for word when the stored hash matches the current approved passage, the stored wording version is answer-grounding-v3, and the source is still approved for the same question, college, and assistant. | Outcomes are recorded separately as answered, not answered with reason unanswered or out-of-scope, unavailable, or rate limit. An unavailable outcome is never counted as a source gap or as a sourced answer. |
| Writing drafts from supplied text only on Ask, for draft, summarize, plain, translate, and checklist, through draft in the signed in app, wording version answer-grounding-v3 | No timeout is stated in this pack for this call. | No retry or backoff is stated in this pack for this call. A draft is labeled draft, a person edits before saving, and a draft is never saved as a sourced answer. | No answer generation key is stated for drafts in this pack. The wording version is recorded with the draft record and the test record. A retried draft can be a second draft, and that is safe because a draft needs a person edit before it is saved. | On timeout, service error, or empty supplied text, no draft text is shown and the unavailable wording is shown labeled as draft, with no source listed. |
| Public form send, POST /api/public/request, in public site.js, for the demo form and the question form | 30000 milliseconds per attempt, SUBMIT_TIMEOUT_MS in site.js | 3 attempts at most. Delays 600 milliseconds, then 1800 milliseconds. A Retry-After header is capped at 5000 milliseconds. Retry only on status 408, 502, 503, 504, on network failure, on timeout, or on a non-JSON answer. A 429 or other 4xx answer is not retried. | One X-Request-Id per payload, sent as a header on every attempt. The same id is reused on retry, is restored from the session draft on reload, and a new id is made only when the payload changes. The form is blocked while a send is in progress and after a successful send. Entries stay on the page for one retry with the same id. | A timeout can mean the server received the request. The retry with the same request reference returns the first request instead of creating a second one. A successful send hides the form and shows a confirmation. |
| Public live check, GET /api/health, in status.html, health-api, health-audit, and health-verification | 8000 milliseconds per attempt | 2 attempts at most, 1 retry, delay 800 milliseconds. Retry only on status 408, 502, 503, 504, on network failure, on timeout, or on a non-JSON answer. Never retry 429 or other 4xx. No polling. | Not needed. This is a GET with no body, no sign in, no cookies, and cache no-store, so a retry cannot create a second record. The check runs fresh each time. | The page shows only live, not live, or did not complete, with checked time and response time in milliseconds. No dependency, version, or configuration detail is shown. |
| Signed in readiness check, GET /api/readiness, described in health-api and operations, signed in staff only | 8000 milliseconds, the same client timeout as the live check | No retry loop and no polling are stated. A 401 or 403 answer means sign in is required, with no data field and no checks object. | Not needed. This is a GET with no body, signed in only, and never called from the public status page. | The signed in view shows only ready or not ready for database, sign in, and workspace store. A live result is not a ready result. |
| Saved answers, imports, and on device translation in my-answers, offline, my-data, and sample-start | No network timeout applies. These run on this device in browser storage. | No network retry applies. Offline import runs in batches of 50 entries with a fingerprint and a list of added ids, so a resumed import skips already saved entries. My Answers import and offline import each cap at 2 MB and 500 answers or entries. | Duplicate checks by title, question, source link, workspace, and assistant on save and on import. A duplicate is skipped and counted. A retry of the same import reuses the fingerprint and skips duplicates. | A failed save keeps the entry in the form and states that it was not saved. An incomplete import stays incomplete until it is resumed with the same file or discarded, and it is not counted as imported until every entry is saved and checked. |
Bounded retry and request reference used on this page
Run the local check to see the rule work with no network request and no college record. The check simulates two transient failures, then a success, with one request reference on every attempt. The simulated server stores records by request reference, so three attempts create one record.
Local retry check, no network request
Attempts use a 600 millisecond then 1800 millisecond backoff in the reference code, with a 5000 millisecond cap. The run below uses short delays so the result shows at once. The request reference stays the same on every attempt. A new reference is made only when the payload changes.
The local retry check has not run yet.
Live check with the same bounded retry
This check fetches only the live check address with no sign in and no cookies, with an 8000 millisecond timeout, 2 attempts at most, and an 800 millisecond delay. It never retries 429, and it shows only live, not live, or did not complete.
Run the live check from this page
The live check has not run yet.
Read Status for the public live check, Health endpoints for the exact schemas, and Configuration and safe defaults for the timeout values in code. Read Answer routing and fallback for the checked answer, saved passage, and unavailable paths at creation time.