Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello there! ~I've come to bargain!~ So, I noticed that with the REST API at least the `/tasks.get_all` endpoint appears to have an undocumented maximum page size of 500. The minimum page size it says right there, but at least when fetching it through th

Hello there!
I've come to bargain!

So, I noticed that with the REST API at least the /tasks.get_all endpoint appears to have an undocumented maximum page size of 500. The minimum page size it says right there, but at least when fetching it through the SDK, it doesn't seem to return more than 500, so that's probably something that should be update there None

On that same note, there is this only_fields option that you can specify, but where can I find what these fields can be? Is that documented anywhere? If so, it'd probably be useful to link to said documentation anywhere this option is mentioned in the REST API reference. Either way, I'd like to know what are the possible values for these only_fields .

Specifically I'm looking to retrieve the creator of a dataset from the task, essentially the Created By field or whatever it's classified as.

Thanks!

  
  
Posted 2 months ago
Votes Newest

Answers 3


Hi @<1724235687256920064:profile|LonelyFly9>

So, I noticed that with the REST API at least the

/tasks.get_all

endpoint appears to have an undocumented maximum page size of 500.

Yeah otherwise the request size might be too big, but you have pagination:

page
optional	Page number, returns a specific page out of the resulting list of tasks
Minimum value : 0	integer 
  
  
Posted 2 months ago

@<1523701205467926528:profile|AgitatedDove14> my point is that it's not documented anywhere that I can find, so when requesting a 1000 entries and not getting those, it was assumed that there were no more entries to request, whereas in reality it was just capping out at 500 entries.

  
  
Posted one month ago

Oh that makes sense! I'll pass it to the documentation guys 🙏

  
  
Posted one month ago