v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBOrganization Connections
List Google Drive Files
List files in Google Drive folder for preview.
Shows a preview of files in the selected folder when configuring sync operations. Only available for Google Drive connections.
Use Cases:
- Preview files in a folder before selecting it for sync
- Verify folder contains expected files
- Check file types and counts
Example:
curl -X GET "http://localhost:8000/v1/organizations/connections/conn_abc123/files?path=/Marketing&max_results=20" \
-H "Authorization: Bearer YOUR_API_KEY"
get/v1/organizations/connections/{connection_identifier}/files
Path parameters
connection_identifierstring required
Connection identifier - either connection ID (conn_...) or name. The system will automatically resolve names to IDs.
Example:conn_abc123def456ghi
Connection identifier - either connection ID (conn_...) or name. The system will automatically resolve names to IDs.
Query parameters
pathstring
Folder path to list files from
Folder path to list files from
max_resultsinteger
Maximum number of files to return
Maximum number of files to return
Response
Successful Response
object required