For the complete documentation index, see llms.txt. This page is also available as Markdown.

Query.to*

Query.to*([maxResults, options])

Queries support the same methods as Tables for reading out data, as well as for working with any files referenced by the results. Each waits for the query to finish (throwing a JobError if it fails) before reading its results.

Full documentation can be found in the reference for the corresponding Table method:

Was this helpful?