Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

Memory observability logs


Conversation Memory emits structured log events at every stage of the memory pipeline — from ingestion and recall through update and deletion. Use these logs to access diagnostics, troubleshoot issues, and monitor your agent-based applications.


Overview

overview page anchor

Conversation Memory's logging layer captures lifecycle events across three product domains:

DomainLogged events
Conversation MemoryCreate, update, delete, and retrieval of observations
Profile MemoryProfile and identity operations, trait management, bulk imports, and summaries
KnowledgeDocument and knowledge base lifecycle events, search, and indexing

You can access logs in the Twilio Console:

Go to Develop > Troubleshoot > Debugger to view, filter, and inspect log entries in real time.


To view Memory logs in the Twilio Console:

  1. Open the Twilio Console(link takes you to an external page).
  2. Go to Develop > Troubleshoot > Debugger.
  3. Filter by event type, domain, or time range.
  4. Select any log entry to expand the full diagnostic panel, including error descriptions, possible causes, and suggested remediation steps.

Conversation Memory emits a structured log event for each significant state change. Events follow the naming convention:

com.twilio.<domain>.<resource>.<action>

Conversation Memory events

conversation-memory-events page anchor
Event typeDescription
com.twilio.memory.observation.createdNew observation successfully created
com.twilio.memory.observation.updatedExisting observation modified
com.twilio.memory.observation.deletedObservation permanently removed
com.twilio.memory.observation.retrievedObservation successfully queried or fetched

Profiles and identity

profiles-and-identity page anchor
Event typeDescription
com.twilio.memory.profile.createdProfile created during identity resolution
com.twilio.memory.profile.deletedProfile deleted
com.twilio.memory.profile.retrievedProfile retrieved
com.twilio.memory.profiles.created.importcsvProfiles created through CSV import
com.twilio.memory.profiles.mergedProfiles merged during identity resolution
com.twilio.memory.profiles.lookupProfile lookup completed
com.twilio.memory.profiles.syncBatch published to Profiles Bulk API for a CRM or data warehouse sync
com.twilio.memory.identity.addedIdentifier added to a profile
com.twilio.memory.identity.updatedIdentifier updated
com.twilio.memory.identity.deletedIdentifier deleted
com.twilio.memory.identity.listedIdentifiers listed for a profile
com.twilio.memory.identityresolution.configuredIdentity resolution rules configured
com.twilio.memory.identityresolution.updatedIdentity resolution rules updated
Event typeDescription
com.twilio.memory.traits.created.importcsvTraits created with CSV import
com.twilio.memory.traits.upsertedTrait created or updated (single)
com.twilio.memory.traits.upserted.bulkTraits created or updated in bulk
com.twilio.memory.traits.promoted.identifierTrait promoted to act as a profile identifier
com.twilio.memory.traitgroups.createdNew trait group created
com.twilio.memory.traitgroups.updatedTrait group modified
com.twilio.memory.traitgroups.deletedTrait group removed
Event typeDescription
com.twilio.memory.store.createdMemory store provisioned
com.twilio.memory.store.updatedMemory store configuration updated
com.twilio.memory.store.deletedMemory store removed
Event typeDescription
com.twilio.memory.summary.createdProfile summary generated
com.twilio.memory.summary.retrievedProfile summary fetched
com.twilio.memory.summary.updatedProfile summary updated
com.twilio.memory.summary.deletedProfile summary removed
Event typeDescription
com.twilio.knowledge.knowledge.createdNew knowledge document created
com.twilio.knowledge.knowledge.updatedKnowledge document modified
com.twilio.knowledge.knowledge.deletedKnowledge document removed
com.twilio.knowledge.knowledge.searchedKnowledge searched or queried
com.twilio.knowledge.knowledge.indexedKnowledge document indexed for retrieval
com.twilio.knowledge.knowledgebase.createdNew knowledge base provisioned
com.twilio.knowledge.knowledgebase.updatedKnowledge base configuration modified
com.twilio.knowledge.knowledgebase.deletedKnowledge base removed

