Smart playlists via the API?

Looks like @R_102 already took a look and the api doesn’t support them properly yet