Skip to main content

Personal Sources API

Use the app's authenticated tRPC client with your own signed-in browser session. An eligible paid or trial Anydayway membership is required. Your active Organization does not own these Sources, and its administrators cannot read them. These methods are not available to OAuth clients or named Agents.

Capture and browse​

  • personalSources.createAsync accepts either { "transcript": "Your note" } or { "path": "uploaded-file-id" } for an audio note. Upload through file.user.initiate and finish with file.user.finalize first. Use your own completed Personal upload; an Organization upload cannot be reassigned here. The response contains journalId and jobId; processing continues in the background.
  • personalSources.upload accepts path, fileName, mimeType and sizeBytes for a completed Personal upload. Supported formats and size limits are the same as Organization Sources. The response contains sourceId and jobId.
  • personalSources.list takes no selection and returns your Source cards, including processing status and counts of your related Tasks.
  • personalSources.read accepts { "id": "source-id" } and returns the original Source, transcript and generated summary where available.
  • personalSources.listRelatedSources accepts { "journalId": "source-id" } and returns only your Tasks generated from that Source.
  • personalSources.processing takes no selection and returns processing stages, errors and current search-index coverage for your Sources.

Rows identify direct ownership with ownerUserId, organizationId: null, memberId: null and visibility: "private". Do not send an owner identifier, Organization selection or membership to these methods. Pending and restricted originals remain visible to their owner; this does not approve them for reuse in an Organization.

Audio and recovery​

Call personalSources.getAudioDownloadUrl with a Source's id when the owner chooses to play its audio. It returns a temporary url. The request selects a persisted Source, not an arbitrary storage path. A missing original returns NOT_FOUND; any retained transcript remains readable and can be processed again.

Call personalSources.retry with id to resume a failed processing stage. personalSources.reprocessAsync with id processes an existing transcript or available voice note again. Both return jobId. Inspect processing for the result. A failed upload or unsupported format returns BAD_REQUEST; finish or replace the upload before retrying capture.

Call personalSources.softDelete with id to remove the Source from active browsing and processing. Access to signed audio is checked again before its URL is returned. A saved identifier cannot open another person's Source; unavailable or foreign Sources return NOT_FOUND.

Loss of eligible membership blocks new capture and processing. Research uses a separate saved budget; see Personal research API.

Capture verifies the uploaded object's storage version before saving a Source or queuing processing. The server records its observed size; an advertised smaller size cannot bypass the format's limit. Unavailable or unversioned storage can return a gateway error. Retry after storage access is restored or upload an independent copy. Supplied metadata cannot choose a different original version.

Personal Drive​

The same authenticated browser client exposes personalDrives. These methods resolve the signed-in owner; do not send an Organization or owner identifier. They are unavailable to named Agents and OAuth clients.

  • personalDrives.get returns the connection status, selected folder, sync time and Source counts, or null when disconnected. It never returns Google tokens.
  • personalDrives.connect returns authorizationUrl. Open it in the same browser session. Google redirects back to Personal settings after read-only consent. Personal My Drive is selected automatically.
  • personalDrives.retry retries a failed import of the chosen folder.
  • personalDrives.disconnect stops syncing and clears saved Google access; imported Sources remain. It is available to the owner after sponsorship expires.
  • personalDrives.listFolders accepts optional parentId and driveId when browsing an authorized connection. personalDrives.selectFolder accepts folderId, driveId and confirmVisibleToMembers only while choosing a folder. Personal connections normally select My Drive during consent.

New consent, file reads and import writes require current eligible access. An interrupted callback or stale job cannot authorize a reconnected space. See Personal Drive for the screen journey.

Deliberate Organization contribution​

These human-session methods do not grant an Agent permission to share, and do not change your active Organization.

Call sourceContributions.prepare with { "sourceId": "your-personal-source" }. It returns the current immutable versionId, selectable retained text fields and eligible destination destinations. Choose the exact passage, destination, title and audience for the User to review.

After explicit confirmation, call sourceContributions.contribute:

{
"requestId": "62832ba8-3c99-4ad9-bceb-b3f5d8c26290",
"sourceId": "your-personal-source",
"versionId": "the-reviewed-version",
"organizationId": "chosen-organization",
"organizationName": "The reviewed Organization name",
"title": "Title visible in the Organization",
"visibility": "shared",
"selection": { "field": "transcript", "start": 0, "end": 42 },
"confirmed": true
}

start and end are JavaScript string offsets, with an exclusive end. Use a nonempty selection of at most100,000 characters from one returned field; do not split a Unicode character. visibility is explicitly shared or private. Both are Organization-owned; private means the contributor and human Organization owners/admins. This copies only the selected retained text, never audio, file metadata, an earlier analysis or a link into Personal space. Fresh restricted/pending classification is saved before processing.

The result contains sourceId, organizationId and visibility for the independent Organization copy. Retain the requestId and exact confirmed input until you receive the reply. Repeating that input returns the same copy, including after the Personal original changes or is deleted. A different input with the same request ID returns CONFLICT. A removed Organization copy cannot be recreated by retrying that request. A new requestId is a deliberate new contribution.

The owner's current Session and sponsorship, destination Membership/Product access, content state and reviewed original version are rechecked before copying. FORBIDDEN requires restoring access; NOT_FOUND means the original is unavailable; CONFLICT requires reviewing changed evidence or destination for a new request. An unconfirmed queue reply can be retried with the same input. A fresh request must never be an automatic network-retry fallback.

An authorized Organization reader can call sourceContributions.provenance with the copy's sourceId and the chosen organizationId. It returns its contribution date and copiedVersionId, or null for ordinary Sources. It confers no access to either Source, and never returns the Personal original's identifiers or metadata. Normal Source reading and privacy restrictions still apply. See the confirmation screen.