Skip to main content
Returns the items (files and folders) directly under a folder. Uses cursor pagination: if continuation_token is returned, pass it back on the next request to fetch the next page. When the token is absent from the response, you’ve reached the end.
Permission required: drive:item_read · service

Path Parameters

string
required
Parent folder. Pass MY_SPACE for your workspace root, or any folder’s item_id to list its contents.

Query Parameters

integer
default:"50"
Items per page, 1–50. Defaults to 50 when omitted.
string
Token returned by the previous call. Omit on the first request.

Response

object

Iterating every page