Index LaneLive integration hub
OverviewProvidersDocs
Loading
Skip to Content
Index Lane DocsCLI + MCP
AppProvidersQuickstart
Search docs
  • Index
  • Demo
    • Introduction
    • Quickstart
      • Overview
      • Overview
      • Commands
      • Search
      • Access Rules
      • Overview
      • Auth Model
      • Tools
  • Providers
  • Index
  • Demo
    • Introduction
    • Quickstart
      • Overview
      • Overview
      • Commands
      • Search
      • Access Rules
      • Overview
      • Auth Model
      • Tools
  • Providers

On this page

  • Why provider-native rules matter
  • Gmail examples
  • Drive examples
  • Calendar examples
  • Notion examples
Question about this page?Edit this page
DocsCLIAccess Rules

Access Rules

OAuth grants broad read-only provider access.

Index Lane then applies a second layer: saved access rules.

Those saved rules are the hard boundary used by:

  • the web app
  • the CLI
  • the local MCP server

Why provider-native rules matter

Index Lane stores provider rules in the provider’s own language whenever possible.

Examples:

  • Gmail: label IDs or native Gmail query syntax
  • Google Drive: folder IDs, shared drive IDs, file IDs
  • Calendar: calendar IDs
  • Notion: page or database IDs when available

That makes the system:

  • easier to debug
  • closer to the provider model users already understand
  • less likely to drift into an abstraction that behaves differently from the real API

Gmail examples

Copy and run
{"mode":"all"}
Copy and run
{"mode":"recent","recentDays":30}
Copy and run
{"mode":"labels","labelIds":["IMPORTANT","INBOX"]}
Copy and run
{"mode":"query","q":"label:important newer_than:30d"}

Drive examples

Copy and run
{"mode":"all"}
Copy and run
{"mode":"selected","folderIds":["folder-123"],"sharedDriveIds":["drive-456"],"fileIds":[]}

Calendar examples

Copy and run
{"mode":"selected","calendarIds":["team-calendar-id"]}

Notion examples

Copy and run
{"mode":"selected","selectedIds":["page-id","database-id"]}
SearchOverview
Index Lane v1 docs