cURL
Endpoints
Get File
Get metadata for a single file or folder.
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
Retrieves the metadata of a specific file or folder by its ID. The authenticated user must have access to the drive item — either as the owner or as a shared participant.Response
Returns a drive item object containing:- File or folder ID
- Name and type (
fileorfolder) - MIME type and file size (for files)
- Parent folder reference (if nested)
- Owner and participant information
- Creation and update timestamps
Authorizations
Bearer token
Path Parameters
ObjectId
Required string length:
24Pattern:
^[0-9a-fA-F]{24}$