Skip to main content

Personal research API

These app API methods manage a saved Personal research context and its budget. They require your signed-in browser session and an eligible paid or trial Anydayway membership. Your active Organization does not become the owner or reader of the context. Organization managers cannot open another person's Personal context. These methods are not exposed as MCP tools.

Use the app's authenticated tRPC client:

  1. Call personalKnowledge.resolveResearch with {} to reopen your default context, or with { "researchContextId": "saved-context-id" } to reopen a particular context. Reopening keeps its cumulative usage.
  2. Call personalKnowledge.startResearch with {} only when deliberately starting a separate run. Save the returned researchContextId for follow-ups.
  3. Call personalKnowledge.getUsage with that identifier to inspect returned bytes, reserved or uncertain usage, inference charges and stop reasons.
  4. To cancel, call personalKnowledge.cancelResearch with the identifier and expectedVersion from the latest usage response.
  5. To configure or renew an allocation, call personalKnowledge.setBudget with the identifier, latest usage expectedVersion, softLimitBytes and hardLimitBytes. Set renew: true to resume a cancelled allocation. Renewal preserves consumed usage. inferenceLimitMicros optionally sets the inference ceiling in millionths of a US dollar.

A context response contains researchContextId, scopeVersion, taskId: null and scope: { "kind": "personal", "ownerUserId": "your-user-id" }. Do not send Organization selections, an owner's identifier or Task bindings to these methods. A saved identifier never grants access to someone else's context.

Byte limits range from 4,096 to 8,388,608. The soft limit must fit the hard limit; limits cannot discard already consumed, reserved or uncertain usage. A stale expectedVersion returns CONFLICT: refresh usage before retrying. Cancellation stops further output; changing membership or entitlement can stop an in-flight operation before its result is returned. External agent-host costs remain unknown in the usage response.

Read an original Personal Source​

Call personalDocuments.getSource with sourceId and your saved researchContextId. It reads only your directly owned Personal Sources; even your own Organization Sources require Organization research instead.

  • Use mode: "metadata" to inspect its title, labelled summary and current contentVersion. A summary is generated guidance, not the original text.
  • Use mode: "full" to page the original, or mode: "window" with the exact contentVersion, startByte and endByte to reopen a selected range.
  • Set maxBytes between 4,096 and 32,768. This bounds the UTF-8 JSON response. A page can be incomplete; keep its byte locators and any speaker/time qualifiers.
  • If continuation is returned, repeat the same selection with that token. A changed version, policy or research binding requires a fresh read.

Responses identify ownership: { "kind": "personal", "ownerUserId": "your-user-id" } and contain no Organization identifier or name. Old versions that are no longer retained return unavailable rather than substituting newer text. A missing audio original does not remove a retained transcript. Reads use the context's cumulative byte budget, and current ownership and access are checked again before returning evidence.

Search Personal Sources​

Call personalDocuments.searchSources with query and your saved researchContextId. Use a specific question or a few useful terms. query is limited to 500 characters; limit is between 1 and 20. maxBytes has the same 4,096–32,768 UTF-8 JSON limits as original reads.

Results combine word matches with meaning-based candidates, and identify which channels found each Source. Labelled summaries help discovery; original windows retain their content hash, byte locators and available speaker/time qualifiers. Use getSource to reopen a selected original. If continuation is returned, repeat the same query and selection with that token. A changed Source policy or research binding requires restarting the search.

Search has partial coverage. Its gaps explain unavailable indexes, incomplete windows or acquisition limits; no matches do not establish that information is absent. All returned Sources belong to your Personal space. Neither an Organization selection nor an administrator role can expand that boundary. Search and follow-up reads use the same cumulative byte and inference ledger.

Search Personal Journals​

Call personalDocuments.searchChunks with query, your saved researchContextId, and optional maxBytes and continuation. Queries are limited to 500 characters. The final JSON response uses the same 4,096–32,768 UTF-8 byte limits and cumulative Personal research budget as original reads.

Results combine word matches with available meaning-based evidence. Each hit includes its Personal ownership, current contentVersion, parent path, original sections, matched fields and discovery channels. The text field is a short discovery excerpt; use the section's locator with personalDocuments.getJournal in passages mode to reopen that exact original. Searching an accessible Journal's identifier can return metadata directly.

