Skip to main content
POST
https://api.bland.ai
/
v1
/
memory
/
enable
Enable or Disable Memory
curl --request POST \
  --url https://api.bland.ai/v1/memory/enable \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '
{
  "pathway_id": "<string>",
  "version_number": 123,
  "persona_id": "<string>",
  "version_id": "<string>",
  "memory_enabled": true
}
'
{
  "data": {
    "message": "Memory enabled successfully for pathway."
  },
  "errors": null
}

Headers

authorization
string
required
Your API key for authentication.

Body Parameters

Provide either pathway or persona identifiers (not both).
pathway_id
string
Pathway ID. Use with version_number and memory_enabled.
version_number
number
Pathway version number. Required when pathway_id is provided.
persona_id
string
Persona ID. Use with version_id and memory_enabled.
version_id
string
Persona version ID (UUID). Required when persona_id is provided.
memory_enabled
boolean
required
Set to true to enable memory, false to disable.

Response

data
object
Success response data.
data.message
string
Success message.
errors
null
Error array (null on success).
{
  "data": {
    "message": "Memory enabled successfully for pathway."
  },
  "errors": null
}

Notes

  • Pathways: Memory applies when the pathway is attached to a number; can be per number or shared with personas.
  • Personas: Enable or disable per version for testing.
  • Enabling memory triggers a background refresh of entity schemas.