---
title: "Get data source capabilities"
method: GET
path: "/integrations/sharepoint/v1/capabilities"
tags: ["Sharepoint v1"]
---

# Get data source capabilities

`GET /integrations/sharepoint/v1/capabilities`

## Request

- Base URL: `https://api.your-domain.com`
- URL: `https://api.your-domain.com/integrations/sharepoint/v1/capabilities`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/docs/integrations/sharepoint/v1/capabilities/get.ts> (a function with typed inputs; its response is checked against the schema)

Return the browse-hierarchy metadata for this data source.

## Query parameters

- `cookie_name` string, nullable

## Response `200`

Successful Response

- DataSourceCapabilities: Metadata the frontend uses to render the right browse hierarchy.
  - `source` string, required: Data source identifier.
  - `root_kind` 'site' | 'drive', required: Whether the source's top level is sites or drives.
  - `hierarchy_depth` integer, required: Number of browsable levels above individual drive items.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api.md) - [All operations](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/revisions/b53e89b98c2b?raw)
