A filter object has been added to the API, which allows you to process filters, including search, create and delete.
https://developers.google.com/gmail/api/guides/filter_settings
In particular:
Listing filters
GET https://www.googleapis.com/gmail/v1/users/userId/settings/filters
Returns a list of JSON filter objects
Getting a specific filter
GET https://www.googleapis.com/gmail/v1/users/userId/settings/filters/id
Returns a single JSON filter object
Delete a specific filter
DELETE https://www.googleapis.com/gmail/v1/users/userId/settings/filters/id
Create Filter
POST https://www.googleapis.com/gmail/v1/users/userId/settings/filters
With a JSON encoded filter in the request body.
As long as REST URLs have v1 in the address, they are linked from the current documentation. Also note that the GMail API is currently migrating, and the deprecated API will no longer function as July 2016 . Keep this in mind as the API may change.
Gcon source share