Explorer
/tmp/graphiti_detached_test.py
← Zurück ↓ Download
import json,urllib.request
d={'content':'TEMPORARY GRAPHITI WRITE TEST. Remove after verification.','source':'arbeitsauftrag-017-test','actor':'codex','context':'temporary test; no secrets','timestamp':'2026-08-06T00:00:00Z','name':'hermes_graphiti_write_test_20260806'}
q=urllib.request.Request('http://127.0.0.1:8644/episodes',data=json.dumps(d).encode(),headers={'Content-Type':'application/json'})
try: print(urllib.request.urlopen(q,timeout=1200).read().decode())
except Exception as e: print('ERROR',repr(e))