Expand description
Typed wrappers around the v1 RPC command catalog.
Each method in this module corresponds to one entry in the wire spec’s command catalog (§ 6). The wrapper:
- Builds the positional
argsarray per the spec. - Calls
RpcClient::call. - Decodes the
VectorizerValueresponse into a typed Rust value with explicit field handling (noserde_json::from_valuedetour — the wire is MessagePack, not JSON).
Adding a new typed wrapper for a v1 command landed on the server
is mechanical: a new method on RpcClient here, an entry in the
README, and (ideally) a test in tests/rpc_integration.rs.
Structs§
- Admin
Stats - Admin stats response from
admin.stats. - Admin
Status - Admin status response from
admin.status. - Answer
Plan Result - Response from
discovery.build_answer_plan. - Answer
Plan Section - One section inside an answer plan.
- ApiKey
Created - Response from
auth.api_keys_create/auth.api_keys_create_scoped. - Auth
MeResult - Response from
auth.me. - Batch
Delete Result - Response from
vectors.batch_delete. - Batch
Insert Result - Response from
vectors.batch_insert/vectors.batch_insert_texts. - Batch
Item Result - Per-item result inside batch responses.
- Batch
Search Result - One per-query result from
vectors.batch_search. - Batch
Update Result - Response from
vectors.batch_update. - Bulk
Update Metadata RpcResult - Response from
vectors.bulk_update_metadata. - Cleanup
Empty Result - Response from
collections.cleanup_empty(admin-gated on server). - Collection
Info - Collection metadata returned by
collections.get_info. - Compress
Bullet - Response from
discovery.compress_evidence. - Copy
RpcResult - Response from
vectors.copy. - Create
Collection Result - Response from
collections.create. - Delete
ByFilter RpcResult - Response from
vectors.delete_by_filter. - Discover
Edges ForNode Result - Response from
graph.discover_edges_for_node. - Discover
Edges Result - Response from
graph.discover_edges. - Discover
Result - Summary response from
discovery.discover. - Discovery
Chunk - One chunk from
discovery.broad_discovery/discovery.semantic_focus. - Embed
Result - Response from
vectors.embed. - Expand
Queries Result - Response from
discovery.expand_queries. - Graph
Discovery Status - Response from graph discovery stats (
graph.discovery_status). - Move
RpcResult - Response from
vectors.move. - Rebalance
Status - Response from
cluster.rebalance_status— may be idle or active. - Refresh
Token Result - Response from
auth.refresh_token. - Render
Prompt Result - Response from
discovery.render_llm_prompt. - Replication
Configure Result - Response from
replication.configure. - Rotated
ApiKey - Response from
auth.api_keys_rotate. - Scored
Collection - One scored collection from
discovery.score_collections. - Search
Explain Result - Paginated list of vector IDs and data from
vectors.list. Items are rawVectorizerValue::Mapentries containingid,data, etc. Response fromsearch.explain. - Search
Hit - One result from
search.basicorsearch.by_text. - Search
Trace - HNSW traversal trace from
search.explain. - SetExpiry
Result - Response from
vectors.set_expiry. - Slow
Query Config Result - Slow query config from
admin.slow_queries_config. - Validate
Password Result - Response from
auth.validate_password. - Vector
List Result - Response from
vectors.list. - Vector
Write Result - Response from
vectors.insert/vectors.insert_text/vectors.update.