v1
Agent Chat
agent-chat

Get History

Get conversation history from PostgresSaver checkpoint. Returns empty list for new threads or on checkpointer errors. For shop, thread is resolved from session (shop_id + user + instance_id query).

By default, AI messages tagged skip_in_history=True are omitted. These are responses the agent flagged at write time as poison candidates (apology after a tool-side error). They remain in the LangGraph checkpoint state for audit; pass include_skipped=true to see them.

get/api/v1/agents/{system}/{entity_id}/history

Request

  • Base URL: https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.jeevyfabrication.com/api/v1/agents/{system}/{entity_id}/history
  • Auth: none declared

Path parameters

systemstring required
entity_idstring required

Query parameters

instance_idstring

Chat instance id (default 'default'). Shop: per-user tab. Estimator/project_manager: additional tabs on the same quote/project.

include_skippedboolean

Admin/debug only. When true, surface AI messages tagged additional_kwargs.skip_in_history=True (typically tool-error apologies hidden from normal users to prevent pattern-anchoring in future turns). Default false.

Response

Successful Response

messagesobject[] required

Changes

No recorded changes to this operation across all 1 revision of this API.