v1
Agent Chat
agent-chat

Send Message Sync

Changed on

Send a message and wait for the complete response. For shop, thread is scoped by shop_id + user + instance_id from request.

post/api/v1/agents/{system}/{entity_id}/message/sync

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

Request body

ChatRequest 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

ChatResponse required
response, string required
has_interrupt, boolean
interrupt_data, object nullable

Changes