...
Only Custom list views are editable. Clone and save a Default list view if necessary.
3. Scroll down to the list view preview section. Click SHOW EQUIVALENT → </> Show Equivalent SOQL or </> Show Equivalent CURL
...
4. Click COPY If you selected </> Show Equivalent SOQL, click COPY TO BUFFER to copy the query. Click Close.
...
If you selected </> Show Equivalent CURL, select Response Data Format (JSON, CSV) and Command Format (CMD, BASH):. Click COPY. Click Close.
...