Update a training snapshot
Training
Update a training snapshot
Update the editable metadata on a training snapshot — notes, tags, quality, category, or archive state. The captured message body is immutable.
PATCH
Update a training snapshot
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
Training snapshot updated successfully
Available options:
true Mongoose TrainingSnapshot document. userId and contactId are populated to user/contact docs on read endpoints.
Example:
{
"_id": "67f1a0b0c0d0e0f0a0b0c0d0",
"organizationId": "65a0e0e0e0e0e0e0e0e0e0e0",
"userId": {
"_id": "65b1f0a2c3d4e5f6a7b8c9d0",
"firstName": "Alice",
"lastName": "Rivera",
"email": "alice@example.com"
},
"contactId": {
"_id": "65c2d0e0f0a0b0c0d0e0f0a0",
"firstName": "Jane",
"lastName": "Doe",
"phoneNumber": "+14155550123",
"email": "jane@example.com",
"channelType": "sms"
},
"customerName": "Jane Doe",
"customerPhone": "+14155550123",
"customerEmail": "jane@example.com",
"messages": [
{
"id": "67e0a0b0c0d0e0f0a0b0c0d0",
"content": "Hi! How can we help?",
"sender": "user",
"senderType": "AI",
"timestamp": "2026-05-18T13:30:00.000Z"
}
],
"messageCount": 4,
"snapshotDate": "2026-05-18T14:30:00.000Z",
"conversationStartDate": "2026-05-18T13:30:00.000Z",
"conversationEndDate": "2026-05-18T14:10:00.000Z",
"notes": "Great handling of objection on pricing.",
"tags": ["sales", "pricing"],
"quality": "good",
"category": "objection-handling",
"isArchived": false,
"createdAt": "2026-05-18T14:30:00.000Z",
"updatedAt": "2026-05-18T14:30:00.000Z"
}