> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Conversation Summary

> Overwrite the conversation summary for a contact memory. The summary is a plain-text overview of past interactions that the agent uses for context at the start of each conversation.

### Headers

<ParamField header="authorization" type="string" required>
  Your API key for authentication.
</ParamField>

### Path Parameters

<ParamField path="memory_id" type="string" required>
  The unique identifier of the contact memory record.
</ParamField>

### Body Parameters

<ParamField body="summary" type="string" required>
  The new summary text. This replaces the existing summary.
</ParamField>

### Response

<ResponseField name="data" type="object">
  The updated contact memory object.
</ResponseField>

<ResponseField name="data.id" type="string">
  Unique identifier for the contact memory.
</ResponseField>

<ResponseField name="data.summary" type="string">
  The updated summary.
</ResponseField>

<ResponseField name="data.summary_updated_at" type="string">
  ISO timestamp when the summary was last updated.
</ResponseField>

<ResponseField name="errors" type="null">
  Error array (null on success).
</ResponseField>

<ResponseExample>
  ```json Response theme={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
  }
  ```

  ```json Error Response theme={null}
  {
    "data": null,
    "errors": [
      {
        "error": "BAD_REQUEST",
        "message": "summary is required"
      }
    ]
  }
  ```
</ResponseExample>

***

Docs for agents: [llms.txt](/llms.txt)
