I wrote this code to fetch some data using the JS SDK :
directus.items(\'configuration\').read({ single: true });
This