specs for create api