curl --request PATCH \
--url https://api.bland.ai/v1/memory/contact/{memory_id}/summary \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"summary": "<string>"
}
'{
"data": {
"id": "mem-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"org_id": "11111111-2222-3333-4444-555555555555",
"contact_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"persona_id": "persona-12345678",
"agent_number": null,
"summary": "Customer is a premium plan subscriber. Recently inquired about order #12345 which is in transit. Preferred contact method is phone. Located in EST timezone.",
"summary_updated_at": "2025-07-22T16:00:00.000Z",
"facts": {
"name": "John Doe"
},
"recent_messages": [...],
"created_at": "2025-07-20T10:30:00.000Z",
"updated_at": "2025-07-22T16:00:00.000Z"
},
"errors": null
}
Update the rolling summary for a contact memory. This is the Tier 2 memory that provides context about past interactions.
curl --request PATCH \
--url https://api.bland.ai/v1/memory/contact/{memory_id}/summary \
--header 'Content-Type: application/json' \
--header 'authorization: <authorization>' \
--data '
{
"summary": "<string>"
}
'{
"data": {
"id": "mem-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"org_id": "11111111-2222-3333-4444-555555555555",
"contact_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"persona_id": "persona-12345678",
"agent_number": null,
"summary": "Customer is a premium plan subscriber. Recently inquired about order #12345 which is in transit. Preferred contact method is phone. Located in EST timezone.",
"summary_updated_at": "2025-07-22T16:00:00.000Z",
"facts": {
"name": "John Doe"
},
"recent_messages": [...],
"created_at": "2025-07-20T10:30:00.000Z",
"updated_at": "2025-07-22T16:00:00.000Z"
},
"errors": null
}
{
"data": {
"id": "mem-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"org_id": "11111111-2222-3333-4444-555555555555",
"contact_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"persona_id": "persona-12345678",
"agent_number": null,
"summary": "Customer is a premium plan subscriber. Recently inquired about order #12345 which is in transit. Preferred contact method is phone. Located in EST timezone.",
"summary_updated_at": "2025-07-22T16:00:00.000Z",
"facts": {
"name": "John Doe"
},
"recent_messages": [...],
"created_at": "2025-07-20T10:30:00.000Z",
"updated_at": "2025-07-22T16:00:00.000Z"
},
"errors": null
}
Was this page helpful?