v1
Agent Chat
agent-chat

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)
  • Auth
    none declared

Path parameters

system, string required
entity_id, string required

Query parameters

instance_id, string

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

include_skipped, boolean

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

HistoryResponse required
messages, object[] required
legacy_notice, string nullable

Changes