Export a ClickUp document to text

Retrieve and export the content of all pages within a specified ClickUp document as a single concatenated text.

Run this query

To run this query, you can use the following command:

anyquery run export_a_document_to_text <workspace_id> <document_id>

Arguments

Workspace ID

The ID of the workspace containing the document to export.

Document ID

The ID of the document to export.

Additional informations

Source code Author

Tip

You can limit the number of results returned by a query using the --limit flag. For example, to limit the results to 10 rows, run anyquery run --limit 10.