Show examples in:
List all filters

Returns

Returns an array of upload_filter resource objects.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const uploadFilters = await client.uploadFilters.list();
uploadFilters.forEach((uploadFilter) => {
console.log(uploadFilter);
});
}
run();