v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-25173140700.7 KB
Sharepoint

List SharePoint sites

List the SharePoint sites the user can access, with imported document counts.

get/integrations/sharepoint/sites

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

idstring required

Site id.

web_urlstring required

URL to open the site in SharePoint.

namestring nullable required

Site name.

display_namestring nullable required

Human-readable site display name.

descriptionstring nullable required

Site description, if set.

imported_countinteger

Number of imported documents from this site in the current scope.

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
  }
]