cURL
curl --request POST \ --url https://api.example.com/api/events \ --header 'Content-Type: application/json' \ --data ' { "event": {}, "enable_semantic": true } '
{ "success": true, "nodes_created": 123, "patterns_detected": 123, "processing_time_ms": 123 }
Ingest a new event and trigger automatic graph construction, episode detection, and claim extraction.
true
{ "event": { "agent_id": 1, "agent_type": "movie-bot", "session_id": 5001, "event_type": { "Communication": { "message_type": "user_message", "sender": 0, "recipient": 1, "content": { "text": "I want to book Interstellar for tonight." } } }, "context": { "active_goals": [ { "id": 101, "description": "book_movie", "priority": 0.9, "progress": 0.1, "subgoals": [] } ], "environment": { "variables": { "user_id": "user_99" }, "temporal": { "deadlines": [], "patterns": [] } }, "resources": { "computational": { "cpu_percent": 10.0, "memory_bytes": 1024, "storage_bytes": 1024, "network_bandwidth": 100 }, "external": {} } }, "metadata": { "user_id": { "String": "user_99" } } }, "enable_semantic": true }
{ "event": { "id": 123456789012345678901234567890, "timestamp": 1738425600000000000, "agent_id": 1, "agent_type": "movie-bot", "session_id": 5001, "event_type": { "Communication": { "message_type": "user_message", "sender": 0, "recipient": 1, "content": { "text": "I want to book Interstellar for tonight." } } }, "causality_chain": [], "context": { "active_goals": [ { "id": 101, "description": "book_movie", "priority": 0.9, "progress": 0.1, "deadline": null, "subgoals": [] } ], "environment": { "variables": { "user_id": "user_99" }, "spatial": null, "temporal": { "time_of_day": null, "deadlines": [], "patterns": [] } }, "resources": { "computational": { "cpu_percent": 10.0, "memory_bytes": 1024, "storage_bytes": 1024, "network_bandwidth": 100 }, "external": {} }, "fingerprint": 0, "embeddings": null }, "metadata": { "user_id": { "String": "user_99" } }, "context_size_bytes": 0, "segment_pointer": null }, "enable_semantic": true }
{ "success": true, "nodes_created": 5, "patterns_detected": 2, "processing_time_ms": 15 }