Copilot

Save Copilot Personal Wiki Drive Selection

Save which Drive documents and folders the Copilot may read.

Replaces the Drive part of the selection. revision is required in practice: it must equal the sources' current updated_at, or the save is a 409.

put/copilot/personal-wiki/drive-selection

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/copilot/personal-wiki/drive-selection
  • Auth: HTTP bearer

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

mailbox_idinteger required

Integer mailboxes.id of the connected Google account.

document_idsstring[]

Individual Drive documents to read.

revisionstring nullable

The sources' updated_at from GET /copilot/personal-wiki/sources. A mismatch is a 409: someone else changed the selection since you read it.

preview_fingerprintstring nullable

The fingerprint from the preview call. When sent, the save is refused (409) if the selection no longer resolves to what you previewed.

Response

Successful Response

dataCopilotMemoryPayload 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.

Changes

No recorded changes to this operation across all 2 revisions of this API.