Ingest a document from a public URL.
Creates a parent document node (INDEXED) and chunk nodes (FULL, embedded) linked via PART_OF edges. Deduplicates by source URL + content hash.
Security: only http:// and https:// URLs are accepted. Local file paths and other URI schemes (file://, gopher://, ftp://, etc.) are rejected to prevent SSRF/LFI attacks. Local-file ingestion is exposed via the CLI (CORE-STRUCT-CLI-1).
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/memory/ingest/document" \ -H "Content-Type: application/json" \ -d '{ "source": "string" }'null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Ingest Conversation
Ingest a conversation as session chunks through the full pipeline (RLM-1g).
Ingest Launch Event
Record a launch funnel event from a trusted CLI/wrapper caller. Body: ``{event_type: str, props: dict}``. ``user_id`` / ``workspace_id`` are taken from the auth scope — the body cannot override them.