I'm trying to query my account for all tickets except for those in a specific status, e.g. all tickets less than solved except those in pending. Is this possible?
You can exclude specific statuses from a broader status search through the use of the - operator. This will function whether you are querying via the API or from the UI.
For example, if we're looking for all ticket in a status less than solved, except for tickets in pending, you would structure your search as status<solved -status:pending.
For more information, please see our Zendesk search reference.