Expand description
Data models for the Vectorizer SDK
Re-exports§
pub use filter::QdrantCondition;pub use filter::QdrantFilter;pub use filter::QdrantGeoBoundingBox;pub use filter::QdrantGeoPoint;pub use filter::QdrantGeoRadius;pub use filter::QdrantMatchValue;pub use filter::QdrantRange;pub use filter::QdrantValuesCount;pub use hybrid_search::*;pub use graph::*;pub use file_upload::*;
Modules§
- file_
upload - File upload models for the Vectorizer SDK
- filter
- Typed Qdrant-compatible filter builder for
delete_by_filterandbulk_update_metadata. - graph
- Graph models for the Vectorizer SDK
- hybrid_
search - Hybrid search models for combining dense and sparse vectors
Structs§
- AddPeer
Request - Request body for
POST /cluster/peers. - AddWorkspace
Request - Request body for
add_workspace(POST /workspace/add). Server readspathandcollection_name. - Answer
Plan - Response from
build_answer_plan. Server:{sections: [...], total_bullets, sources}. - Answer
Plan Request - Request for
build_answer_plan(POST /discovery/build_answer_plan). - ApiKey
- API key returned by
POST /auth/keys. - ApiKey
Scope - Per-collection scope attached to an API key.
- ApiKey
Usage Bucket - One day’s usage bucket from
GET /auth/keys/{id}/usage. - ApiKey
Usage Report - Response body for
GET /auth/keys/{id}/usage. - ApiKey
View - Flattened key view returned by
update_api_key_permissionsandget_api_key_usage. Mirrors the server’sApiKeyView. - Audit
Entry - One entry in the admin audit log returned by
GET /auth/audit. - Audit
Query - Query parameters for
GET /auth/audit. - Backup
Info - Metadata for one server-side backup file returned by
GET /backups. Server shape:{id, name, date, size, collections}. - Batch
Config - Batch configuration
- Batch
Delete Request - Batch delete request
- Batch
Insert Item - One item in a
batch_insert_textscall (POST /batch_insert). - Batch
Insert Report - Aggregate outcome of a
batch_insert_textsorinsert_vectorscall. Server response shape:{collection, inserted, failed, count, results}. - Batch
Insert Request - Batch insert request
- Batch
Response - Batch response.
- Batch
Result Entry - One entry in
BatchResponse::resultsas emitted by the v3/insert_textshandler. Carries the client-provided id alongside the server-assigned vector UUID(s) so callers can round-trip the mapping when they need idempotency by client id. - Batch
Search Query - One query in a
batch_searchcall (POST /batch_search). - Batch
Search Request - Batch search request
- Batch
Search Response - Batch search response
- Batch
Text Request - Batch text request
- Batch
Update Report - Aggregate outcome of a
batch_update_vectorscall. Server response:{collection, count, updated, failed, results}. - Batch
Update Request - Batch update request
- Batch
Vector Update - Batch vector update
- Broad
Discovery Request - Request for
broad_discovery(POST /discovery/broad_discovery). - Broad
Discovery Response - Response from
broad_discovery. Server:{chunks: [{collection, score, content_preview}], count}. - Bulk
Update Report - Aggregate outcome of a
bulk_update_metadatacall againstPOST /collections/{name}/vectors/bulk_update_metadata. - Cleanup
Report - Report returned by
cleanup_empty_collections(DELETE /collections/cleanup). - Collection
- Collection representation
- Collection
Info - Collection information.
- Collection
Progress - Collection progress
- Collection
Stats - Collection statistics
- Collections
Response - Collections list response
- Compress
Evidence Request - Request for
compress_evidence(POST /discovery/compress_evidence). - Compress
Evidence Response - Response from
compress_evidence. Server:{bullets: [{text, source_id, category, score}], count}. - Config
Patch - Patch applied to the server configuration by
POST /config. The server accepts the full config as a JSON object and writes it toconfig.yml. - Config
Snapshot - Server configuration snapshot returned by
GET /configandPOST /config. - Contextual
Search Request - Contextual search request
- Contextual
Search Response - Contextual search response
- Copy
Report - Aggregate outcome of a
copy_vectorscall againstPOST /collections/{src}/vectors/copy. - Create
ApiKey Request - Request body for
create_api_key(POST /auth/keys). - Create
Backup Request - Request body for
create_backup(POST /backups/create). - Create
Collection Response - Create collection response
- Create
Scoped ApiKey Request - Request body for
POST /auth/keys— extended with optional per-collection scopes. - Create
User Backup Request - Request for
create_user_backup(POST /hub/backups). - Create
User Request - Request body for
create_user(POST /auth/users). - Database
Stats - Database statistics
- Delete
ByFilter Report - Aggregate outcome of a
delete_by_filtercall againstPOST /collections/{name}/vectors/delete_by_filter. - Delete
Report - Aggregate outcome of a
delete_vectorscall againstPOST /batch_delete. Mirrors the server contract:{collection, count, deleted, failed, results}. - Embedding
Parameters - Embedding parameters
- Embedding
Request - Embedding request
- Embedding
Response - Embedding response
- Explain
Request - Request body for
explain_search(POST /collections/{name}/explain). - Explain
Response - Response from
explain_search(POST /collections/{name}/explain). - Explain
Trace - Execution trace attached to an
ExplainResponse. - Failover
Report - Report returned by
POST /cluster/failover. - GetSummary
Response - Get summary response
- Health
Status - Health status
- Host
Config - Host configuration for master/replica topology.
- HubApi
KeyValidation - Validation result returned by
POST /hub/validate-key. - Indexing
Progress - Indexing progress
- Indexing
Status - Indexing status.
- Intelligent
Search Request - Intelligent search request
- Intelligent
Search Response - Intelligent search response
- Intelligent
Search Result - Intelligent search result
- JwtToken
- JWT token returned by
POST /auth/refresh. Server shape:{access_token, token_type, expires_in}. - List
Summaries Response - List summaries response
- LlmPrompt
- Response from
render_llm_prompt. Server:{prompt, length, estimated_tokens}. - LogEntry
- One log entry returned by
GET /logs. - Logs
Query - Query parameters for
get_logs(GET /logs). - Move
Report - Aggregate outcome of a
move_to_collectioncall againstPOST /collections/{src}/vectors/move(issue #265). - Multi
Collection Search Request - Multi-collection search request
- Multi
Collection Search Response - Multi-collection search response
- Native
Snapshot Info - Native snapshot metadata returned by
create_native_snapshotand each entry inlist_native_snapshots. - Password
Policy Report - Password policy report returned by
POST /auth/validate-password. Server shape:{valid, errors, strength, strength_label}. - Peer
Info - Information about a newly added cluster peer.
- Promote
Readme Request - Request for
promote_readme(POST /discovery/promote_readme).chunksis an array ofScoredChunk-compatible objects. - Promote
Readme Response - Response from
promote_readme. Server:{promoted_chunks: [...], count}. - Quota
Info - Quota information returned by
GET /hub/usage/quota. - RawVector
Insert - One vector entry in an
insert_vectorscall (POST /insert_vectors). - Read
Options - Options that can be passed to read operations for per-operation override.
- Rebalance
Job - Job descriptor returned by
POST /cluster/rebalance. - Reencode
Job - Job descriptor returned by
reencode_collectionagainstPOST /collections/{name}/reencode. - Reindex
Job - Job descriptor returned by
reindex_collection(POST /collections/{name}/reindex). - Reindex
Params - Parameters for
reindex_collection(POST /collections/{name}/reindex). - Render
Prompt Request - Request for
render_llm_prompt(POST /discovery/render_llm_prompt). - Replica
Info - Information about a replica node
- Replica
List Response - Response for listing replicas
- Replication
Config - Request body for
configure_replication(POST /replication/configure). - Replication
Stats - Statistics for replication status
- Replication
Status - Replication status returned by
GET /replication/status. Server:{role, enabled, stats?, replicas?}. - Replication
Status Response - Response for replication status endpoint
- Restore
Backup Request - Request body for
restore_backup(POST /backups/restore). - Restore
User Backup Request - Request for
restore_user_backup(POST /hub/backups/restore). - Resync
Job - Report returned by
POST /cluster/replicas/{id}/resync. - Rotated
Key - Response from
POST /auth/keys/{id}/rotate. - Route
Stats - Per-route latency + QPS line in
RuntimeMetrics.throughput_by_route. - Runtime
Metrics - Runtime metrics snapshot returned by
GET /metrics/runtime(phase25). Single JSON object refreshed once per second on the server. Every field defaults so the SDK tolerates older servers that do not emit the route. - Search
ByFile Request - Request for
search_by_file(POST /collections/{name}/search/file). - Search
Response - Search response.
- Search
Result - Search result
- Semantic
Focus Request - Request for
semantic_focus(POST /discovery/semantic_focus). - Semantic
Focus Response - Response from
semantic_focus. Server:{chunks: [...], count}. - Semantic
Search Request - Semantic search request
- Semantic
Search Response - Semantic search response
- Server
Status - Server status returned by
GET /status. Server:{online, version, uptime_seconds, collections_count}. - Slow
Query Config - Slow-query ring-buffer configuration returned by
POST /slow_queries/config. - Slow
Query Entry - One entry in the slow-query ring buffer returned by
GET /slow_queries. - Stats
- Server statistics returned by
GET /stats. - Summarize
Context Request - Summarize context request
- Summarize
Context Response - Summarize context response
- Summarize
Text Request - Summarize text request
- Summarize
Text Response - Summarize text response
- Summary
Info - Summary info
- Token
Introspection - RFC 7662 token introspection response from
POST /auth/introspect. - Token
Scope - Per-collection permission scope sent in
CreateScopedApiKeyRequest. - Update
ApiKey Permissions Request - Request body for
PUT /auth/keys/{id}/permissions. - Update
Vector Request - Request body for
update_vector(POST /update). - Upload
User Backup Request - Request for
upload_user_backup(POST /hub/backups/upload). - Usage
Statistics - Usage statistics returned by
GET /hub/usage/statistics. - User
- User record returned by auth endpoints.
Server shape:
{user_id, username, roles}. - User
Backup - A user-scoped backup entry returned by
GET /hub/backups. Mirrorsvectorizer::hub::backup::UserBackupInfo. - Vector
- Vector representation
- Vector
Count Sample - One sample in the per-collection vector-count history (phase25 §6).
- Vector
OpResult - Per-vector outcome for a
delete_vectorsormove_to_collectioncall. Thestatusstring is one of: - Vector
Page - Paginated vector listing returned by
GET /collections/{name}/vectors. - Vector
Update - One entry in a
batch_update_vectorscall (POST /batch_update). - WalSnapshot
- WAL state surfaced inside
RuntimeMetrics.wal(phase25 §3). - Workspace
Config - Workspace config entry returned by
GET /workspace/configandGET /workspace/list.
Enums§
- Read
Preference - Read preference for routing read operations. Similar to MongoDB’s read preferences.
- Replica
Status - Status of a replica node
- Similarity
Metric - Vector similarity metrics
- Summarization
Method - Summarization methods