For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Fork this repoGet a demo
  • Docs
    • Welcome
    • Quickstart
    • Concepts
    • Search
    • MCP Server
    • CLI
    • Agent Skills
    • Connect
    • Add New Connector
    • Rate Limits
      • Overview
      • Airtable
      • Apollo
      • Asana
      • Attio
      • Bitbucket
      • Box
      • Calcom
      • Clickup
      • Coda
      • Confluence
      • Ctti
      • Document360
      • Dropbox
      • Fireflies
      • Freshdesk
      • Github
      • Gitlab
      • Gmail
      • Google Calendar
      • Google Docs
      • Google Drive
      • Google Slides
      • Hubspot
      • Intercom
      • Jira
      • Linear
      • Monday
      • Notion
      • Onedrive
      • Onenote
      • Outlook Calendar
      • Outlook Mail
      • Pipedrive
      • Powerpoint
      • Salesforce
      • Servicenow
      • Sharepoint
      • Shopify
      • Slab
      • Slack
      • Slite
      • Stripe
      • Teams
      • Todoist
      • Trello
      • Word
      • Zendesk
      • Zoho Crm
      • Zoom
  • API Reference
LogoLogo
Fork this repoGet a demo
On this page
  • Configuration
  • Authentication
  • Configuration Options
  • Data Models
DocsConnectors

Onedrive

Was this page helpful?
Edit this page
Previous

Onenote

Next
Built with
Onedrive logo

Onedrive

This connector enables AI agents and RAG systems to retrieve context from Onedrive through Airweave’s unified search layer.

Configuration

OneDrive source connector integrates with the Microsoft Graph API to extract files.

Supports OneDrive personal and business accounts.

It supports various OneDrive scenarios including personal drives, business drives, and app folder access with intelligent fallback handling.

View Source Code

Explore the Onedrive connector implementation

Authentication

This connector uses OAuth 2.0 authentication. You can connect through the Airweave UI or API using the OAuth flow.

Supported authentication methods:

  • OAuth Browser Flow (recommended for UI)
  • OAuth Token (for programmatic access)
  • Auth Provider (enterprise SSO)

Configuration Options

This connector does not have any additional configuration options.

Data Models

The following data models are available for this connector:

OneDriveDriveEntity

Schema for a OneDrive Drive object.

Reference: https://learn.microsoft.com/en-us/graph/api/resources/drive?view=graph-rest-1.0

FieldTypeDescription
idstrDrive ID.
namestrDrive name or drive type.
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.).
web_url_overrideOptional[str]URL to open the drive.
OneDriveDriveItemEntity

Schema for a OneDrive DriveItem object (file or folder).

Inherits from FileEntity to support file processing capabilities.

Reference: https://learn.microsoft.com/en-us/graph/api/resources/driveitem?view=graph-rest-1.0

FieldTypeDescription
idstrDrive item ID.
namestrItem name.
descriptionOptional[str]Description of the item (if available).
etagOptional[str]An eTag for the content of the item. Used for change tracking.
ctagOptional[str]A cTag for the content of the item. Used for internal sync.
web_url_overrideOptional[str]URL that displays the resource in the browser.
fileOptional[Dict[str, Any]]File metadata if the item is a file (e.g., mimeType, hashes).
folderOptional[Dict[str, Any]]Folder metadata if the item is a folder (e.g., childCount).
parent_referenceOptional[Dict[str, Any]]Information about the parent of this item, such as driveId or parent folder path.