Query Project Assets Using REST API

I’m trying to query the Asset’s for a specific Project Name. Why does it return all Assets in the database no matter what I do? I’m guessing it has something to do with the filter

            url: url + '/api/v1/entity/assets',
            method: 'get',
            headers: headers,
            data: {
                fields: 'code,project',
                filters: [
                    ['sg_category', 'is', 'Tool'],
            success: function (data) {
                document.getElementById("queryConsole").value = JSON.stringify(data, null, 3);
                $('#queryConsole').value = JSON.stringify(data, null, 3);
            error: function () {
                $('#queryOutput').html('Bummer: there was an error!');
1 Like

Have you tried ["project", "name_is", "VFXP"] ?
It shouldn’t be any different though…

Yeah that didnt change anything. Still does not actual filter the items to a specific project

Hi John,

It should work with post. Here is the reference Search all records.