DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.
API-error assistant messages round-trip through the SDK
Under the hood
Useful2Signal0
Sessions
Resumed sessions can now still tell which past messages were API errors rather than real replies.
What's wrong with this entry?
Anonymous. No account, no email.
What
Assistant messages flagged as API errors keep that flag across serialization, so a resumed or replayed session can distinguish them from real assistant output.
Details
Transcript serialization emits is_api_error_message: !0 for such messages.
The reverse conversion maps it back to isApiErrorMessage.
This joins the existing aborted and is_virtual flags.
Evidence
is_api_error_message
Strings lifted out of the shipped bundle, so the claim above can be checked against them.