Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.

Body

application/json

Request schema for bulk memory ingestion.

items
IngestRequest · object[]
required

List of memories to ingest. Maximum 100 items.

Required array length: 1 - 100 elements

Response

Successful Response

Response schema for successful bulk ingestion.

count
integer
required

Number of items successfully processed

items
DocumentStatusResponse · object[]
required

Status of each ingested item

success
boolean
default:true
skipped
BulkItemSkip · object[]

Items not ingested because their resource_id is already owned by another user on this app. Empty in the common case; a non-empty list is a partial success, not an error.