Sharepoint
List drives in a site
List the document libraries (drives) within a SharePoint site.
get/integrations/sharepoint/sites/{site_id}/drives
Path parameters
site_idstring required
SharePoint site id.
SharePoint site id.
Query parameters
chat_idinteger nullable
Scope imported counts to this chat.
Scope imported counts to this chat.
library_idinteger nullable
Scope imported counts to this library.
Scope imported counts to this library.
assistant_idinteger nullable
Scope imported counts to this assistant.
Scope imported counts to this assistant.
project_idinteger nullable
Scope imported counts to this project.
Scope imported counts to this project.
cookie_namestring nullable
Response
Successful Response
Example response
[
{
"id": "b!abc123",
"web_url": "https://contoso.sharepoint.com/sites/Team/Shared%20Documents",
"name": "Documents",
"description": "Shared team documents",
"root": {
"id": "01ABCDEF...",
"web_url": "https://contoso.sharepoint.com/sites/Team/Shared%20Documents/file.docx",
"drive_id": "b!abc123",
"site_id": "contoso.sharepoint.com,guid1,guid2",
"parent_folder_id": "root",
"parent_path": "/drive/root:/Documents",
"name": "report.docx",
"description": "Quarterly report",
"size": 24576,
"last_modified_date_time": "2026-02-20T14:00:00Z",
"mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"folder": {
"child_count": 12
},
"imported_count": 3
},
"imported_count": 7
}
]