Graylog and API