Every log entry shares a common top-level structure:

FieldTypeDescription
logIdstringUnique identifier for this log entry
eventTimestring (ISO 8601)Timestamp of the event
sourcestringThe Memory subsystem that emitted the event
eventTypestringFull event type name (for example, com.twilio.memory.store.created)
levelstringSeverity level: INFO, WARNING, or ERROR
errorCodeinteger0 for success; non-zero maps to the Twilio error catalog
errorReasonstring | nullHuman-readable error description, if applicable
requestIdstringUnique ID for the originating API request
correlationIdstringTrace ID for correlating events across services
bodyobjectOperation-specific payload
1
{
2
"logId": "1775677339108-67cbb62a",
3
"eventTime": "2026-04-08T19:42:19Z",
4
"source": "conversation-memory",
5
"eventType": "com.twilio.memory.store.created",
6
"level": "INFO",
7
"errorCode": 0,
8
"errorReason": null,
9
"requestId": "4cc248bf-330b-49e6-9257-c9756e34c267",
10
"correlationId": "4cc248bf-330b-49e6-9257-c9756e34c267",
11
"body": {
12
"created_by": "ACda1bb2889ad6cbe4814c2addbc8a657c",
13
"error_code": null,
14
"interface_type": "API",
15
"latency_ms": 251,
16
"store_id": "mem_store_01knq9vx4qfghrt2dyrh4942w0"
17
}
18
}

Conversation Memory logs errors and warnings for all create, update, delete, search, and retrieval operations. Twilio structures every error log entry to help you quickly identify the root cause and take corrective action.

Errors fall into two categories:

  • Input errors: Problems with configuration, request formatting, data integrity, or resource limits.
  • Processing errors: Runtime failures such as partial processing, conflicts, data drops, timeouts, or resource locks.
FieldDescription
error_listArray of one or more error entries associated with the operation
error_codeNumeric code referencing the Twilio error catalog
error_typeCategorical classification (for example, ValidationError, IngestError, RecallError)
descriptionHuman-readable summary of what went wrong
possible_causesList of likely root causes for the error condition
possible_solutionsRecommended remediation steps
(information)

Info

Select any error entry in the Twilio Console Debugger to see the full diagnostic panel, including the error description, possible causes, and suggested remediation steps.


During initial setup, Conversation Memory surfaces errors in real time within the onboarding UI and also writes them to your Twilio logs for later review. This covers:

  • Profile Ingest Errors: Failures during initial profile data upload or sync.
  • Knowledge Ingest Errors: Failures during knowledge document processing or indexing.

Conversation Memory error codes follow the Twilio standard error catalog. For every error code, you'll find:

  • A plain-language description of the error
  • A list of possible causes
  • Suggested actions to resolve the issue

For the full reference, see Twilio API error reference.


Set alerting thresholds before you go to production

set-alerting-thresholds-before-you-go-to-production page anchor

Configure error-rate and warning-volume thresholds in the Twilio Console UI early. If you wait until an incident occurs, the first signal you receive will be user impact rather than a proactive alert.

Use conversation_id as your primary trace key

use-conversation_id-as-your-primary-trace-key page anchor

Twilio uses conversation_id across Conversation Orchestrator, Conversation Intelligence, and Conversation Memory, making it the most reliable identifier for end-to-end debugging across products.

Route alerts for each domain, not globally

route-alerts-for-each-domain-not-globally page anchor

Profile ingest errors and recall errors typically require different on-call owners. Configuring separate alert routes per domain reduces noise and improves response time.

Use AI tools to accelerate log analysis

use-ai-tools-to-accelerate-log-analysis page anchor

You can securely share Conversation Memory documentation and exported log data with AI coding assistants to analyze patterns and surface suggested fixes. This is especially useful for high-volume pipelines where manual log review is impractical.