Agent-readable docs index: /docs/llms.txt. Full docs in one file: /docs/llms-full.txt. Download /docs/docs.zip to grep all markdown files locally.

What changed in memory between two instants

/v1/diffPOST
Lists memories that became true and memories that stopped being true in the window. Pair it with asOf on recall to replay what an agent knew at a past moment.
Authorization
bearer *Bearer <token>
API key of the form kaibo_<id>.<secret>. Scopes: read, write, read_write, forget, admin.
Request Bodyapplication/jsonrequired
from *string (date-time)
to *string (date-time)
Response
200 · Success
from *string (date-time)
to *string (date-time)
added *object[]
Show item properties
memoryId *string
Min length: 1Max length: 128
text *string
at *string (date-time)
replacedBy *stringnull
ended *object[]
Show item properties
memoryId *string
Min length: 1Max length: 128
text *string
at *string (date-time)
replacedBy *stringnull
400 · Invalid request
error *object
Show properties
code *"unauthenticated" | "forbidden" | "not_found" | "invalid_request" | "conflict" | "idempotency_mismatch" | "payload_too_large" | "rate_limited" | "internal"
message *string
requestId *string
details?object
401 · Missing, malformed, revoked or expired key
error *object
Show properties
code *"unauthenticated" | "forbidden" | "not_found" | "invalid_request" | "conflict" | "idempotency_mismatch" | "payload_too_large" | "rate_limited" | "internal"
message *string
requestId *string
details?object
403 · The key lacks the required scope
error *object
Show properties
code *"unauthenticated" | "forbidden" | "not_found" | "invalid_request" | "conflict" | "idempotency_mismatch" | "payload_too_large" | "rate_limited" | "internal"
message *string
requestId *string
details?object
429 · Rate limited. See Retry-After
error *object
Show properties
code *"unauthenticated" | "forbidden" | "not_found" | "invalid_request" | "conflict" | "idempotency_mismatch" | "payload_too_large" | "rate_limited" | "internal"
message *string
requestId *string
details?object
Request example
curl -X POST "/v1/diff" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "from": "2024-01-15T09:30:00Z", "to": "2024-01-15T09:30:00Z" }'