Memory bulk jobs
Memory bulk jobs
Upsert or delete many METADATA memories in one job and poll for progress.
Bulk jobs upsert or delete many memories asynchronously. They are only available for METADATA memories. Create a job, then poll its status until it finishes. Memories themselves stay on Memories.
The bulk job
| Attribute | Type | Description |
|---|---|---|
jobId | string | The unique identifier of the bulk job. |
type | string | The bulk job type. |
status | string | Current job status. |
totalItems | number | Total number of items in the job. |
processedItems | number | Number of items processed so far. |
memoryTypeId | string | Memory type the job applies to. |
result | object | Per-item outcome counts when the job has results (created, updated, skipped, deleted, notFound). |
errorMessage | string | Error message when the job failed. |
createdAt | string | When the job was created. |
completedAt | string | When the job finished, if applicable. |