indexing
Index OneDrive
Index a user's entire OneDrive for Business into a collection (headless).
Uses Microsoft Graph app-only auth (Entra ID App Registration with the Files.Read.All application permission) — no per-user OAuth. Scope to a folder or single file with the /directory or /file variants.
Headers:
- Authorization: Bearer {api_key}
- X-Organization-ID: Organization UUID
- Idempotency-Key: UUID for request deduplication (optional)
Returns: { job_id, status: "pending" }
post/v2/collections/{collection_name}/index/onedrive
Path parameters
collection_namestring required
Headers
authorizationstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.