Skip to main content
GET
List Drive folders and files

Authorizations

Authorization
string
header
required

An API key from the web app (Settings → Developer), sent as Authorization: Bearer rvl_live_….

Query Parameters

folderId
string

List this folder: dfld_… in your Drive, sdfld_… in a shared drive. Leave out for the root.

driveId
string

List a shared drive (drive_…). Leave out for your own Drive, which includes what's shared with you at its root.

q
string

Only items whose name contains this (case-insensitive). With a folder, searches that folder; without, searches all of your Drive (what you own and what is shared with you) or all of the shared drive.

Required string length: 1 - 200
type
enum<string>

Only folders, or only files.

Available options:
folder,
file
format
string

Only files with this extension, e.g. sdf.

Pattern: ^[A-Za-z0-9]{1,10}$
sharedWithMe
string

Only items other people shared with you directly, wherever they are in their Drive. Not with folderId or driveId.

limit
integer
default:50

Items per page.

Required range: 1 <= x <= 200
cursor
string

nextCursor from the previous page.

Response

OK

data
object[]
required

Folders first, then files, each by name.

nextCursor
string | null
required