Date filters in DOMO API



I am trying to apply date filter such as todate and last while fetching data through API from DOMO but the filter is not working for me.


I am using the following syntax:


GET /data/v1/:alias?createdAt last 3 months

createdAt:- is the domo date field that is returned through the API.


This syntax is not working for me.


Can anyone help and suggest me the way of applying date filters


This discussion has been closed.