Expand description
Wire types for the Origin HTTP API.
All types live in the published origin-types crate. This module exists
only to provide a stable import path (crate::types::...) during the
cross-repo refactor; later PRs may remove the module entirely and import
origin_types::* at call sites directly.
Structs§
- Accept
Refinement Response - AddObservation
Response - Chat
Context Request - Chat
Context Response - Contradiction
Dismiss Response - Response returned by
POST /api/memory/contradiction/{source_id}/dismiss.wrote: trueis best-effort: the daemon’s underlying DB method silently no-ops when no rows match. Wrapper cannot distinguish dismiss-of-existing from dismiss-of-nothing without an extra SELECT (out of scope). - Create
Entity Request - Create
Entity Response - Delete
Response - Shared wire format for any
deleted: boolresponse. - Entity
Suggestion - A pending entity suggestion from the refinement queue.
- List
Memories Request - List
Memories Response - List
Memory Revisions Response - Response envelope for
/api/memory/{id}/revisions. - List
Page Revisions Response - Response envelope for
/api/pages/{id}/revisions. - List
Refinements Response - Memory
Revision Entry - One entry in a memory’s supersede chain, returned by
/api/memory/{id}/revisions. - Nurture
Cards Response - Orphan
Link - One orphaned page link label aggregated across sources.
- Orphan
Links Response - Response for
GET /api/pages/orphan-links. - Page
Changelog Entry - One entry in a page’s version changelog, returned by
/api/pages/{id}/revisions. - Page
Source With Memory - Page source enriched with the memory’s metadata (for the API response).
- Recent
Activity Item - A single entry in the home-page recent-activity feed.
- Reject
Refinement Response - Rejection
Record - A rejected memory entry for quality gate diagnostics.
- Revision
Accept Response - Response returned by
POST /api/memory/revision/{id}/accept. Carries the now-consumed revision row id so agents can correlate with theirlist_pending_revisionscache. - Revision
Dismiss Response - Response returned by
POST /api/memory/revision/{id}/dismiss.wrote: truealways (404 on missing). - Search
Memory Request - Search
Memory Response - Search
Pages Request - Search
Pages Response - Search
Result - A search result from hybrid (vector + FTS) search.
- Space
- A space (domain grouping).
- Store
Memory Request - Store
Memory Response