v1
Agent Chat
agent-chat
Send Message Stream
Changed onStream agent response via Server-Sent Events.
Uses LangGraph astream with subgraphs=True (plus messages, updates, custom) so nested conversation nodes still emit tokens and node_complete events. For shop, entity_id and thread are derived from session (shop_id + user + instance_id).
post/api/v1/agents/{system}/{entity_id}/message
Request
- Base URLhttps://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
system, string required
entity_id, string required
Request body
Chat Request required
message, string
mode, string
instance_id, string nullable
project_id, integer nullable
equipment_ids, integer[] nullable
personnel_ids, integer[] nullable
mentioned_source_ids, integer[] nullable
image_content, object[] nullable
document_content, object[] nullable
viewer_page, object nullable
attachment_ids, integer[] nullable
JEEVY-2008: chat uploads (POST /chat-attachments/confirm) attached to this message. Re-checked against the session user; the AI gets a list and reads them through tools, never the bytes.
reply_style, 'default' | 'brief'
Response
Successful Response
unknown required
Changes
- info
added the new optional request property
reply_style
- info
- warning
removed the request property
documents_uploaded - info
added the new optional request property
attachment_ids
- warning