Sharepoint
List SharePoint sites
List the SharePoint sites the user can access, with imported document counts.
get/integrations/sharepoint/sites
Request
- Base URLhttps://api.your-domain.com
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
chat_idinteger nullable
Scope imported counts to this chat.
library_idinteger nullable
Scope imported counts to this library.
assistant_idinteger nullable
Scope imported counts to this assistant.
project_idinteger nullable
Scope imported counts to this project.
cookie_namestring nullable
Response
Successful Response
Example response
[
{
"id": "contoso.sharepoint.com,guid1,guid2",
"web_url": "https://contoso.sharepoint.com/sites/Team",
"name": "Team",
"display_name": "Team Site",
"description": "Collaboration site",
"imported_count": 15
}
]Changes
No recorded changes to this operation across all 1 revision of this API.