Onedrive

Onedrive logo

Onedrive

Connect your Onedrive data to Airweave

Overview

The Onedrive connector allows you to sync data from Onedrive into Airweave, making it available for search and retrieval by your agents.

Configuration

OneDriveSource

OneDrive source implementation using Microsoft Graph API.

Authentication

This connector uses OAuth 2.0 with refresh token.

Authentication Configuration

OneDrive authentication credentials schema.

refresh_token
strRequired

The refresh token for your OneDrive app.

access_token
strRequired

The access token for your OneDrive app.

Entities

The following data models are available for this connector:

Schema for a OneDrive Drive object.

The inherited entity_id stores the drive’s unique ID. Additional key fields come from the Microsoft Graph drive resource.

FieldTypeDescription
drive_typeOptional[str]Describes the type of drive represented by this resource (e.g., personal, business, documentLibrary).
ownerOptional[Dict[str, Any]]Information about the user or application that owns this drive.
quotaOptional[Dict[str, Any]]Information about the drive’s storage quota (total, used, remaining, etc.).
created_atOptional[datetime]Datetime when the drive was created (from createdDateTime).
updated_atOptional[datetime]Datetime when the drive was last modified (from lastModifiedDateTime).