Socrates core API