Repeat the same query and research selection with the returned continuation to read the next page. Switching your active Organization leaves the Personal selection unchanged. A changed original, parent path or research binding requires starting a fresh search. Restrictions or access lost while a search is running withhold the affected result.

The response always reports partial coverage. Check gaps; an incomplete index, unavailable semantic search or stale word index can omit relevant Journals. Empty results do not prove that information is absent. Organization, Task and owner selectors are refused. These endpoints require your own browser session.

The existing screen client can use personalDocuments.search with q and optional continuation; it returns the same hit envelope using the current Personal research context. A blank search returns an empty result without inference.

For bounded Personal Journal originals, use personalDocuments.getJournal; see Personal Journals API. Task research, OAuth and named-Agent access are not available through these endpoints. Use your own browser session and keep Personal context identifiers separate from Organization research.

Ask the Personal Assistant​

Call personalAssistant.ask with a question (1–4,000 characters) and optional researchContextId. The Assistant researches your own Personal Journals and Sources and returns self-contained Markdown with numbered original-evidence citations. An Organization selection, Task binding or another owner's identifier is not accepted. This is a browser API, not a Personal MCP tool.

{
"question": "What did I decide about next week's meeting?",
"researchContextId": "saved-personal-context-id",
"maxBytes": 8192,
"maxDurationMs": 60000
}

Save the returned conversationId and researchContextId. For a follow-up, send conversationId with the next question. The conversation keeps its original research binding and cumulative allowance; a different researchContextId is rejected. Switching your active Organization does not change its owner or history. Only you can continue the conversation, including when an Organization admin also has an eligible Anydayway membership.

maxBytes bounds the complete UTF-8 JSON response from 4,096 to 32,768 bytes. maxDurationMs bounds work from 1,000 to 120,000 milliseconds. Check status (answered, provisional or stopped), gaps, truncated, citations and usage before relying on an answer. Coverage remains partial. Follow-up history excludes answers whose originals changed or became unavailable; this adds private_history_stale_or_unavailable to the response's gaps. A follow-up that uses an earlier answer retains that answer's evidence dependencies even when it does not read another original. Older saved turns without verifiable follow-up lineage stay retained but are excluded from later research; ask again against current originals. Answers marked unversioned_context_dependency also stay retained but are withheld from follow-ups, including when they cite other, still-current evidence. Ask again so the Assistant can gather current evidence.

A cancelled allocation returns stopped without another generation. Other budget or deadline stops also report their reason; inspect personalKnowledge.getUsage and deliberately renew or increase the same allocation when appropriate. Paid access lost during generation withholds the answer, while incurred model usage remains recorded. An original withdrawn during persistence withholds the new turn and its citations rather than saving a stale answer. Prior history and original Sources and Journals remain intact.

Inspect and resume Personal indexing​

personalKnowledgeIndex.inspect accepts kind (source or journal) and objectId. It returns current indexing status, processed and total bytes, reserved bytes, the allowance and the current generation. Only the owner can inspect a Personal object's index or manage its allowance. A sponsoring Organization or an administrator role does not grant access.

To retry a failed or paused index, call personalKnowledgeIndex.resume with that selection, its latest expectedGeneration, and additionalBytes from 0 to 1,048,576. To rebuild, include mode: "rebuild"; this creates a fresh generation with an initial 65,536-byte allowance plus additionalBytes. A retry preserves consumed work and extends the existing allowance. Both use the existing background indexing queue. Allowance covers attempted embedding input, including failed attempts; complete coverage is not guaranteed.

A stale generation returns CONFLICT: inspect again before deciding to retry. Lost eligible membership returns FORBIDDEN and stops further owner-requested indexing. These methods require the owner's browser session and reject Organization and Task selectors. researchContextId may bind an existing Personal research context; it never expands the content owner.

Metadata dependencies in Personal answers​

Personal Assistant follow-ups track metadata disclosed by their tools as well as original passages. This includes labelled Source summaries and Journal outlines or parent titles. A changed summary, Journal publication or access policy makes dependent earlier answers unavailable to a follow-up; a change while generating or saving withholds the new answer. Existing records are retained. Metadata-only answers remain provisional and contain no fabricated original-passage citations. Earlier answers without this tracking require fresh research before reuse.

The Anydayway screen is covered in Assistant in Personal space. Use the Personal conversation API to list, read or remove the owner's saved history. History reads preserve provisional/gap/ truncation controls and withhold answers whose original evidence is no longer current; they do not call the model again.