Skip to main content
Submitted

Better structure to make filters on the graphql query

  • May 31, 2022
  • 3 replies
  • 242 views

henckel-alves

How i can filter any field in the graphql api, i want to query only specific phases with the api, not everything. how can i do that

3 replies

Rodrigo Leite
Pipefy Staff
  • Product Manager
  • June 1, 2022

Hi@henckel-alves how is it going?

Yes, today it is not possible yet to filter by any field using graphql API, only by card id or card sub-title id. But internally we have been discussing it since several people are requesting this.

Also, for phases, you can query specific phases using our API explained here: https://developers.pipefy.com/reference/phases

You just need to { phase(id: 12345){ id name } }

Besides, I'll add this request to our backlog of ideas for improvements.

 

Regards,

Rodrigo Leite

Product Manager


Rodrigo Leite
Pipefy Staff
  • Product Manager
  • June 1, 2022
Updated idea statusNewSubmitted

henckel-alves
  • Author
  • New Member
  • June 1, 2022

That’s useful, but for my purposes filtering would fit best, because there are almost 300 cards on the pipe, and im importing to a spreadsheet via api, and as the number of cards grow, more requisitions to the api i need to make. with the option to filter by the phase i would need to make less requisitions.

 

Thank you for the answer.