cURL
Endpoints
Search Files
Full-text search across drive files and folders.
GET
cURL
Documentation Index
Fetch the complete documentation index at: https://developer.copera.ai/llms.txt
Use this file to discover all available pages before exploring further.
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 —ascordesc.limit(optional): Maximum number of results to return.
Response
Returns an array of matching drive items with:- File or folder ID and name
- Type (
fileorfolder) - Parent folder reference
- Relevance-based ordering
Authorizations
Bearer token
Query Parameters
Search query string
Sort field. Defaults to updatedAt.
Available options:
createdAt Sort order. Defaults to desc.
Available options:
asc Max results (1-50). Defaults to 20.
Required range:
1 <= x <= 50