POST
/
v1
/
memory
/
{memory_id}
/
user
/
search
Search User Calls in Memory
curl --request POST \
  --url https://api.bland.ai/v1/memory/{memory_id}/user/search \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "phone_number": "<string>",
  "external_memory_key": "<string>"
}'
{
  "data": [
    {
      "c_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeffffgggg",
      "created_at": "2025-07-22T05:19:37.314Z",
      "summary": "The call appears to be a follow-up conversation about the user's startup, asking questions about AI and the future of their business.",
      "answered_by": "human",
      "call_length": 0.3,
      "inbound": false
    }
  ],
  "errors": null
}

Headers

authorization
string
required
Your API key for authentication.

Path Parameters

memory_id
string
required
The unique identifier of the memory to search within.

Body Parameters

phone_number
string
required
The phone number of the user to search for calls.
external_memory_key
string
Optional external key for additional memory validation or cross-referencing.

Response

data
array
Array of call objects for this user within the memory.
data[].c_id
string
Unique identifier for the call.
data[].created_at
string
ISO timestamp when the call was made.
data[].summary
string
AI-generated summary of this specific call.
data[].answered_by
string
Who answered the call (e.g., “human”, “ai”).
data[].call_length
number
Call duration in minutes.
data[].inbound
boolean
Whether this was an inbound call (true) or outbound call (false).
errors
null
Error array (null on success).
{
  "data": [
    {
      "c_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeffffgggg",
      "created_at": "2025-07-22T05:19:37.314Z",
      "summary": "The call appears to be a follow-up conversation about the user's startup, asking questions about AI and the future of their business.",
      "answered_by": "human",
      "call_length": 0.3,
      "inbound": false
    }
  ],
  "errors": null
}