Skip to main content

Brief API

Use the app's authenticated tRPC client with current Organization membership, Anydayway access, and the corresponding Task read or edit permission. All research stays in the Task's own Organization. Personal ownership and cross-Organization selections are not supported by these methods.

  • briefs.read({taskId}) returns current (latest ready version), latest (newest of any status), and versions history.
  • briefs.createFromIdea({request, ...taskFields}) creates a Task and queues its Brief. Request is required, up to 5,000 characters. Optional Task fields include title, status, priority, Sprint and assignee.
  • briefs.edit({taskId, context, boundaries, expectedPublicationStamp}) creates a new ready version. Each text section is limited to 20,000 characters. The original Request and private provenance remain retained.
  • briefs.regenerate({taskId, confirmOverwrite?}) queues a new generated version. Set confirmOverwrite: true only after confirming replacement of manual edits.
  • briefs.retry({taskId}) retries the latest failed version. It cannot change its Request or broaden its Organization selection.

A version contains publicationStamp, contentWithheld, freshness and verificationRequired. Current and historical responses remove ineligible prose and citation metadata; unrelated human notes remain. Internal text state and generation keys are never part of the response.

Send the exact stamp from the version displayed in your editor. A stale stamp returns CONFLICT. Reload, display the current content, and have the user reapply the edit. Never automatically reuse cached text with a new stamp. A current stamp is required when editing withheld content. Concurrent version changes also return CONFLICT; one edit cannot overwrite another's newly saved version.

An intentionally shared Assistant answer must be eligible for the Task's Organization audience. Author-only access to a private Source cannot authorize that sharing. Unchanged Boundaries retain their own dependencies when Context is replaced.

Personal owner API​

The app's authenticated tRPC client also exposes personalBriefs for the human owner of a Personal Task. It requires a current verified owner session and an eligible paid or trial Anydayway membership. Agent and MCP connections cannot call these methods. Inputs cannot select an Organization, owner or research scope.

  • personalBriefs.read({taskId}) returns current, latest, versions and a root publicationStamp. Personal versions have organizationId: null, an ownerUserId, and citations with explicit Personal ownership.
  • personalBriefs.createFromIdea({request, ...taskFields}) drafts a title when omitted, creates a directly owned Task and queues its first Brief. It returns {task, brief}. Request and text limits match the Organization API. Optional assignees are the owner or a currently consented Personal Agent; assignment does not execute work.
  • personalBriefs.edit({taskId, context, boundaries, expectedPublicationStamp}) saves an immutable ready version and retains the original Request.
  • personalBriefs.regenerate({taskId, expectedPublicationStamp, confirmOverwrite?}) queues a version from current Personal Sources, Journals and ready Dossiers. Explicit confirmation is required before replacing manual edits.
  • personalBriefs.retry({taskId, expectedPublicationStamp}) restarts failed or interrupted work. generationRestartRequired identifies expired or no longer executable queued work. An unchanged running version cannot be retried.

For all Personal mutations, send the root stamp returned by the latest read. A changed Task, version, access state or eligible evidence can return CONFLICT. Reload and let the owner review the new publication before submitting again. FORBIDDEN requires restoring the owner's session or eligible membership; NOT_FOUND never reveals another owner's Task. Generating work can become retryable after it expires. Previous versions and recorded usage remain retained. Changed evidence is withheld from current and historical versions, including citation metadata; independent human notes remain visible.

Personal Dossiers are supporting summaries; citations still identify original Sources and Journals actually read. Changed or archived Dossiers can withhold dependent Brief text. Their private research receipts are not part of the API response. These reads share the existing cumulative research allowance. The same Personal Task allowance covers title drafting, Brief generation and Required context. Cancellation refuses fresh Brief admission; explicit renewal keeps recorded usage and invalidates older queued work. Retry and regeneration cannot reset it. A failed title-to-Task admission saves no late Task. Manual planning and independent Brief edits remain available while research is cancelled.

For Personal Required context and readiness, use Task context API. Freshly consented Personal Agents read the Task and current Brief through Personal Agent MCP, with separate Task and knowledge grants. These owner Brief mutation methods remain unavailable to Agents. Personal webhook handoffs require independent delivery consent; see Personal Agent API. Sponsoring an owner's access never includes the sponsor's Organization content in Personal generation.

See Maintain Task Briefs and Deliveries for the screens and Briefs in Task MCP tools for connected agents.