function headers for traits api