Skip to content

Browse Copilot Personal Wiki Drive

GET
/copilot/personal-wiki/drive

Browse the Google Drive of one of your connected mailboxes, to pick what the Copilot may read.

Reads Drive through the mailbox’s own grant. A 403 means the grant does not include Drive; a 409 means the Google account behind the mailbox has changed since it was connected.

Authorizations

Parameters

Query Parameters

mailbox_id
required

Integer mailboxes.id of the connected Google account.

integer
> 0

Integer mailboxes.id of the connected Google account.

parent_id

Folder to list. root is the top of My Drive.

string
default: root >= 1 characters <= 200 characters /^[A-Za-z0-9_-]+$/

Folder to list. root is the top of My Drive.

page_token
Any of:
string
<= 2000 characters

From the previous page.

search

Search by name instead of listing a folder.

string
"" <= 120 characters

Search by name instead of listing a folder.

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required

An open envelope for one memory, wiki or sharing answer.

Open because the personal wiki is a DOCUMENT whose sections follow what has been learned about a person, and because each fact carries provenance - which mailbox or meeting it came from - that grows as new sources are connected. Pinning the shape would silently drop the provenance on the newest source, and on a “what do you know about me” surface a fact with no visible origin is worse than no fact.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string