Files
boxmaker/crates/memoryd/tests/fixtures/honcho/08-messages-add-batch.json
T

65 lines
1.6 KiB
JSON

{
"request": {
"method": "POST",
"path": "/v3/workspaces/boxmaker-plan-probe/sessions/s-probe-1/messages",
"body": {
"messages": [
{
"content": "I prefer tea to coffee in the afternoon.",
"peer_id": "kyle",
"metadata": {
"agent": "boxmaker0",
"boxmaker_session": "s-probe-1",
"turn": 1
}
},
{
"content": "Noted: tea in the afternoon.",
"peer_id": "boxmaker0",
"metadata": {
"agent": "boxmaker0",
"boxmaker_session": "s-probe-1",
"turn": 1
}
}
]
}
},
"response": {
"status": 201,
"headers": {
"content-type": "application/json"
},
"body": [
{
"id": "7HqDWzXcKAdw9tnElCNFg",
"content": "I prefer tea to coffee in the afternoon.",
"peer_id": "kyle",
"session_id": "s-probe-1",
"metadata": {
"agent": "boxmaker0",
"boxmaker_session": "s-probe-1",
"turn": 1
},
"created_at": "2026-09-28T05:56:08.742363Z",
"workspace_id": "boxmaker-plan-probe",
"token_count": 9
},
{
"id": "mjsyhwuGsXTh1_zG_tWRx",
"content": "Noted: tea in the afternoon.",
"peer_id": "boxmaker0",
"session_id": "s-probe-1",
"metadata": {
"agent": "boxmaker0",
"boxmaker_session": "s-probe-1",
"turn": 1
},
"created_at": "2026-09-28T05:56:08.742363Z",
"workspace_id": "boxmaker-plan-probe",
"token_count": 8
}
]
}
}