Machines API filter by machine state

Hi,
Is there any way to filter machines on the machine rest api endpoint by their state or their date created?