Skip to main content

Overview

Searches across all drive files and folders accessible to the authenticated user using full-text search. Results include relevance-based ordering for easy display.

Query Parameters

  • q (required): The search query string.
  • sortBy (optional): Field to sort results by (e.g., name, createdAt, updatedAt).
  • sortOrder (optional): Sort direction — asc or desc.
  • limit (optional): Maximum number of results to return.

Response

Returns an array of matching drive items with:
  • File or folder ID and name
  • Type (file or folder)
  • Parent folder reference
  • Relevance-based ordering