{"openapi":"3.1.0","info":{"title":"API Reference","version":"1.0.0"},"paths":{"/collections/{collection_name}":{"get":{"operationId":"get-collection","summary":"Get collection details","description":"Retrieves parameters from the specified collection.","tags":["subpackage_collections"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to retrieve","required":true,"schema":{"type":"string"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Collections_get_collection_Response_200"}}}}}},"put":{"operationId":"create-collection","summary":"Create a collection","description":"Creates a new collection with the given parameters.","tags":["subpackage_collections"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the new collection","required":true,"schema":{"type":"string"}},{"name":"timeout","in":"query","description":"Wait for operation commit timeout in seconds.\nIf timeout is reached - request will return with service error.\n","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Collections_create_collection_Response_200"}}}}},"requestBody":{"description":"Parameters of a new collection","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCollection"}}}}},"delete":{"operationId":"delete-collection","summary":"Delete a collection","description":"Drops the specified collection and all associated data in it.","tags":["subpackage_collections"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to delete","required":true,"schema":{"type":"string"}},{"name":"timeout","in":"query","description":"Wait for operation commit timeout in seconds.\nIf timeout is reached - request will return with service error.\n","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Collections_delete_collection_Response_200"}}}}}},"patch":{"operationId":"update-collection","summary":"Update collection parameters","description":"Updates the parameters of the specified collection.","tags":["subpackage_collections"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to update","required":true,"schema":{"type":"string"}},{"name":"timeout","in":"query","description":"Wait for operation commit timeout in seconds.\nIf timeout is reached - request will return with service error.\n","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Collections_update_collection_Response_200"}}}}},"requestBody":{"description":"New parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCollection"}}}}}},"/collections":{"get":{"operationId":"get-collections","summary":"List all collections","description":"Returns a list of all existing collections.","tags":["subpackage_collections"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Collections_get_collections_Response_200"}}}}}}},"/collections/{collection_name}/exists":{"get":{"operationId":"collection-exists","summary":"Check collection existence","description":"Checks whether the specified collection exists.","tags":["subpackage_collections"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Collections_collection_exists_Response_200"}}}}}}},"/collections/{collection_name}/optimizations":{"get":{"operationId":"get-optimizations","summary":"Get optimization progress","description":"Get progress of ongoing and completed optimizations for a collection","tags":["subpackage_collections"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"with","in":"query","description":"Comma-separated list of optional fields to include in the response.\nPossible values: queued, completed, idle_segments.","required":false,"schema":{"type":"string"}},{"name":"completed_limit","in":"query","description":"Maximum number of completed optimizations to return.\nIgnored if `completed` is not in the `with` parameter.","required":false,"schema":{"type":"integer","default":16}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Collections_get_optimizations_Response_200"}}}}}}},"/collections/{collection_name}/points":{"post":{"operationId":"get-points","summary":"Retrieve points","description":"Retrieves all details from multiple points.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to retrieve from","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_get_points_Response_200"}}}}},"requestBody":{"description":"List of points to retrieve","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PointRequest"}}}}},"put":{"operationId":"upsert-points","summary":"Upsert points","description":"Performs the insert + update action on specified points. Any point with an existing {id} will be overwritten.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to update from","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"define ordering guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/WriteOrdering"}},{"name":"timeout","in":"query","description":"Timeout for the operation","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_upsert_points_Response_200"}}}}},"requestBody":{"description":"Operation to perform on points","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PointInsertOperations"}}}}}},"/collections/{collection_name}/points/{id}":{"get":{"operationId":"get-point","summary":"Retrieve a point","description":"Retrieves all details from a single point.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to retrieve from","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","description":"Id of the point","required":true,"schema":{"$ref":"#/components/schemas/ExtendedPointId"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_get_point_Response_200"}}}}}}},"/collections/{collection_name}/points/delete":{"post":{"operationId":"delete-points","summary":"Delete points","description":"Deletes specified points from the collection.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to delete from","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"define ordering guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/WriteOrdering"}},{"name":"timeout","in":"query","description":"Timeout for the operation","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_delete_points_Response_200"}}}}},"requestBody":{"description":"Operation to perform on points","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PointsSelector"}}}}}},"/collections/{collection_name}/points/vectors":{"put":{"operationId":"update-vectors","summary":"Update vectors","description":"Updates specified vectors on points. All other unspecified vectors will stay intact.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to update from","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"define ordering guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/WriteOrdering"}},{"name":"timeout","in":"query","description":"Timeout for the operation","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_update_vectors_Response_200"}}}}},"requestBody":{"description":"Update named vectors on points","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVectors"}}}}}},"/collections/{collection_name}/points/vectors/delete":{"post":{"operationId":"delete-vectors","summary":"Delete vectors","description":"Deletes specified vectors from points. All other unspecified vectors will stay intact.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to delete from","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"define ordering guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/WriteOrdering"}},{"name":"timeout","in":"query","description":"Timeout for the operation","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_delete_vectors_Response_200"}}}}},"requestBody":{"description":"Delete named vectors from points","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteVectors"}}}}}},"/collections/{collection_name}/points/payload":{"post":{"operationId":"set-payload","summary":"Set payload","description":"Sets payload values for specified points.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to set from","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"define ordering guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/WriteOrdering"}},{"name":"timeout","in":"query","description":"Timeout for the operation","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_set_payload_Response_200"}}}}},"requestBody":{"description":"Set payload on points","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetPayload"}}}}},"put":{"operationId":"overwrite-payload","summary":"Overwrite payload","description":"Replaces the entire payload of a specified point with a new payload.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to set from","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"define ordering guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/WriteOrdering"}},{"name":"timeout","in":"query","description":"Timeout for the operation","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_overwrite_payload_Response_200"}}}}},"requestBody":{"description":"Payload and points selector","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetPayload"}}}}}},"/collections/{collection_name}/points/payload/delete":{"post":{"operationId":"delete-payload","summary":"Delete payload","description":"Deletes a specified key payload for points.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to delete from","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"define ordering guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/WriteOrdering"}},{"name":"timeout","in":"query","description":"Timeout for the operation","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_delete_payload_Response_200"}}}}},"requestBody":{"description":"delete payload on points","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletePayload"}}}}}},"/collections/{collection_name}/points/payload/clear":{"post":{"operationId":"clear-payload","summary":"Clear payload","description":"Removes the entire payload for specified points.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to clear payload from","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"define ordering guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/WriteOrdering"}},{"name":"timeout","in":"query","description":"Timeout for the operation","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_clear_payload_Response_200"}}}}},"requestBody":{"description":"clear payload on points","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PointsSelector"}}}}}},"/collections/{collection_name}/points/batch":{"post":{"operationId":"batch-update","summary":"Batch update points","description":"Batch updates points, including their respective vectors and payloads.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to apply operations on","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"define ordering guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/WriteOrdering"}},{"name":"timeout","in":"query","description":"Timeout for the operation","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_batch_update_Response_200"}}}}},"requestBody":{"description":"update operations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOperations"}}}}}},"/collections/{collection_name}/points/scroll":{"post":{"operationId":"scroll-points","summary":"Scroll points","description":"Returns all points in a page-by-page manner.\nBy default, all resulting points are sorted by {id}.\nTo query the next page specify the last {id} in the offset field.\nAdditionally, you can specify filters and sorting options.\n","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to retrieve from","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_scroll_points_Response_200"}}}}},"requestBody":{"description":"Pagination and filter parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScrollRequest"}}}}}},"/collections/{collection_name}/points/count":{"post":{"operationId":"count-points","summary":"Count points","description":"Counts the number of points that match a specified filtering condition.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to count in","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_count_points_Response_200"}}}}},"requestBody":{"description":"Request counts of points which matches given filtering condition","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountRequest"}}}}}},"/collections/{collection_name}/facet":{"post":{"operationId":"facet","summary":"Payload field facets","description":"Retrieves facets for the specified payload field.","tags":["subpackage_points"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to facet in","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Points_facet_Response_200"}}}}},"requestBody":{"description":"Request counts of points for each unique value of a payload key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FacetRequest"}}}}}},"/collections/{collection_name}/points/search":{"post":{"operationId":"points","summary":"Search points","description":"Retrieves the closest points based on vector similarity and given filtering conditions.","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to search in","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_points_Response_200"}}}}},"requestBody":{"description":"Search request with optional filtering","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequest"}}}}}},"/collections/{collection_name}/points/search/batch":{"post":{"operationId":"batch-points","summary":"Search batch points","description":"Retrieves the closest points in batches based on vector similarity and given filtering conditions.","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to search in","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_batchPoints_Response_200"}}}}},"requestBody":{"description":"Search batch request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchRequestBatch"}}}}}},"/collections/{collection_name}/points/search/groups":{"post":{"operationId":"point-groups","summary":"Search point groups","description":"Retrieves the closest points based on vector similarity and given filtering conditions, grouped by a given payload field.","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to search in","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_pointGroups_Response_200"}}}}},"requestBody":{"description":"Search request with optional filtering, grouped by a given payload field","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchGroupsRequest"}}}}}},"/collections/{collection_name}/points/recommend":{"post":{"operationId":"recommend-points","summary":"Recommend points","description":"Retrieves points that are closer to stored positive examples and further from negative examples.","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to search in","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_recommend_points_Response_200"}}}}},"requestBody":{"description":"Request points based on positive and negative examples.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecommendRequest"}}}}}},"/collections/{collection_name}/points/recommend/batch":{"post":{"operationId":"recommend-batch-points","summary":"Recommend batch points","description":"Retrieves points in batches that are closer to stored positive examples and further from negative examples.","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to search in","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_recommend_batch_points_Response_200"}}}}},"requestBody":{"description":"Request points based on positive and negative examples.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecommendRequestBatch"}}}}}},"/collections/{collection_name}/points/recommend/groups":{"post":{"operationId":"recommend-point-groups","summary":"Recommend point groups","description":"Retrieves points that are closer to stored positive examples and further from negative examples. Results are grouped by the specified payload field.","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to search in","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_recommend_point_groups_Response_200"}}}}},"requestBody":{"description":"Request points based on positive and negative examples, grouped by a payload field.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecommendGroupsRequest"}}}}}},"/collections/{collection_name}/points/discover":{"post":{"operationId":"discover-points","summary":"Discover points","description":"Retrieves the most similar points to a given target, constrained by the provided context.\nContext Search: When only the context is provided (without a target), pairs of points are used to generate a loss that guides the search towards the area where most positive examples overlap. The score minimizes finding points closer to a negative example than to a positive example. The maximum score a point can achieve is 0.0, meaning many points may have a score of 0.0.\nTarget Search: When a target is provided (with or without context), the score consists of two parts: the integer part represents the rank with respect to the context, and the decimal part relates to the distance to the target. The context score for each pair is +1 if the point is closer to a positive example than to a negative example, and -1 otherwise.\n","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to search in","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_discover_points_Response_200"}}}}},"requestBody":{"description":"Request points based on {positive, negative} pairs of examples, and/or a target","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverRequest"}}}}}},"/collections/{collection_name}/points/discover/batch":{"post":{"operationId":"discover-batch-points","summary":"Discover batch points","description":"Retrieves points in batches based on the target and/or positive and negative example pairs.","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to search in","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_discover_batch_points_Response_200"}}}}},"requestBody":{"description":"Batch request points based on { positive, negative } pairs of examples, and/or a target.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoverRequestBatch"}}}}}},"/collections/{collection_name}/points/query":{"post":{"operationId":"query-points","summary":"Query points","description":"Universally query points. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to query","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_query_points_Response_200"}}}}},"requestBody":{"description":"Describes the query to make to the collection","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRequest"}}}}}},"/collections/{collection_name}/points/query/batch":{"post":{"operationId":"query-batch-points","summary":"Query points in batch","description":"Universally query points in batch. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to query","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_query_batch_points_Response_200"}}}}},"requestBody":{"description":"Describes the queries to make to the collection","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRequestBatch"}}}}}},"/collections/{collection_name}/points/query/groups":{"post":{"operationId":"query-points-groups","summary":"Query point groups","description":"Universally query points and group results by a specified payload field. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to query","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_query_points_groups_Response_200"}}}}},"requestBody":{"description":"Describes the query to make to the collection","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryGroupsRequest"}}}}}},"/collections/{collection_name}/points/search/matrix/pairs":{"post":{"operationId":"matrix-pairs","summary":"Distance matrix pairs","description":"Retrieves sparse matrix of pairwise distances between points sampled from the collection. Output is a list of pairs of points and their distances.","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to search in","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_matrixPairs_Response_200"}}}}},"requestBody":{"description":"Search matrix request with optional filtering","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchMatrixRequest"}}}}}},"/collections/{collection_name}/points/search/matrix/offsets":{"post":{"operationId":"matrix-offsets","summary":"Distance matrix offsets","description":"Retrieves sparse matrix of pairwise distances between points sampled from the collection. Output is a form of row and column offsets and list of distances.","tags":["subpackage_search"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to search in","required":true,"schema":{"type":"string"}},{"name":"consistency","in":"query","description":"Define read consistency guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/ReadConsistency"}},{"name":"timeout","in":"query","description":"If set, overrides global timeout for this request. Unit is seconds.","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search_matrixOffsets_Response_200"}}}}},"requestBody":{"description":"Search matrix request with optional filtering","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchMatrixRequest"}}}}}},"/collections/{collection_name}/index":{"put":{"operationId":"create-field-index","summary":"Create payload index","description":"Creates a payload index for a field in the specified collection.","tags":["subpackage_indexes"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"define ordering guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/WriteOrdering"}},{"name":"timeout","in":"query","description":"Timeout for the operation","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Indexes_create_field_index_Response_200"}}}}},"requestBody":{"description":"Field name","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFieldIndex"}}}}}},"/collections/{collection_name}/index/{field_name}":{"delete":{"operationId":"delete-field-index","summary":"Delete payload index","description":"Deletes a payload index for a field in the specified collection.","tags":["subpackage_indexes"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"field_name","in":"path","description":"Name of the field where to delete the index","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen","required":false,"schema":{"type":"boolean"}},{"name":"ordering","in":"query","description":"define ordering guarantees for the operation","required":false,"schema":{"$ref":"#/components/schemas/WriteOrdering"}},{"name":"timeout","in":"query","description":"Timeout for the operation","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Indexes_delete_field_index_Response_200"}}}}}}},"/collections/{collection_name}/snapshots":{"get":{"operationId":"list-snapshots","summary":"List all snapshots (collection)","description":"Retrieves a list of all snapshots for a specified collection.","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_list_snapshots_Response_200"}}}}}},"post":{"operationId":"create-snapshot","summary":"Create a snapshot (collection)","description":"Creates a new snapshot for a specified collection.","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection for which to create a snapshot","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.","required":false,"schema":{"type":"boolean"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_create_snapshot_Response_200"}}}}}}},"/collections/{collection_name}/snapshots/upload":{"post":{"operationId":"recover-from-uploaded-snapshot","summary":"Recover from an uploaded snapshot (collection)","description":"Recovers local collection data from an uploaded snapshot. This will overwrite any collection data stored on the node. If the collection does not exist, it will be created.","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.","required":false,"schema":{"type":"boolean"}},{"name":"priority","in":"query","description":"Defines source of truth for snapshot recovery","required":false,"schema":{"$ref":"#/components/schemas/SnapshotPriority"}},{"name":"checksum","in":"query","description":"Optional SHA256 checksum to verify snapshot integrity before recovery.","required":false,"schema":{"type":"string"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_recover_from_uploaded_snapshot_Response_200"}}}}},"requestBody":{"description":"Snapshot to recover from","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"snapshot":{"type":"string","format":"binary"}}}}}}}},"/collections/{collection_name}/snapshots/recover":{"put":{"operationId":"recover-from-snapshot","summary":"Recover from a snapshot (collection)","description":"Recovers local collection data from a snapshot. This will overwrite any collection data stored on the node. If the collection does not exist, it will be created.","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.","required":false,"schema":{"type":"boolean"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_recover_from_snapshot_Response_200"}}}}},"requestBody":{"description":"Snapshot to recover from","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotRecover"}}}}}},"/collections/{collection_name}/snapshots/{snapshot_name}":{"get":{"operationId":"get-snapshot","summary":"Download a snapshot (collection)","description":"Downloads the specified snapshot file from a collection.","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"snapshot_name","in":"path","description":"Name of the snapshot to download","required":true,"schema":{"type":"string"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Snapshot file","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"delete":{"operationId":"delete-snapshot","summary":"Delete a snapshot (collection)","description":"Deletes the specified snapshot for a collection.","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection for which to delete a snapshot","required":true,"schema":{"type":"string"}},{"name":"snapshot_name","in":"path","description":"Name of the snapshot to delete","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.","required":false,"schema":{"type":"boolean"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_delete_snapshot_Response_200"}}}}}}},"/snapshots":{"get":{"operationId":"list-full-snapshots","summary":"List all snapshots (storage)","description":"Returns a list of all snapshots for the entire storage.","tags":["subpackage_snapshots"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_list_full_snapshots_Response_200"}}}}}},"post":{"operationId":"create-full-snapshot","summary":"Create a snapshot (storage)","description":"Creates a new snapshot of the entire storage.","tags":["subpackage_snapshots"],"parameters":[{"name":"wait","in":"query","description":"If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.","required":false,"schema":{"type":"boolean"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_create_full_snapshot_Response_200"}}}}}}},"/snapshots/{snapshot_name}":{"get":{"operationId":"get-full-snapshot","summary":"Download a snapshot (storage)","description":"Downloads the specified snapshot of the entire storage as a file.","tags":["subpackage_snapshots"],"parameters":[{"name":"snapshot_name","in":"path","description":"Name of the snapshot to download","required":true,"schema":{"type":"string"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Snapshot file","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"delete":{"operationId":"delete-full-snapshot","summary":"Delete a snapshot (storage)","description":"Deletes the specified snapshot of the entire storage.","tags":["subpackage_snapshots"],"parameters":[{"name":"snapshot_name","in":"path","description":"Name of the full snapshot to delete","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.","required":false,"schema":{"type":"boolean"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_delete_full_snapshot_Response_200"}}}}}}},"/collections/{collection_name}/shards/{shard_id}/snapshot":{"get":{"operationId":"stream-shard-snapshot","summary":"Download shard snapshot","description":"Stream the current state of a shard as a snapshot file","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"shard_id","in":"path","description":"Id of the shard","required":true,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Snapshot file","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}}},"/collections/{collection_name}/shards/{shard_id}/snapshots/upload":{"post":{"operationId":"recover-shard-from-uploaded-snapshot","summary":"Recover from an uploaded snapshot (shard)","description":"Recovers the shard of a local collection from an uploaded snapshot. This will overwrite any collection data, which is stored in this shard.","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"shard_id","in":"path","description":"Id of the shard to recover","required":true,"schema":{"type":"integer"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.","required":false,"schema":{"type":"boolean"}},{"name":"priority","in":"query","description":"Defines source of truth for snapshot recovery","required":false,"schema":{"$ref":"#/components/schemas/SnapshotPriority"}},{"name":"checksum","in":"query","description":"Optional SHA256 checksum to verify snapshot integrity before recovery.","required":false,"schema":{"type":"string"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_recover_shard_from_uploaded_snapshot_Response_200"}}}}},"requestBody":{"description":"Snapshot to recover from","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"snapshot":{"type":"string","format":"binary"}}}}}}}},"/collections/{collection_name}/shards/{shard_id}/snapshots/recover":{"put":{"operationId":"recover-shard-from-snapshot","summary":"Recover from a snapshot (shard)","description":"Recovers the shard of a local collection from a snapshot. This will overwrite any collection data, which is stored in this shard.","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"shard_id","in":"path","description":"Id of the shard to recover","required":true,"schema":{"type":"integer"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.","required":false,"schema":{"type":"boolean"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_recover_shard_from_snapshot_Response_200"}}}}},"requestBody":{"description":"Snapshot to recover from","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShardSnapshotRecover"}}}}}},"/collections/{collection_name}/shards/{shard_id}/snapshots":{"get":{"operationId":"list-shard-snapshots","summary":"List all snapshots (shard)","description":"Returns a list of all snapshots for a shard from a collection.","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"shard_id","in":"path","description":"Id of the shard","required":true,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_list_shard_snapshots_Response_200"}}}}}},"post":{"operationId":"create-shard-snapshot","summary":"Create a snapshot (shard)","description":"Creates a new snapshot of a shard from a collection.","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection for which to create a snapshot","required":true,"schema":{"type":"string"}},{"name":"shard_id","in":"path","description":"Id of the shard","required":true,"schema":{"type":"integer"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.","required":false,"schema":{"type":"boolean"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_create_shard_snapshot_Response_200"}}}}}}},"/collections/{collection_name}/shards/{shard_id}/snapshots/{snapshot_name}":{"get":{"operationId":"get-shard-snapshot","summary":"Download a snapshot (shard)","description":"Downloads the specified snapshot of a shard from a collection as a file.","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"shard_id","in":"path","description":"Id of the shard","required":true,"schema":{"type":"integer"}},{"name":"snapshot_name","in":"path","description":"Name of the snapshot to download","required":true,"schema":{"type":"string"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Snapshot file","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"delete":{"operationId":"delete-shard-snapshot","summary":"Delete a snapshot (shard)","description":"Deletes the specified snapshot of a shard from a collection.","tags":["subpackage_snapshots"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection for which to delete a snapshot","required":true,"schema":{"type":"string"}},{"name":"shard_id","in":"path","description":"Id of the shard","required":true,"schema":{"type":"integer"}},{"name":"snapshot_name","in":"path","description":"Name of the snapshot to delete","required":true,"schema":{"type":"string"}},{"name":"wait","in":"query","description":"If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.","required":false,"schema":{"type":"boolean"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Snapshots_delete_shard_snapshot_Response_200"}}}}}}},"/collections/aliases":{"post":{"operationId":"update-aliases","summary":"Update collection aliases","description":"Updates aliases for the specified collections.","tags":["subpackage_aliases"],"parameters":[{"name":"timeout","in":"query","description":"Wait for operation commit timeout in seconds.\nIf timeout is reached - request will return with service error.\n","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Aliases_update_aliases_Response_200"}}}}},"requestBody":{"description":"Alias update operations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeAliasesOperation"}}}}}},"/collections/{collection_name}/aliases":{"get":{"operationId":"get-collection-aliases","summary":"List collection aliases","description":"Retrieves a list of all aliases for the specified collection.","tags":["subpackage_aliases"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection","required":true,"schema":{"type":"string"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Aliases_get_collection_aliases_Response_200"}}}}}}},"/aliases":{"get":{"operationId":"get-collections-aliases","summary":"List all aliases","description":"Retrieves a list of all existing aliases.","tags":["subpackage_aliases"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Aliases_get_collections_aliases_Response_200"}}}}}}},"/cluster":{"get":{"operationId":"cluster-status","summary":"Check cluster status","description":"Returns information about the cluster's current state and composition.","tags":["subpackage_distributed"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Distributed_cluster_status_Response_200"}}}}}}},"/collections/{collection_name}/shards":{"get":{"operationId":"list-shard-keys","summary":"List shard keys","tags":["subpackage_distributed"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to list shard keys for","required":true,"schema":{"type":"string"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Distributed_list_shard_keys_Response_200"}}}}}},"put":{"operationId":"create-shard-key","summary":"Create a shard key","description":"Creates one or more shard keys for a specified collection.","tags":["subpackage_distributed"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to create shards for","required":true,"schema":{"type":"string"}},{"name":"timeout","in":"query","description":"Wait for operation commit timeout in seconds.\nIf timeout is reached - request will return with service error.\n","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Distributed_create_shard_key_Response_200"}}}}},"requestBody":{"description":"Shard key configuration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateShardingKey"}}}}}},"/collections/{collection_name}/shards/delete":{"post":{"operationId":"delete-shard-key","summary":"Delete a shard key","description":"Deletes one or more shard keys for a specified collection.","tags":["subpackage_distributed"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to create shards for","required":true,"schema":{"type":"string"}},{"name":"timeout","in":"query","description":"Wait for operation commit timeout in seconds.\nIf timeout is reached - request will return with service error.\n","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Distributed_delete_shard_key_Response_200"}}}}},"requestBody":{"description":"Select shard key to delete","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DropShardingKey"}}}}}},"/cluster/telemetry":{"get":{"operationId":"cluster-telemetry","summary":"Collect cluster telemetry data","description":"Get telemetry data, from the point of view of the cluster. This includes peers info, collections info, shard transfers, and resharding status","tags":["subpackage_distributed"],"parameters":[{"name":"details_level","in":"query","description":"The level of detail to include in the response","required":false,"schema":{"type":"integer"}},{"name":"timeout","in":"query","description":"Timeout for this request","required":false,"schema":{"type":"integer","default":60}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Distributed_cluster_telemetry_Response_200"}}}}}}},"/cluster/recover":{"post":{"operationId":"recover-current-peer","summary":"Recover cluster state","description":"Attempts to restore or synchronize the node's current state with that of its peers.","tags":["subpackage_distributed"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Distributed_recover_current_peer_Response_200"}}}}}}},"/cluster/peer/{peer_id}":{"delete":{"operationId":"remove-peer","summary":"Remove peer from cluster","description":"Attempts to remove the node from the cluster. This endpoint returns an error if the node (peer) has shards on it.","tags":["subpackage_distributed"],"parameters":[{"name":"peer_id","in":"path","description":"Id of the peer","required":true,"schema":{"type":"integer"}},{"name":"timeout","in":"query","description":"Wait for operation commit timeout in seconds.\nIf timeout is reached - request will return with service error.\n","required":false,"schema":{"type":"integer"}},{"name":"force","in":"query","description":"If true - removes peer even if it has shards/replicas on it.","required":false,"schema":{"type":"boolean","default":false}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Distributed_remove_peer_Response_200"}}}}}}},"/collections/{collection_name}/cluster":{"get":{"operationId":"collection-cluster-info","summary":"Retrieve cluster details","description":"Retrieves cluster details for a specified collection.","tags":["subpackage_distributed"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection to retrieve the cluster info for","required":true,"schema":{"type":"string"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Distributed_collection_cluster_info_Response_200"}}}}}},"post":{"operationId":"update-collection-cluster","summary":"Update cluster setup","description":"Updates the cluster configuration for a specified collection.","tags":["subpackage_distributed"],"parameters":[{"name":"collection_name","in":"path","description":"Name of the collection on which to to apply the cluster update operation","required":true,"schema":{"type":"string"}},{"name":"timeout","in":"query","description":"Wait for operation commit timeout in seconds.\nIf timeout is reached - request will return with service error.\n","required":false,"schema":{"type":"integer"}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Distributed_update_collection_cluster_Response_200"}}}}},"requestBody":{"description":"Collection cluster update operations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClusterOperations"}}}}}},"/telemetry":{"get":{"operationId":"telemetry","summary":"Collect telemetry data","description":"Collects telemetry data, such as: application info, system info, collection info, cluster info, configs and statistics.","tags":["subpackage_service"],"parameters":[{"name":"anonymize","in":"query","description":"If true, anonymize result","required":false,"schema":{"type":"boolean"}},{"name":"details_level","in":"query","description":"Level of details in telemetry data. Minimal level is 0, maximal is infinity","required":false,"schema":{"type":"integer"}},{"name":"timeout","in":"query","description":"Timeout for this request","required":false,"schema":{"type":"integer","default":60}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Service_telemetry_Response_200"}}}}}}},"/":{"get":{"operationId":"root","summary":"Retrieve instance details","description":"Returns details about the running Qdrant instance.","tags":["subpackage_service"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Qdrant server version information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionInfo"}}}}}}},"/metrics":{"get":{"operationId":"metrics","summary":"Collect Prometheus metrics data","description":"Collect metrics data, such as: application info, collection info, cluster info and statistics.","tags":["subpackage_service"],"parameters":[{"name":"anonymize","in":"query","description":"If true, anonymize result","required":false,"schema":{"type":"boolean"}},{"name":"timeout","in":"query","description":"Timeout for this request","required":false,"schema":{"type":"integer","default":60}},{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}}}},"/healthz":{"get":{"operationId":"healthz","summary":"Kubernetes health check","description":"Checks the health of individual instance.","tags":["subpackage_service"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}}}},"/livez":{"get":{"operationId":"livez","summary":"Kubernetes liveness probe","description":"Monitors the container responsiveness and alerts in case of failure.","tags":["subpackage_service"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}}}},"/readyz":{"get":{"operationId":"readyz","summary":"Kubernetes readiness probe","description":"Checks the instance to see when it can start accepting traffic.","tags":["subpackage_service"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"type":"object","properties":{}}}}}}}},"/locks":{"get":{"operationId":"check-write-protection","summary":"Check write protection","description":"Retrieves the current lock setting. If write is false, all write operations and collection creation are restricted.","tags":["subpackage_service"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}}},"post":{"operationId":"set-write-protection","summary":"Set write protection","description":"Restricts all write operations and forbids collection creation. This endpoint also returns previous lock options.","tags":["subpackage_service"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"}}}},"/issues":{"get":{"operationId":"get-issues","summary":"Report issues","description":"Retrieves a report of performance issues and configuration suggestions.","tags":["subpackage_beta"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Beta_get_issues_Response_200"}}}}}},"delete":{"operationId":"clear-issues","summary":"Clear issues","description":"Removes all issues reported so far.","tags":["subpackage_beta"],"parameters":[{"name":"api-key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Beta_clear_issues_Response_200"}}}}}}}},"servers":[{"url":"http://localhost:6333"},{"url":"https://localhost:6333"}],"components":{"schemas":{"HardwareUsage":{"type":"object","properties":{"cpu":{"type":"integer"},"payload_io_read":{"type":"integer"},"payload_io_write":{"type":"integer"},"payload_index_io_read":{"type":"integer"},"payload_index_io_write":{"type":"integer"},"vector_io_read":{"type":"integer"},"vector_io_write":{"type":"integer"}},"required":["cpu","payload_io_read","payload_io_write","payload_index_io_read","payload_index_io_write","vector_io_read","vector_io_write"],"description":"Usage of the hardware resources, spent to process the request","title":"HardwareUsage"},"UsageHardware":{"oneOf":[{"$ref":"#/components/schemas/HardwareUsage"},{"description":"Any type"}],"title":"UsageHardware"},"ModelUsage":{"type":"object","properties":{"tokens":{"type":"integer","format":"uint64"}},"required":["tokens"],"title":"ModelUsage"},"InferenceUsage":{"type":"object","properties":{"models":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ModelUsage"}}},"required":["models"],"title":"InferenceUsage"},"UsageInference":{"oneOf":[{"$ref":"#/components/schemas/InferenceUsage"},{"description":"Any type"}],"title":"UsageInference"},"Usage":{"type":"object","properties":{"hardware":{"$ref":"#/components/schemas/UsageHardware"},"inference":{"$ref":"#/components/schemas/UsageInference"}},"description":"Usage of the hardware resources, spent to process the request","title":"Usage"},"CollectionsCollectionNameGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameGetResponsesContentApplicationJsonSchemaUsage"},"CollectionStatus":{"type":"string","enum":["green","yellow","grey","red"],"description":"Current state of the collection. `Green` - all good. `Yellow` - optimization is running, 'Grey' - optimizations are possible but not triggered, `Red` - some operations failed and was not recovered","title":"CollectionStatus"},"OptimizersStatus0":{"type":"string","enum":["ok"],"description":"Optimizers are reporting as expected","title":"OptimizersStatus0"},"OptimizersStatus1":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"],"description":"Something wrong happened with optimizers","title":"OptimizersStatus1"},"OptimizersStatus":{"oneOf":[{"$ref":"#/components/schemas/OptimizersStatus0"},{"$ref":"#/components/schemas/OptimizersStatus1"}],"description":"Current state of the collection","title":"OptimizersStatus"},"CollectionWarning":{"type":"object","properties":{"message":{"type":"string","description":"Warning message"}},"required":["message"],"title":"CollectionWarning"},"Distance":{"type":"string","enum":["Cosine","Euclid","Dot","Manhattan"],"description":"Type of internal tags, build from payload Distance function types used to compare vectors","title":"Distance"},"HnswConfigDiff":{"type":"object","properties":{"m":{"type":["integer","null"],"description":"Number of edges per node in the index graph. Larger the value - more accurate the search, more space required."},"ef_construct":{"type":["integer","null"],"description":"Number of neighbours to consider during the index building. Larger the value - more accurate the search, more time required to build the index."},"full_scan_threshold":{"type":["integer","null"],"description":"Minimal size threshold (in KiloBytes) below which full-scan is preferred over HNSW search. This measures the total size of vectors being queried against. When the maximum estimated amount of points that a condition satisfies is smaller than `full_scan_threshold_kb`, the query planner will use full-scan search instead of HNSW index traversal for better performance. Note: 1Kb = 1 vector of size 256"},"max_indexing_threads":{"type":["integer","null"],"description":"Number of parallel threads used for background index building. If 0 - automatically select from 8 to 16. Best to keep between 8 and 16 to prevent likelihood of building broken/inefficient HNSW graphs. On small CPUs, less threads are used."},"on_disk":{"type":["boolean","null"],"description":"Store HNSW index on disk. If set to false, the index will be stored in RAM. Default: false"},"payload_m":{"type":["integer","null"],"description":"Custom M param for additional payload-aware HNSW links. If not set, default M will be used."},"inline_storage":{"type":["boolean","null"],"description":"Store copies of original and quantized vectors within the HNSW index file. Default: false. Enabling this option will trade the search speed for disk usage by reducing amount of random seeks during the search. Requires quantized vectors to be enabled. Multi-vectors are not supported."}},"title":"HnswConfigDiff"},"VectorParamsHnswConfig":{"oneOf":[{"$ref":"#/components/schemas/HnswConfigDiff"},{"description":"Any type"}],"description":"Custom params for HNSW index. If none - values from collection configuration are used.","title":"VectorParamsHnswConfig"},"ScalarType":{"type":"string","enum":["int8"],"title":"ScalarType"},"ScalarQuantizationConfig":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/ScalarType"},"quantile":{"type":["number","null"],"format":"double","description":"Quantile for quantization. Expected value range in [0.5, 1.0]. If not set - use the whole range of values"},"always_ram":{"type":["boolean","null"],"description":"If true - quantized vectors always will be stored in RAM, ignoring the config of main storage"}},"required":["type"],"title":"ScalarQuantizationConfig"},"ScalarQuantization":{"type":"object","properties":{"scalar":{"$ref":"#/components/schemas/ScalarQuantizationConfig"}},"required":["scalar"],"title":"ScalarQuantization"},"CompressionRatio":{"type":"string","enum":["x4","x8","x16","x32","x64"],"title":"CompressionRatio"},"ProductQuantizationConfig":{"type":"object","properties":{"compression":{"$ref":"#/components/schemas/CompressionRatio"},"always_ram":{"type":["boolean","null"]}},"required":["compression"],"title":"ProductQuantizationConfig"},"ProductQuantization":{"type":"object","properties":{"product":{"$ref":"#/components/schemas/ProductQuantizationConfig"}},"required":["product"],"title":"ProductQuantization"},"BinaryQuantizationEncoding":{"type":"string","enum":["one_bit","two_bits","one_and_half_bits"],"title":"BinaryQuantizationEncoding"},"BinaryQuantizationConfigEncoding":{"oneOf":[{"$ref":"#/components/schemas/BinaryQuantizationEncoding"},{"description":"Any type"}],"title":"BinaryQuantizationConfigEncoding"},"BinaryQuantizationQueryEncoding":{"type":"string","enum":["default","binary","scalar4bits","scalar8bits"],"title":"BinaryQuantizationQueryEncoding"},"BinaryQuantizationConfigQueryEncoding":{"oneOf":[{"$ref":"#/components/schemas/BinaryQuantizationQueryEncoding"},{"description":"Any type"}],"description":"Asymmetric quantization configuration allows a query to have different quantization than stored vectors. It can increase the accuracy of search at the cost of performance.","title":"BinaryQuantizationConfigQueryEncoding"},"BinaryQuantizationConfig":{"type":"object","properties":{"always_ram":{"type":["boolean","null"]},"encoding":{"$ref":"#/components/schemas/BinaryQuantizationConfigEncoding"},"query_encoding":{"$ref":"#/components/schemas/BinaryQuantizationConfigQueryEncoding","description":"Asymmetric quantization configuration allows a query to have different quantization than stored vectors. It can increase the accuracy of search at the cost of performance."}},"title":"BinaryQuantizationConfig"},"BinaryQuantization":{"type":"object","properties":{"binary":{"$ref":"#/components/schemas/BinaryQuantizationConfig"}},"required":["binary"],"title":"BinaryQuantization"},"QuantizationConfig":{"oneOf":[{"$ref":"#/components/schemas/ScalarQuantization"},{"$ref":"#/components/schemas/ProductQuantization"},{"$ref":"#/components/schemas/BinaryQuantization"}],"title":"QuantizationConfig"},"VectorParamsQuantizationConfig":{"oneOf":[{"$ref":"#/components/schemas/QuantizationConfig"},{"description":"Any type"}],"description":"Custom params for quantization. If none - values from collection configuration are used.","title":"VectorParamsQuantizationConfig"},"Datatype":{"type":"string","enum":["float32","uint8","float16"],"title":"Datatype"},"VectorParamsDatatype":{"oneOf":[{"$ref":"#/components/schemas/Datatype"},{"description":"Any type"}],"description":"Defines which datatype should be used to represent vectors in the storage. Choosing different datatypes allows to optimize memory usage and performance vs accuracy.\n\n- For `float32` datatype - vectors are stored as single-precision floating point numbers, 4 bytes. - For `float16` datatype - vectors are stored as half-precision floating point numbers, 2 bytes. - For `uint8` datatype - vectors are stored as unsigned 8-bit integers, 1 byte. It expects vector elements to be in range `[0, 255]`.","title":"VectorParamsDatatype"},"MultiVectorComparator":{"type":"string","enum":["max_sim"],"title":"MultiVectorComparator"},"MultiVectorConfig":{"type":"object","properties":{"comparator":{"$ref":"#/components/schemas/MultiVectorComparator"}},"required":["comparator"],"title":"MultiVectorConfig"},"VectorParamsMultivectorConfig":{"oneOf":[{"$ref":"#/components/schemas/MultiVectorConfig"},{"description":"Any type"}],"title":"VectorParamsMultivectorConfig"},"VectorParams":{"type":"object","properties":{"size":{"type":"integer","format":"uint64","description":"Size of a vectors used"},"distance":{"$ref":"#/components/schemas/Distance"},"hnsw_config":{"$ref":"#/components/schemas/VectorParamsHnswConfig","description":"Custom params for HNSW index. If none - values from collection configuration are used."},"quantization_config":{"$ref":"#/components/schemas/VectorParamsQuantizationConfig","description":"Custom params for quantization. If none - values from collection configuration are used."},"on_disk":{"type":["boolean","null"],"description":"If true, vectors are served from disk, improving RAM usage at the cost of latency Default: false"},"datatype":{"$ref":"#/components/schemas/VectorParamsDatatype","description":"Defines which datatype should be used to represent vectors in the storage. Choosing different datatypes allows to optimize memory usage and performance vs accuracy.\n\n- For `float32` datatype - vectors are stored as single-precision floating point numbers, 4 bytes. - For `float16` datatype - vectors are stored as half-precision floating point numbers, 2 bytes. - For `uint8` datatype - vectors are stored as unsigned 8-bit integers, 1 byte. It expects vector elements to be in range `[0, 255]`."},"multivector_config":{"$ref":"#/components/schemas/VectorParamsMultivectorConfig"}},"required":["size","distance"],"description":"Params of single vector data storage","title":"VectorParams"},"VectorsConfig1":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/VectorParams"},"title":"VectorsConfig1"},"VectorsConfig":{"oneOf":[{"$ref":"#/components/schemas/VectorParams"},{"$ref":"#/components/schemas/VectorsConfig1"}],"description":"Vector params separator for single and multiple vector modes Single mode:\n\n{ \"size\": 128, \"distance\": \"Cosine\" }\n\nor multiple mode:\n\n{ \"default\": { \"size\": 128, \"distance\": \"Cosine\" } }","title":"VectorsConfig"},"ShardingMethod":{"type":"string","enum":["auto","custom"],"title":"ShardingMethod"},"CollectionParamsShardingMethod":{"oneOf":[{"$ref":"#/components/schemas/ShardingMethod"},{"description":"Any type"}],"description":"Sharding method Default is Auto - points are distributed across all available shards Custom - points are distributed across shards according to shard key","title":"CollectionParamsShardingMethod"},"SparseIndexParamsDatatype":{"oneOf":[{"$ref":"#/components/schemas/Datatype"},{"description":"Any type"}],"description":"Defines which datatype should be used for the index. Choosing different datatypes allows to optimize memory usage and performance vs accuracy.\n\n- For `float32` datatype - vectors are stored as single-precision floating point numbers, 4 bytes. - For `float16` datatype - vectors are stored as half-precision floating point numbers, 2 bytes. - For `uint8` datatype - vectors are quantized to unsigned 8-bit integers, 1 byte. Quantization to fit byte range `[0, 255]` happens during indexing automatically, so the actual vector data does not need to conform to this range.","title":"SparseIndexParamsDatatype"},"SparseIndexParams":{"type":"object","properties":{"full_scan_threshold":{"type":["integer","null"],"description":"We prefer a full scan search upto (excluding) this number of vectors.\n\nNote: this is number of vectors, not KiloBytes."},"on_disk":{"type":["boolean","null"],"description":"Store index on disk. If set to false, the index will be stored in RAM. Default: false"},"datatype":{"$ref":"#/components/schemas/SparseIndexParamsDatatype","description":"Defines which datatype should be used for the index. Choosing different datatypes allows to optimize memory usage and performance vs accuracy.\n\n- For `float32` datatype - vectors are stored as single-precision floating point numbers, 4 bytes. - For `float16` datatype - vectors are stored as half-precision floating point numbers, 2 bytes. - For `uint8` datatype - vectors are quantized to unsigned 8-bit integers, 1 byte. Quantization to fit byte range `[0, 255]` happens during indexing automatically, so the actual vector data does not need to conform to this range."}},"description":"Configuration for sparse inverted index.","title":"SparseIndexParams"},"SparseVectorParamsIndex":{"oneOf":[{"$ref":"#/components/schemas/SparseIndexParams"},{"description":"Any type"}],"description":"Custom params for index. If none - values from collection configuration are used.","title":"SparseVectorParamsIndex"},"Modifier":{"type":"string","enum":["none","idf"],"description":"If used, include weight modification, which will be applied to sparse vectors at query time: None - no modification (default) Idf - inverse document frequency, based on statistics of the collection","title":"Modifier"},"SparseVectorParamsModifier":{"oneOf":[{"$ref":"#/components/schemas/Modifier"},{"description":"Any type"}],"description":"Configures addition value modifications for sparse vectors. Default: none","title":"SparseVectorParamsModifier"},"SparseVectorParams":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/SparseVectorParamsIndex","description":"Custom params for index. If none - values from collection configuration are used."},"modifier":{"$ref":"#/components/schemas/SparseVectorParamsModifier","description":"Configures addition value modifications for sparse vectors. Default: none"}},"description":"Params of single sparse vector data storage","title":"SparseVectorParams"},"CollectionParams":{"type":"object","properties":{"vectors":{"$ref":"#/components/schemas/VectorsConfig"},"shard_number":{"type":"integer","format":"uint","description":"Number of shards the collection has"},"sharding_method":{"$ref":"#/components/schemas/CollectionParamsShardingMethod","description":"Sharding method Default is Auto - points are distributed across all available shards Custom - points are distributed across shards according to shard key"},"replication_factor":{"type":"integer","format":"uint","description":"Number of replicas for each shard"},"write_consistency_factor":{"type":"integer","format":"uint","description":"Defines how many replicas should apply the operation for us to consider it successful. Increasing this number will make the collection more resilient to inconsistencies, but will also make it fail if not enough replicas are available. Does not have any performance impact."},"read_fan_out_factor":{"type":["integer","null"],"format":"uint","description":"Defines how many additional replicas should be processing read request at the same time. Default value is Auto, which means that fan-out will be determined automatically based on the busyness of the local replica. Having more than 0 might be useful to smooth latency spikes of individual nodes."},"read_fan_out_delay_ms":{"type":["integer","null"],"format":"uint64","description":"Define number of milliseconds to wait before attempting to read from another replica. This setting can help to reduce latency spikes in case of occasional slow replicas. Default is 0, which means delayed fan out request is disabled."},"on_disk_payload":{"type":"boolean","default":true,"description":"If true - point's payload will not be stored in memory. It will be read from the disk every time it is requested. This setting saves RAM by (slightly) increasing the response time. Note: those payload values that are involved in filtering and are indexed - remain in RAM.\n\nDefault: true"},"sparse_vectors":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/SparseVectorParams"},"description":"Configuration of the sparse vector storage"}},"title":"CollectionParams"},"HnswConfig":{"type":"object","properties":{"m":{"type":"integer","description":"Number of edges per node in the index graph. Larger the value - more accurate the search, more space required."},"ef_construct":{"type":"integer","description":"Number of neighbours to consider during the index building. Larger the value - more accurate the search, more time required to build index."},"full_scan_threshold":{"type":"integer","description":"Minimal size threshold (in KiloBytes) below which full-scan is preferred over HNSW search. This measures the total size of vectors being queried against. When the maximum estimated amount of points that a condition satisfies is smaller than `full_scan_threshold_kb`, the query planner will use full-scan search instead of HNSW index traversal for better performance. Note: 1Kb = 1 vector of size 256"},"max_indexing_threads":{"type":"integer","default":0,"description":"Number of parallel threads used for background index building. If 0 - automatically select from 8 to 16. Best to keep between 8 and 16 to prevent likelihood of slow building or broken/inefficient HNSW graphs. On small CPUs, less threads are used."},"on_disk":{"type":["boolean","null"],"description":"Store HNSW index on disk. If set to false, index will be stored in RAM. Default: false"},"payload_m":{"type":["integer","null"],"description":"Custom M param for hnsw graph built for payload index. If not set, default M will be used."},"inline_storage":{"type":["boolean","null"],"description":"Store copies of original and quantized vectors within the HNSW index file. Default: false. Enabling this option will trade the search speed for disk usage by reducing amount of random seeks during the search. Requires quantized vectors to be enabled. Multi-vectors are not supported."}},"required":["m","ef_construct","full_scan_threshold"],"description":"Config of HNSW index","title":"HnswConfig"},"OptimizersConfig":{"type":"object","properties":{"deleted_threshold":{"type":"number","format":"double","description":"The minimal fraction of deleted vectors in a segment, required to perform segment optimization"},"vacuum_min_vector_number":{"type":"integer","description":"The minimal number of vectors in a segment, required to perform segment optimization"},"default_segment_number":{"type":"integer","description":"Target amount of segments optimizer will try to keep. Real amount of segments may vary depending on multiple parameters: - Amount of stored points - Current write RPS\n\nIt is recommended to select default number of segments as a factor of the number of search threads, so that each segment would be handled evenly by one of the threads. If `default_segment_number = 0`, will be automatically selected by the number of available CPUs."},"max_segment_size":{"type":["integer","null"],"description":"Do not create segments larger this size (in kilobytes). Large segments might require disproportionately long indexation times, therefore it makes sense to limit the size of segments.\n\nIf indexing speed is more important - make this parameter lower. If search speed is more important - make this parameter higher. Note: 1Kb = 1 vector of size 256 If not set, will be automatically selected considering the number of available CPUs."},"memmap_threshold":{"type":["integer","null"],"description":"Maximum size (in kilobytes) of vectors to store in-memory per segment. Segments larger than this threshold will be stored as read-only memmapped file.\n\nMemmap storage is disabled by default, to enable it, set this threshold to a reasonable value.\n\nTo disable memmap storage, set this to `0`. Internally it will use the largest threshold possible.\n\nNote: 1Kb = 1 vector of size 256"},"indexing_threshold":{"type":["integer","null"],"description":"Maximum size (in kilobytes) of vectors allowed for plain index, exceeding this threshold will enable vector indexing\n\nDefault value is 10,000, based on experiments and observations.\n\nTo disable vector indexing, set to `0`.\n\nNote: 1kB = 1 vector of size 256."},"flush_interval_sec":{"type":"integer","format":"uint64","description":"Minimum interval between forced flushes."},"max_optimization_threads":{"type":["integer","null"],"description":"Max number of threads (jobs) for running optimizations per shard. Note: each optimization job will also use `max_indexing_threads` threads by itself for index building. If null - have no limit and choose dynamically to saturate CPU. If 0 - no optimization threads, optimizations will be disabled."},"prevent_unoptimized":{"type":["boolean","null"],"description":"If this option is set, service will try to prevent creation of large unoptimized segments. When enabled, updates may be blocked at request level if there are unoptimized segments larger than indexing threshold. Updates will be resumed when optimization is completed and segments are optimized below the threshold. Using this option may lead to increased delay between submitting an update and its application. Default is disabled."}},"required":["deleted_threshold","vacuum_min_vector_number","default_segment_number","flush_interval_sec"],"title":"OptimizersConfig"},"WalConfig":{"type":"object","properties":{"wal_capacity_mb":{"type":"integer","description":"Size of a single WAL segment in MB"},"wal_segments_ahead":{"type":"integer","description":"Number of WAL segments to create ahead of actually used ones"},"wal_retain_closed":{"type":"integer","default":1,"description":"Number of closed WAL segments to keep"}},"required":["wal_capacity_mb","wal_segments_ahead"],"title":"WalConfig"},"CollectionConfigWalConfig":{"oneOf":[{"$ref":"#/components/schemas/WalConfig"},{"description":"Any type"}],"title":"CollectionConfigWalConfig"},"CollectionConfigQuantizationConfig":{"oneOf":[{"$ref":"#/components/schemas/QuantizationConfig"},{"description":"Any type"}],"title":"CollectionConfigQuantizationConfig"},"StrictModeMultivectorOutput":{"type":"object","properties":{"max_vectors":{"type":["integer","null"],"description":"Max number of vectors in a multivector"}},"title":"StrictModeMultivectorOutput"},"StrictModeMultivectorConfigOutput":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/StrictModeMultivectorOutput"},"title":"StrictModeMultivectorConfigOutput"},"StrictModeConfigOutputMultivectorConfig":{"oneOf":[{"$ref":"#/components/schemas/StrictModeMultivectorConfigOutput"},{"description":"Any type"}],"description":"Multivector configuration","title":"StrictModeConfigOutputMultivectorConfig"},"StrictModeSparseOutput":{"type":"object","properties":{"max_length":{"type":["integer","null"],"description":"Max length of sparse vector"}},"title":"StrictModeSparseOutput"},"StrictModeSparseConfigOutput":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/StrictModeSparseOutput"},"title":"StrictModeSparseConfigOutput"},"StrictModeConfigOutputSparseConfig":{"oneOf":[{"$ref":"#/components/schemas/StrictModeSparseConfigOutput"},{"description":"Any type"}],"description":"Sparse vector configuration","title":"StrictModeConfigOutputSparseConfig"},"StrictModeConfigOutput":{"type":"object","properties":{"enabled":{"type":["boolean","null"],"description":"Whether strict mode is enabled for a collection or not."},"max_query_limit":{"type":["integer","null"],"description":"Max allowed `limit` parameter for all APIs that don't have their own max limit."},"max_timeout":{"type":["integer","null"],"description":"Max allowed `timeout` parameter."},"unindexed_filtering_retrieve":{"type":["boolean","null"],"description":"Allow usage of unindexed fields in retrieval based (e.g. search) filters."},"unindexed_filtering_update":{"type":["boolean","null"],"description":"Allow usage of unindexed fields in filtered updates (e.g. delete by payload)."},"search_max_hnsw_ef":{"type":["integer","null"],"description":"Max HNSW value allowed in search parameters."},"search_allow_exact":{"type":["boolean","null"],"description":"Whether exact search is allowed or not."},"search_max_oversampling":{"type":["number","null"],"format":"double","description":"Max oversampling value allowed in search."},"upsert_max_batchsize":{"type":["integer","null"],"description":"Max batchsize when upserting"},"max_collection_vector_size_bytes":{"type":["integer","null"],"description":"Max size of a collections vector storage in bytes, ignoring replicas."},"read_rate_limit":{"type":["integer","null"],"description":"Max number of read operations per minute per replica"},"write_rate_limit":{"type":["integer","null"],"description":"Max number of write operations per minute per replica"},"max_collection_payload_size_bytes":{"type":["integer","null"],"description":"Max size of a collections payload storage in bytes"},"max_points_count":{"type":["integer","null"],"description":"Max number of points estimated in a collection"},"filter_max_conditions":{"type":["integer","null"],"description":"Max conditions a filter can have."},"condition_max_size":{"type":["integer","null"],"description":"Max size of a condition, eg. items in `MatchAny`."},"multivector_config":{"$ref":"#/components/schemas/StrictModeConfigOutputMultivectorConfig","description":"Multivector configuration"},"sparse_config":{"$ref":"#/components/schemas/StrictModeConfigOutputSparseConfig","description":"Sparse vector configuration"},"max_payload_index_count":{"type":["integer","null"],"description":"Max number of payload indexes in a collection"}},"title":"StrictModeConfigOutput"},"CollectionConfigStrictModeConfig":{"oneOf":[{"$ref":"#/components/schemas/StrictModeConfigOutput"},{"description":"Any type"}],"title":"CollectionConfigStrictModeConfig"},"Payload":{"type":"object","additionalProperties":{"description":"Any type"},"title":"Payload"},"CollectionConfigMetadata":{"oneOf":[{"$ref":"#/components/schemas/Payload"},{"description":"Any type"}],"description":"Arbitrary JSON metadata for the collection This can be used to store application-specific information such as creation time, migration data, inference model info, etc.","title":"CollectionConfigMetadata"},"CollectionConfig":{"type":"object","properties":{"params":{"$ref":"#/components/schemas/CollectionParams"},"hnsw_config":{"$ref":"#/components/schemas/HnswConfig"},"optimizer_config":{"$ref":"#/components/schemas/OptimizersConfig"},"wal_config":{"$ref":"#/components/schemas/CollectionConfigWalConfig"},"quantization_config":{"$ref":"#/components/schemas/CollectionConfigQuantizationConfig"},"strict_mode_config":{"$ref":"#/components/schemas/CollectionConfigStrictModeConfig"},"metadata":{"$ref":"#/components/schemas/CollectionConfigMetadata","description":"Arbitrary JSON metadata for the collection This can be used to store application-specific information such as creation time, migration data, inference model info, etc."}},"required":["params","hnsw_config","optimizer_config"],"description":"Information about the collection configuration","title":"CollectionConfig"},"PayloadSchemaType":{"type":"string","enum":["keyword","integer","float","geo","text","bool","datetime","uuid"],"description":"All possible names of payload types","title":"PayloadSchemaType"},"KeywordIndexType":{"type":"string","enum":["keyword"],"title":"KeywordIndexType"},"KeywordIndexParams":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/KeywordIndexType"},"is_tenant":{"type":["boolean","null"],"description":"If true - used for tenant optimization. Default: false."},"on_disk":{"type":["boolean","null"],"description":"If true, store the index on disk. Default: false."},"enable_hnsw":{"type":["boolean","null"],"description":"Enable HNSW graph building for this payload field. If true, builds additional HNSW links (Need payload_m > 0). Default: true."}},"required":["type"],"title":"KeywordIndexParams"},"IntegerIndexType":{"type":"string","enum":["integer"],"title":"IntegerIndexType"},"IntegerIndexParams":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/IntegerIndexType"},"lookup":{"type":["boolean","null"],"description":"If true - support direct lookups. Default is true."},"range":{"type":["boolean","null"],"description":"If true - support ranges filters. Default is true."},"is_principal":{"type":["boolean","null"],"description":"If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests. Default is false."},"on_disk":{"type":["boolean","null"],"description":"If true, store the index on disk. Default: false. Default is false."},"enable_hnsw":{"type":["boolean","null"],"description":"Enable HNSW graph building for this payload field. If true, builds additional HNSW links (Need payload_m > 0). Default: true."}},"required":["type"],"title":"IntegerIndexParams"},"FloatIndexType":{"type":"string","enum":["float"],"title":"FloatIndexType"},"FloatIndexParams":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/FloatIndexType"},"is_principal":{"type":["boolean","null"],"description":"If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests."},"on_disk":{"type":["boolean","null"],"description":"If true, store the index on disk. Default: false."},"enable_hnsw":{"type":["boolean","null"],"description":"Enable HNSW graph building for this payload field. If true, builds additional HNSW links (Need payload_m > 0). Default: true."}},"required":["type"],"title":"FloatIndexParams"},"GeoIndexType":{"type":"string","enum":["geo"],"title":"GeoIndexType"},"GeoIndexParams":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/GeoIndexType"},"on_disk":{"type":["boolean","null"],"description":"If true, store the index on disk. Default: false."},"enable_hnsw":{"type":["boolean","null"],"description":"Enable HNSW graph building for this payload field. If true, builds additional HNSW links (Need payload_m > 0). Default: true."}},"required":["type"],"title":"GeoIndexParams"},"TextIndexType":{"type":"string","enum":["text"],"title":"TextIndexType"},"TokenizerType":{"type":"string","enum":["prefix","whitespace","word","multilingual"],"title":"TokenizerType"},"Language":{"type":"string","enum":["arabic","azerbaijani","basque","bengali","catalan","chinese","danish","dutch","english","finnish","french","german","greek","hebrew","hinglish","hungarian","indonesian","italian","japanese","kazakh","nepali","norwegian","portuguese","romanian","russian","slovene","spanish","swedish","tajik","turkish"],"title":"Language"},"StopwordsSet":{"type":"object","properties":{"languages":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Language"},"description":"Set of languages to use for stopwords. Multiple pre-defined lists of stopwords can be combined."},"custom":{"type":["array","null"],"items":{"type":"string"},"description":"Custom stopwords set. Will be merged with the languages set."}},"title":"StopwordsSet"},"StopwordsInterface":{"oneOf":[{"$ref":"#/components/schemas/Language"},{"$ref":"#/components/schemas/StopwordsSet"}],"title":"StopwordsInterface"},"TextIndexParamsStopwords":{"oneOf":[{"$ref":"#/components/schemas/StopwordsInterface"},{"description":"Any type"}],"description":"Ignore this set of tokens. Can select from predefined languages and/or provide a custom set.","title":"TextIndexParamsStopwords"},"Snowball":{"type":"string","enum":["snowball"],"title":"Snowball"},"SnowballLanguage":{"type":"string","enum":["arabic","armenian","danish","dutch","english","finnish","french","german","greek","hungarian","italian","norwegian","portuguese","romanian","russian","spanish","swedish","tamil","turkish"],"description":"Languages supported by snowball stemmer.","title":"SnowballLanguage"},"SnowballParams":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/Snowball"},"language":{"$ref":"#/components/schemas/SnowballLanguage"}},"required":["type","language"],"title":"SnowballParams"},"StemmingAlgorithm":{"oneOf":[{"$ref":"#/components/schemas/SnowballParams"}],"description":"Different stemming algorithms with their configs.","title":"StemmingAlgorithm"},"TextIndexParamsStemmer":{"oneOf":[{"$ref":"#/components/schemas/StemmingAlgorithm"},{"description":"Any type"}],"description":"Algorithm for stemming. Default: disabled.","title":"TextIndexParamsStemmer"},"TextIndexParams":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/TextIndexType"},"tokenizer":{"$ref":"#/components/schemas/TokenizerType"},"min_token_len":{"type":["integer","null"],"description":"Minimum characters to be tokenized."},"max_token_len":{"type":["integer","null"],"description":"Maximum characters to be tokenized."},"lowercase":{"type":["boolean","null"],"description":"If true, lowercase all tokens. Default: true."},"ascii_folding":{"type":["boolean","null"],"description":"If true, normalize tokens by folding accented characters to ASCII (e.g., \"ação\" -> \"acao\"). Default: false."},"phrase_matching":{"type":["boolean","null"],"description":"If true, support phrase matching. Default: false."},"stopwords":{"$ref":"#/components/schemas/TextIndexParamsStopwords","description":"Ignore this set of tokens. Can select from predefined languages and/or provide a custom set."},"on_disk":{"type":["boolean","null"],"description":"If true, store the index on disk. Default: false."},"stemmer":{"$ref":"#/components/schemas/TextIndexParamsStemmer","description":"Algorithm for stemming. Default: disabled."},"enable_hnsw":{"type":["boolean","null"],"description":"Enable HNSW graph building for this payload field. If true, builds additional HNSW links (Need payload_m > 0). Default: true."}},"required":["type"],"title":"TextIndexParams"},"BoolIndexType":{"type":"string","enum":["bool"],"title":"BoolIndexType"},"BoolIndexParams":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/BoolIndexType"},"on_disk":{"type":["boolean","null"],"description":"If true, store the index on disk. Default: false."},"enable_hnsw":{"type":["boolean","null"],"description":"Enable HNSW graph building for this payload field. If true, builds additional HNSW links (Need payload_m > 0). Default: true."}},"required":["type"],"title":"BoolIndexParams"},"DatetimeIndexType":{"type":"string","enum":["datetime"],"title":"DatetimeIndexType"},"DatetimeIndexParams":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/DatetimeIndexType"},"is_principal":{"type":["boolean","null"],"description":"If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests."},"on_disk":{"type":["boolean","null"],"description":"If true, store the index on disk. Default: false."},"enable_hnsw":{"type":["boolean","null"],"description":"Enable HNSW graph building for this payload field. If true, builds additional HNSW links (Need payload_m > 0). Default: true."}},"required":["type"],"title":"DatetimeIndexParams"},"UuidIndexType":{"type":"string","enum":["uuid"],"title":"UuidIndexType"},"UuidIndexParams":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/UuidIndexType"},"is_tenant":{"type":["boolean","null"],"description":"If true - used for tenant optimization."},"on_disk":{"type":["boolean","null"],"description":"If true, store the index on disk. Default: false."},"enable_hnsw":{"type":["boolean","null"],"description":"Enable HNSW graph building for this payload field. If true, builds additional HNSW links (Need payload_m > 0). Default: true."}},"required":["type"],"title":"UuidIndexParams"},"PayloadSchemaParams":{"oneOf":[{"$ref":"#/components/schemas/KeywordIndexParams"},{"$ref":"#/components/schemas/IntegerIndexParams"},{"$ref":"#/components/schemas/FloatIndexParams"},{"$ref":"#/components/schemas/GeoIndexParams"},{"$ref":"#/components/schemas/TextIndexParams"},{"$ref":"#/components/schemas/BoolIndexParams"},{"$ref":"#/components/schemas/DatetimeIndexParams"},{"$ref":"#/components/schemas/UuidIndexParams"}],"description":"Payload type with parameters","title":"PayloadSchemaParams"},"PayloadIndexInfoParams":{"oneOf":[{"$ref":"#/components/schemas/PayloadSchemaParams"},{"description":"Any type"}],"title":"PayloadIndexInfoParams"},"PayloadIndexInfo":{"type":"object","properties":{"data_type":{"$ref":"#/components/schemas/PayloadSchemaType"},"params":{"$ref":"#/components/schemas/PayloadIndexInfoParams"},"points":{"type":"integer","description":"Number of points indexed with this index"}},"required":["data_type","points"],"description":"Display payload field type & index information","title":"PayloadIndexInfo"},"UpdateQueueInfo":{"type":"object","properties":{"length":{"type":"integer","description":"Number of elements in the queue"}},"required":["length"],"title":"UpdateQueueInfo"},"CollectionInfoUpdateQueue":{"oneOf":[{"$ref":"#/components/schemas/UpdateQueueInfo"},{"description":"Any type"}],"description":"Update queue info","title":"CollectionInfoUpdateQueue"},"CollectionInfo":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/CollectionStatus"},"optimizer_status":{"$ref":"#/components/schemas/OptimizersStatus"},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/CollectionWarning"},"description":"Warnings related to the collection"},"indexed_vectors_count":{"type":["integer","null"],"description":"Approximate number of indexed vectors in the collection. Indexed vectors in large segments are faster to query, as it is stored in a specialized vector index."},"points_count":{"type":["integer","null"],"description":"Approximate number of points (vectors + payloads) in collection. Each point could be accessed by unique id."},"segments_count":{"type":"integer","description":"Number of segments in collection. Each segment has independent vector as payload indexes"},"config":{"$ref":"#/components/schemas/CollectionConfig"},"payload_schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PayloadIndexInfo"},"description":"Types of stored payload"},"update_queue":{"$ref":"#/components/schemas/CollectionInfoUpdateQueue","description":"Update queue info"}},"required":["status","optimizer_status","segments_count","config","payload_schema"],"description":"Current statistics and configuration of the collection","title":"CollectionInfo"},"Collections_get_collection_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/CollectionInfo"}},"title":"Collections_get_collection_Response_200"},"CreateCollectionShardingMethod":{"oneOf":[{"$ref":"#/components/schemas/ShardingMethod"},{"description":"Any type"}],"description":"Sharding method Default is Auto - points are distributed across all available shards Custom - points are distributed across shards according to shard key","title":"CreateCollectionShardingMethod"},"CreateCollectionHnswConfig":{"oneOf":[{"$ref":"#/components/schemas/HnswConfigDiff"},{"description":"Any type"}],"description":"Custom params for HNSW index. If none - values from service configuration file are used.","title":"CreateCollectionHnswConfig"},"WalConfigDiff":{"type":"object","properties":{"wal_capacity_mb":{"type":["integer","null"],"description":"Size of a single WAL segment in MB"},"wal_segments_ahead":{"type":["integer","null"],"description":"Number of WAL segments to create ahead of actually used ones"},"wal_retain_closed":{"type":["integer","null"],"description":"Number of closed WAL segments to retain"}},"title":"WalConfigDiff"},"CreateCollectionWalConfig":{"oneOf":[{"$ref":"#/components/schemas/WalConfigDiff"},{"description":"Any type"}],"description":"Custom params for WAL. If none - values from service configuration file are used.","title":"CreateCollectionWalConfig"},"MaxOptimizationThreadsSetting":{"type":"string","enum":["auto"],"title":"MaxOptimizationThreadsSetting"},"MaxOptimizationThreads":{"oneOf":[{"$ref":"#/components/schemas/MaxOptimizationThreadsSetting"},{"type":"integer"}],"title":"MaxOptimizationThreads"},"OptimizersConfigDiffMaxOptimizationThreads":{"oneOf":[{"$ref":"#/components/schemas/MaxOptimizationThreads"},{"description":"Any type"}],"description":"Max number of threads (jobs) for running optimizations per shard. Note: each optimization job will also use `max_indexing_threads` threads by itself for index building. If \"auto\" - have no limit and choose dynamically to saturate CPU. If 0 - no optimization threads, optimizations will be disabled.","title":"OptimizersConfigDiffMaxOptimizationThreads"},"OptimizersConfigDiff":{"type":"object","properties":{"deleted_threshold":{"type":["number","null"],"format":"double","description":"The minimal fraction of deleted vectors in a segment, required to perform segment optimization"},"vacuum_min_vector_number":{"type":["integer","null"],"description":"The minimal number of vectors in a segment, required to perform segment optimization"},"default_segment_number":{"type":["integer","null"],"description":"Target amount of segments optimizer will try to keep. Real amount of segments may vary depending on multiple parameters: - Amount of stored points - Current write RPS\n\nIt is recommended to select default number of segments as a factor of the number of search threads, so that each segment would be handled evenly by one of the threads If `default_segment_number = 0`, will be automatically selected by the number of available CPUs"},"max_segment_size":{"type":["integer","null"],"description":"Do not create segments larger this size (in kilobytes). Large segments might require disproportionately long indexation times, therefore it makes sense to limit the size of segments.\n\nIf indexation speed have more priority for your - make this parameter lower. If search speed is more important - make this parameter higher. Note: 1Kb = 1 vector of size 256"},"memmap_threshold":{"type":["integer","null"],"description":"Maximum size (in kilobytes) of vectors to store in-memory per segment. Segments larger than this threshold will be stored as read-only memmapped file.\n\nMemmap storage is disabled by default, to enable it, set this threshold to a reasonable value.\n\nTo disable memmap storage, set this to `0`.\n\nNote: 1Kb = 1 vector of size 256\n\nDeprecated since Qdrant 1.15.0"},"indexing_threshold":{"type":["integer","null"],"description":"Maximum size (in kilobytes) of vectors allowed for plain index, exceeding this threshold will enable vector indexing\n\nDefault value is 20,000, based on <https://github.com/google-research/google-research/blob/master/scann/docs/algorithms.md>.\n\nTo disable vector indexing, set to `0`.\n\nNote: 1kB = 1 vector of size 256."},"flush_interval_sec":{"type":["integer","null"],"format":"uint64","description":"Minimum interval between forced flushes."},"max_optimization_threads":{"$ref":"#/components/schemas/OptimizersConfigDiffMaxOptimizationThreads","description":"Max number of threads (jobs) for running optimizations per shard. Note: each optimization job will also use `max_indexing_threads` threads by itself for index building. If \"auto\" - have no limit and choose dynamically to saturate CPU. If 0 - no optimization threads, optimizations will be disabled."},"prevent_unoptimized":{"type":["boolean","null"],"description":"If this option is set, service will try to prevent creation of large unoptimized segments. When enabled, updates may be blocked at request level if there are unoptimized segments larger than indexing threshold. Updates will be resumed when optimization is completed and segments are optimized below the threshold. Using this option may lead to increased delay between submitting an update and its application. Default is disabled."}},"title":"OptimizersConfigDiff"},"CreateCollectionOptimizersConfig":{"oneOf":[{"$ref":"#/components/schemas/OptimizersConfigDiff"},{"description":"Any type"}],"description":"Custom params for Optimizers.  If none - values from service configuration file are used.","title":"CreateCollectionOptimizersConfig"},"CreateCollectionQuantizationConfig":{"oneOf":[{"$ref":"#/components/schemas/QuantizationConfig"},{"description":"Any type"}],"description":"Quantization parameters. If none - quantization is disabled.","title":"CreateCollectionQuantizationConfig"},"StrictModeMultivector":{"type":"object","properties":{"max_vectors":{"type":["integer","null"],"description":"Max number of vectors in a multivector"}},"title":"StrictModeMultivector"},"StrictModeMultivectorConfig":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/StrictModeMultivector"},"title":"StrictModeMultivectorConfig"},"StrictModeConfigMultivectorConfig":{"oneOf":[{"$ref":"#/components/schemas/StrictModeMultivectorConfig"},{"description":"Any type"}],"description":"Multivector strict mode configuration","title":"StrictModeConfigMultivectorConfig"},"StrictModeSparse":{"type":"object","properties":{"max_length":{"type":["integer","null"],"description":"Max length of sparse vector"}},"title":"StrictModeSparse"},"StrictModeSparseConfig":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/StrictModeSparse"},"title":"StrictModeSparseConfig"},"StrictModeConfigSparseConfig":{"oneOf":[{"$ref":"#/components/schemas/StrictModeSparseConfig"},{"description":"Any type"}],"description":"Sparse vector strict mode configuration","title":"StrictModeConfigSparseConfig"},"StrictModeConfig":{"type":"object","properties":{"enabled":{"type":["boolean","null"],"description":"Whether strict mode is enabled for a collection or not."},"max_query_limit":{"type":["integer","null"],"description":"Max allowed `limit` parameter for all APIs that don't have their own max limit."},"max_timeout":{"type":["integer","null"],"description":"Max allowed `timeout` parameter."},"unindexed_filtering_retrieve":{"type":["boolean","null"],"description":"Allow usage of unindexed fields in retrieval based (e.g. search) filters."},"unindexed_filtering_update":{"type":["boolean","null"],"description":"Allow usage of unindexed fields in filtered updates (e.g. delete by payload)."},"search_max_hnsw_ef":{"type":["integer","null"],"description":"Max HNSW ef value allowed in search parameters."},"search_allow_exact":{"type":["boolean","null"],"description":"Whether exact search is allowed."},"search_max_oversampling":{"type":["number","null"],"format":"double","description":"Max oversampling value allowed in search."},"upsert_max_batchsize":{"type":["integer","null"],"description":"Max batchsize when upserting"},"max_collection_vector_size_bytes":{"type":["integer","null"],"description":"Max size of a collections vector storage in bytes, ignoring replicas."},"read_rate_limit":{"type":["integer","null"],"description":"Max number of read operations per minute per replica"},"write_rate_limit":{"type":["integer","null"],"description":"Max number of write operations per minute per replica"},"max_collection_payload_size_bytes":{"type":["integer","null"],"description":"Max size of a collections payload storage in bytes"},"max_points_count":{"type":["integer","null"],"description":"Max number of points estimated in a collection"},"filter_max_conditions":{"type":["integer","null"],"description":"Max conditions a filter can have."},"condition_max_size":{"type":["integer","null"],"description":"Max size of a condition, eg. items in `MatchAny`."},"multivector_config":{"$ref":"#/components/schemas/StrictModeConfigMultivectorConfig","description":"Multivector strict mode configuration"},"sparse_config":{"$ref":"#/components/schemas/StrictModeConfigSparseConfig","description":"Sparse vector strict mode configuration"},"max_payload_index_count":{"type":["integer","null"],"description":"Max number of payload indexes in a collection"}},"title":"StrictModeConfig"},"CreateCollectionStrictModeConfig":{"oneOf":[{"$ref":"#/components/schemas/StrictModeConfig"},{"description":"Any type"}],"description":"Strict-mode config.","title":"CreateCollectionStrictModeConfig"},"CreateCollectionMetadata":{"oneOf":[{"$ref":"#/components/schemas/Payload"},{"description":"Any type"}],"description":"Arbitrary JSON metadata for the collection This can be used to store application-specific information such as creation time, migration data, inference model info, etc.","title":"CreateCollectionMetadata"},"CreateCollection":{"type":"object","properties":{"vectors":{"$ref":"#/components/schemas/VectorsConfig"},"shard_number":{"type":["integer","null"],"format":"uint","description":"For auto sharding: Number of shards in collection. - Default is 1 for standalone, otherwise equal to the number of nodes - Minimum is 1\n\nFor custom sharding: Number of shards in collection per shard group. - Default is 1, meaning that each shard key will be mapped to a single shard - Minimum is 1"},"sharding_method":{"$ref":"#/components/schemas/CreateCollectionShardingMethod","description":"Sharding method Default is Auto - points are distributed across all available shards Custom - points are distributed across shards according to shard key"},"replication_factor":{"type":["integer","null"],"format":"uint","description":"Number of shards replicas. Default is 1 Minimum is 1"},"write_consistency_factor":{"type":["integer","null"],"format":"uint","description":"Defines how many replicas should apply the operation for us to consider it successful. Increasing this number will make the collection more resilient to inconsistencies, but will also make it fail if not enough replicas are available. Does not have any performance impact."},"on_disk_payload":{"type":["boolean","null"],"description":"If true - point's payload will not be stored in memory. It will be read from the disk every time it is requested. This setting saves RAM by (slightly) increasing the response time. Note: those payload values that are involved in filtering and are indexed - remain in RAM.\n\nDefault: true"},"hnsw_config":{"$ref":"#/components/schemas/CreateCollectionHnswConfig","description":"Custom params for HNSW index. If none - values from service configuration file are used."},"wal_config":{"$ref":"#/components/schemas/CreateCollectionWalConfig","description":"Custom params for WAL. If none - values from service configuration file are used."},"optimizers_config":{"$ref":"#/components/schemas/CreateCollectionOptimizersConfig","description":"Custom params for Optimizers.  If none - values from service configuration file are used."},"quantization_config":{"$ref":"#/components/schemas/CreateCollectionQuantizationConfig","description":"Quantization parameters. If none - quantization is disabled."},"sparse_vectors":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/SparseVectorParams"},"description":"Sparse vector data config."},"strict_mode_config":{"$ref":"#/components/schemas/CreateCollectionStrictModeConfig","description":"Strict-mode config."},"metadata":{"$ref":"#/components/schemas/CreateCollectionMetadata","description":"Arbitrary JSON metadata for the collection This can be used to store application-specific information such as creation time, migration data, inference model info, etc."}},"description":"Operation for creating new collection and (optionally) specify index params","title":"CreateCollection"},"CollectionsCollectionNamePutResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePutResponsesContentApplicationJsonSchemaUsage"},"Collections_create_collection_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePutResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Collections_create_collection_Response_200"},"CollectionsCollectionNameDeleteResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameDeleteResponsesContentApplicationJsonSchemaUsage"},"Collections_delete_collection_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameDeleteResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Collections_delete_collection_Response_200"},"VectorParamsDiffHnswConfig":{"oneOf":[{"$ref":"#/components/schemas/HnswConfigDiff"},{"description":"Any type"}],"description":"Update params for HNSW index. If empty object - it will be unset.","title":"VectorParamsDiffHnswConfig"},"Disabled":{"type":"string","enum":["Disabled"],"title":"Disabled"},"QuantizationConfigDiff":{"oneOf":[{"$ref":"#/components/schemas/ScalarQuantization"},{"$ref":"#/components/schemas/ProductQuantization"},{"$ref":"#/components/schemas/BinaryQuantization"},{"$ref":"#/components/schemas/Disabled"}],"title":"QuantizationConfigDiff"},"VectorParamsDiffQuantizationConfig":{"oneOf":[{"$ref":"#/components/schemas/QuantizationConfigDiff"},{"description":"Any type"}],"description":"Update params for quantization. If none - it is left unchanged.","title":"VectorParamsDiffQuantizationConfig"},"VectorParamsDiff":{"type":"object","properties":{"hnsw_config":{"$ref":"#/components/schemas/VectorParamsDiffHnswConfig","description":"Update params for HNSW index. If empty object - it will be unset."},"quantization_config":{"$ref":"#/components/schemas/VectorParamsDiffQuantizationConfig","description":"Update params for quantization. If none - it is left unchanged."},"on_disk":{"type":["boolean","null"],"description":"If true, vectors are served from disk, improving RAM usage at the cost of latency"}},"title":"VectorParamsDiff"},"VectorsConfigDiff":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/VectorParamsDiff"},"description":"Vector update params for multiple vectors\n\n{ \"vector_name\": { \"hnsw_config\": { \"m\": 8 } } }","title":"VectorsConfigDiff"},"UpdateCollectionVectors":{"oneOf":[{"$ref":"#/components/schemas/VectorsConfigDiff"},{"description":"Any type"}],"description":"Map of vector data parameters to update for each named vector. To update parameters in a collection having a single unnamed vector, use an empty string as name.","title":"UpdateCollectionVectors"},"UpdateCollectionOptimizersConfig":{"oneOf":[{"$ref":"#/components/schemas/OptimizersConfigDiff"},{"description":"Any type"}],"description":"Custom params for Optimizers.  If none - it is left unchanged. This operation is blocking, it will only proceed once all current optimizations are complete","title":"UpdateCollectionOptimizersConfig"},"CollectionParamsDiff":{"type":"object","properties":{"replication_factor":{"type":["integer","null"],"format":"uint","description":"Number of replicas for each shard"},"write_consistency_factor":{"type":["integer","null"],"format":"uint","description":"Minimal number successful responses from replicas to consider operation successful"},"read_fan_out_factor":{"type":["integer","null"],"format":"uint","description":"Fan-out every read request to these many additional remote nodes (and return first available response)"},"read_fan_out_delay_ms":{"type":["integer","null"],"format":"uint64","description":"Delay in milliseconds before sending read requests to remote nodes"},"on_disk_payload":{"type":["boolean","null"],"description":"If true - point's payload will not be stored in memory. It will be read from the disk every time it is requested. This setting saves RAM by (slightly) increasing the response time. Note: those payload values that are involved in filtering and are indexed - remain in RAM."}},"title":"CollectionParamsDiff"},"UpdateCollectionParams":{"oneOf":[{"$ref":"#/components/schemas/CollectionParamsDiff"},{"description":"Any type"}],"description":"Collection base params. If none - it is left unchanged.","title":"UpdateCollectionParams"},"UpdateCollectionHnswConfig":{"oneOf":[{"$ref":"#/components/schemas/HnswConfigDiff"},{"description":"Any type"}],"description":"HNSW parameters to update for the collection index. If none - it is left unchanged.","title":"UpdateCollectionHnswConfig"},"UpdateCollectionQuantizationConfig":{"oneOf":[{"$ref":"#/components/schemas/QuantizationConfigDiff"},{"description":"Any type"}],"description":"Quantization parameters to update. If none - it is left unchanged.","title":"UpdateCollectionQuantizationConfig"},"SparseVectorsConfig":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/SparseVectorParams"},"title":"SparseVectorsConfig"},"UpdateCollectionSparseVectors":{"oneOf":[{"$ref":"#/components/schemas/SparseVectorsConfig"},{"description":"Any type"}],"description":"Map of sparse vector data parameters to update for each sparse vector.","title":"UpdateCollectionSparseVectors"},"UpdateCollectionStrictModeConfig":{"oneOf":[{"$ref":"#/components/schemas/StrictModeConfig"},{"description":"Any type"}],"title":"UpdateCollectionStrictModeConfig"},"UpdateCollectionMetadata":{"oneOf":[{"$ref":"#/components/schemas/Payload"},{"description":"Any type"}],"description":"Metadata to update for the collection. If provided, this will merge with existing metadata. To remove metadata, set it to an empty object.","title":"UpdateCollectionMetadata"},"UpdateCollection":{"type":"object","properties":{"vectors":{"$ref":"#/components/schemas/UpdateCollectionVectors","description":"Map of vector data parameters to update for each named vector. To update parameters in a collection having a single unnamed vector, use an empty string as name."},"optimizers_config":{"$ref":"#/components/schemas/UpdateCollectionOptimizersConfig","description":"Custom params for Optimizers.  If none - it is left unchanged. This operation is blocking, it will only proceed once all current optimizations are complete"},"params":{"$ref":"#/components/schemas/UpdateCollectionParams","description":"Collection base params. If none - it is left unchanged."},"hnsw_config":{"$ref":"#/components/schemas/UpdateCollectionHnswConfig","description":"HNSW parameters to update for the collection index. If none - it is left unchanged."},"quantization_config":{"$ref":"#/components/schemas/UpdateCollectionQuantizationConfig","description":"Quantization parameters to update. If none - it is left unchanged."},"sparse_vectors":{"$ref":"#/components/schemas/UpdateCollectionSparseVectors","description":"Map of sparse vector data parameters to update for each sparse vector."},"strict_mode_config":{"$ref":"#/components/schemas/UpdateCollectionStrictModeConfig"},"metadata":{"$ref":"#/components/schemas/UpdateCollectionMetadata","description":"Metadata to update for the collection. If provided, this will merge with existing metadata. To remove metadata, set it to an empty object."}},"description":"Operation for updating parameters of the existing collection","title":"UpdateCollection"},"CollectionsCollectionNamePatchResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePatchResponsesContentApplicationJsonSchemaUsage"},"Collections_update_collection_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePatchResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Collections_update_collection_Response_200"},"CollectionsGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsGetResponsesContentApplicationJsonSchemaUsage"},"CollectionDescription":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"title":"CollectionDescription"},"CollectionsResponse":{"type":"object","properties":{"collections":{"type":"array","items":{"$ref":"#/components/schemas/CollectionDescription"}}},"required":["collections"],"title":"CollectionsResponse"},"Collections_get_collections_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/CollectionsResponse"}},"title":"Collections_get_collections_Response_200"},"CollectionsCollectionNameExistsGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameExistsGetResponsesContentApplicationJsonSchemaUsage"},"CollectionExistence":{"type":"object","properties":{"exists":{"type":"boolean"}},"required":["exists"],"description":"State of existence of a collection, true = exists, false = does not exist","title":"CollectionExistence"},"Collections_collection_exists_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameExistsGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/CollectionExistence"}},"title":"Collections_collection_exists_Response_200"},"CollectionsCollectionNameOptimizationsGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameOptimizationsGetResponsesContentApplicationJsonSchemaUsage"},"OptimizationsSummary":{"type":"object","properties":{"queued_optimizations":{"type":"integer","description":"Number of pending optimizations in the queue. Each optimization will take one or more unoptimized segments and produce one optimized segment."},"queued_segments":{"type":"integer","description":"Number of unoptimized segments in the queue."},"queued_points":{"type":"integer","description":"Number of points in unoptimized segments in the queue."},"idle_segments":{"type":"integer","description":"Number of segments that don't require optimization."}},"required":["queued_optimizations","queued_segments","queued_points","idle_segments"],"title":"OptimizationsSummary"},"TrackerStatus0":{"type":"string","enum":["optimizing","done"],"title":"TrackerStatus0"},"TrackerStatus1":{"type":"object","properties":{"cancelled":{"type":"string"}},"required":["cancelled"],"title":"TrackerStatus1"},"TrackerStatus2":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"],"title":"TrackerStatus2"},"TrackerStatus":{"oneOf":[{"$ref":"#/components/schemas/TrackerStatus0"},{"$ref":"#/components/schemas/TrackerStatus1"},{"$ref":"#/components/schemas/TrackerStatus2"}],"description":"Represents the current state of the optimizer being tracked","title":"TrackerStatus"},"OptimizationSegmentInfo":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","description":"Unique identifier of the segment."},"points_count":{"type":"integer","description":"Number of non-deleted points in the segment."}},"required":["uuid","points_count"],"title":"OptimizationSegmentInfo"},"ProgressTree":{"type":"object","properties":{"name":{"type":"string","description":"Name of the operation."},"started_at":{"type":["string","null"],"format":"date-time","description":"When the operation started."},"finished_at":{"type":["string","null"],"format":"date-time","description":"When the operation finished."},"duration_sec":{"type":["number","null"],"format":"double","description":"For finished operations, how long they took, in seconds."},"done":{"type":["integer","null"],"format":"uint64","description":"Number of completed units of work, if applicable."},"total":{"type":["integer","null"],"format":"uint64","description":"Total number of units of work, if applicable and known."},"children":{"type":"array","items":{"$ref":"#/components/schemas/ProgressTree"},"description":"Child operations."}},"required":["name"],"title":"ProgressTree"},"Optimization":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid","description":"Unique identifier of the optimization process.\n\nAfter the optimization is complete, a new segment will be created with this UUID."},"optimizer":{"type":"string","description":"Name of the optimizer that performed this optimization."},"status":{"$ref":"#/components/schemas/TrackerStatus"},"segments":{"type":"array","items":{"$ref":"#/components/schemas/OptimizationSegmentInfo"},"description":"Segments being optimized.\n\nAfter the optimization is complete, these segments will be replaced by the new optimized segment."},"progress":{"$ref":"#/components/schemas/ProgressTree"}},"required":["uuid","optimizer","status","segments","progress"],"title":"Optimization"},"PendingOptimization":{"type":"object","properties":{"optimizer":{"type":"string","description":"Name of the optimizer that scheduled this optimization."},"segments":{"type":"array","items":{"$ref":"#/components/schemas/OptimizationSegmentInfo"},"description":"Segments that will be optimized."}},"required":["optimizer","segments"],"title":"PendingOptimization"},"OptimizationsResponse":{"type":"object","properties":{"summary":{"$ref":"#/components/schemas/OptimizationsSummary"},"running":{"type":"array","items":{"$ref":"#/components/schemas/Optimization"},"description":"Currently running optimizations."},"queued":{"type":["array","null"],"items":{"$ref":"#/components/schemas/PendingOptimization"},"description":"An estimated queue of pending optimizations. Requires `?with=queued`."},"completed":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Optimization"},"description":"Completed optimizations. Requires `?with=completed`. Limited by `?completed_limit=N`."},"idle_segments":{"type":["array","null"],"items":{"$ref":"#/components/schemas/OptimizationSegmentInfo"},"description":"Segments that don't require optimization. Requires `?with=idle_segments`."}},"required":["summary","running"],"description":"Optimizations progress for the collection","title":"OptimizationsResponse"},"Collections_get_optimizations_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameOptimizationsGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/OptimizationsResponse"}},"title":"Collections_get_optimizations_Response_200"},"ReadConsistencyType":{"type":"string","enum":["majority","quorum","all"],"description":"* `majority` - send N/2+1 random request and return points, which present on all of them\n\n* `quorum` - send requests to all nodes and return points which present on majority of nodes\n\n* `all` - send requests to all nodes and return points which present on all nodes","title":"ReadConsistencyType"},"ReadConsistency":{"oneOf":[{"type":"integer"},{"$ref":"#/components/schemas/ReadConsistencyType"}],"description":"Read consistency parameter\n\nDefines how many replicas should be queried to get the result\n\n* `N` - send N random request and return points, which present on all of them\n\n* `majority` - send N/2+1 random request and return points, which present on all of them\n\n* `quorum` - send requests to all nodes and return points which present on majority of them\n\n* `all` - send requests to all nodes and return points which present on all of them\n\nDefault value is `Factor(1)`","title":"ReadConsistency"},"ShardKey":{"oneOf":[{"type":"string"},{"type":"integer","format":"uint64"}],"title":"ShardKey"},"ShardKeySelector1":{"type":"array","items":{"$ref":"#/components/schemas/ShardKey"},"title":"ShardKeySelector1"},"ShardKeyWithFallback":{"type":"object","properties":{"target":{"$ref":"#/components/schemas/ShardKey"},"fallback":{"$ref":"#/components/schemas/ShardKey"}},"required":["target","fallback"],"title":"ShardKeyWithFallback"},"ShardKeySelector":{"oneOf":[{"$ref":"#/components/schemas/ShardKey"},{"$ref":"#/components/schemas/ShardKeySelector1"},{"$ref":"#/components/schemas/ShardKeyWithFallback"}],"title":"ShardKeySelector"},"PointRequestShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"description":"Specify in which shards to look for the points, if not specified - look in all shards","title":"PointRequestShardKey"},"ExtendedPointId":{"oneOf":[{"type":"integer","format":"uint64"},{"type":"string","format":"uuid"}],"description":"Type, used for specifying point ID in user interface","title":"ExtendedPointId"},"PayloadSelectorInclude":{"type":"object","properties":{"include":{"type":"array","items":{"type":"string"},"description":"Only include this payload keys"}},"required":["include"],"title":"PayloadSelectorInclude"},"PayloadSelectorExclude":{"type":"object","properties":{"exclude":{"type":"array","items":{"type":"string"},"description":"Exclude this fields from returning payload"}},"required":["exclude"],"title":"PayloadSelectorExclude"},"PayloadSelector":{"oneOf":[{"$ref":"#/components/schemas/PayloadSelectorInclude"},{"$ref":"#/components/schemas/PayloadSelectorExclude"}],"description":"Specifies how to treat payload selector","title":"PayloadSelector"},"WithPayloadInterface":{"oneOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}},{"$ref":"#/components/schemas/PayloadSelector"}],"description":"Options for specifying which payload to include or not","title":"WithPayloadInterface"},"PointRequestWithPayload":{"oneOf":[{"$ref":"#/components/schemas/WithPayloadInterface"},{"description":"Any type"}],"description":"Select which payload to return with the response. Default is true.","title":"PointRequestWithPayload"},"WithVector":{"oneOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Options for specifying which vector to include","title":"WithVector"},"PointRequest":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/PointRequestShardKey","description":"Specify in which shards to look for the points, if not specified - look in all shards"},"ids":{"type":"array","items":{"$ref":"#/components/schemas/ExtendedPointId"},"description":"Look for points with ids"},"with_payload":{"$ref":"#/components/schemas/PointRequestWithPayload","description":"Select which payload to return with the response. Default is true."},"with_vector":{"$ref":"#/components/schemas/WithVector"}},"required":["ids"],"title":"PointRequest"},"CollectionsCollectionNamePointsPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsPostResponsesContentApplicationJsonSchemaUsage"},"RecordPayload":{"oneOf":[{"$ref":"#/components/schemas/Payload"},{"description":"Any type"}],"description":"Payload - values assigned to the point","title":"RecordPayload"},"SparseVector":{"type":"object","properties":{"indices":{"type":"array","items":{"type":"integer","format":"uint"},"description":"Indices must be unique"},"values":{"type":"array","items":{"type":"number","format":"double"},"description":"Values and indices must be the same length"}},"required":["indices","values"],"description":"Sparse vector structure","title":"SparseVector"},"VectorOutput":{"oneOf":[{"type":"array","items":{"type":"number","format":"double"}},{"$ref":"#/components/schemas/SparseVector"},{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}}}],"description":"Vector Data stored in Point","title":"VectorOutput"},"VectorStructOutput2":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/VectorOutput"},"title":"VectorStructOutput2"},"VectorStructOutput":{"oneOf":[{"type":"array","items":{"type":"number","format":"double"}},{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}}},{"$ref":"#/components/schemas/VectorStructOutput2"}],"description":"Vector data stored in Point","title":"VectorStructOutput"},"RecordVector":{"oneOf":[{"$ref":"#/components/schemas/VectorStructOutput"},{"description":"Any type"}],"description":"Vector of the point","title":"RecordVector"},"RecordShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKey"},{"description":"Any type"}],"description":"Shard Key","title":"RecordShardKey"},"OrderValue":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"}],"title":"OrderValue"},"RecordOrderValue":{"oneOf":[{"$ref":"#/components/schemas/OrderValue"},{"description":"Any type"}],"title":"RecordOrderValue"},"Record":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ExtendedPointId"},"payload":{"$ref":"#/components/schemas/RecordPayload","description":"Payload - values assigned to the point"},"vector":{"$ref":"#/components/schemas/RecordVector","description":"Vector of the point"},"shard_key":{"$ref":"#/components/schemas/RecordShardKey","description":"Shard Key"},"order_value":{"$ref":"#/components/schemas/RecordOrderValue"}},"required":["id"],"description":"Point data","title":"Record"},"Points_get_points_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}},"title":"Points_get_points_Response_200"},"WriteOrdering":{"type":"string","enum":["weak","medium","strong"],"description":"Defines write ordering guarantees for collection operations\n\n* `weak` - write operations may be reordered, works faster, default\n\n* `medium` - write operations go through dynamically selected leader, may be inconsistent for a short period of time in case of leader change\n\n* `strong` - Write operations go through the permanent leader, consistent, but may be unavailable if leader is down","title":"WriteOrdering"},"Bm25ConfigStopwords":{"oneOf":[{"$ref":"#/components/schemas/StopwordsInterface"},{"description":"Any type"}],"description":"Configuration of the stopwords filter. Supports list of pre-defined languages and custom stopwords. Default: initialized for specified `language` or English if not specified.","title":"Bm25ConfigStopwords"},"Bm25ConfigStemmer":{"oneOf":[{"$ref":"#/components/schemas/StemmingAlgorithm"},{"description":"Any type"}],"description":"Configuration of the stemmer. Processes tokens to their root form. Default: initialized Snowball stemmer for specified `language` or English if not specified.","title":"Bm25ConfigStemmer"},"Bm25Config":{"type":"object","properties":{"k":{"type":"number","format":"double","default":1.2,"description":"Controls term frequency saturation. Higher values mean term frequency has more impact. Default is 1.2"},"b":{"type":"number","format":"double","default":0.75,"description":"Controls document length normalization. Ranges from 0 (no normalization) to 1 (full normalization). Higher values mean longer documents have less impact. Default is 0.75."},"avg_len":{"type":"number","format":"double","default":256,"description":"Expected average document length in the collection. Default is 256."},"tokenizer":{"$ref":"#/components/schemas/TokenizerType"},"language":{"type":["string","null"],"description":"Defines which language to use for text preprocessing. This parameter is used to construct default stopwords filter and stemmer. To disable language-specific processing, set this to `\"language\": \"none\"`. If not specified, English is assumed."},"lowercase":{"type":["boolean","null"],"description":"Lowercase the text before tokenization. Default is `true`."},"ascii_folding":{"type":["boolean","null"],"description":"If true, normalize tokens by folding accented characters to ASCII (e.g., \"ação\" -> \"acao\"). Default is `false`."},"stopwords":{"$ref":"#/components/schemas/Bm25ConfigStopwords","description":"Configuration of the stopwords filter. Supports list of pre-defined languages and custom stopwords. Default: initialized for specified `language` or English if not specified."},"stemmer":{"$ref":"#/components/schemas/Bm25ConfigStemmer","description":"Configuration of the stemmer. Processes tokens to their root form. Default: initialized Snowball stemmer for specified `language` or English if not specified."},"min_token_len":{"type":["integer","null"],"description":"Minimum token length to keep. If token is shorter than this, it will be discarded. Default is `None`, which means no minimum length."},"max_token_len":{"type":["integer","null"],"description":"Maximum token length to keep. If token is longer than this, it will be discarded. Default is `None`, which means no maximum length."}},"description":"Configuration of the local bm25 models.","title":"Bm25Config"},"DocumentOptions":{"oneOf":[{"type":"object","additionalProperties":{"description":"Any type"}},{"$ref":"#/components/schemas/Bm25Config"}],"description":"Option variants for text documents. Ether general-purpose options or BM25-specific options. BM25-specific will only take effect if the `qdrant/bm25` is specified as a model.","title":"DocumentOptions"},"Document":{"type":"object","properties":{"text":{"type":"string","description":"Text of the document. This field will be used as input for the embedding model."},"model":{"type":"string","description":"Name of the model used to generate the vector. List of available models depends on a provider."},"options":{"$ref":"#/components/schemas/DocumentOptions","description":"Additional options for the model, will be passed to the inference service as-is. See model cards for available options."}},"required":["text","model"],"description":"WARN: Work-in-progress, unimplemented\n\nText document for embedding. Requires inference infrastructure, unimplemented.","title":"Document"},"Image":{"type":"object","properties":{"image":{"description":"Image data: base64 encoded image or an URL"},"model":{"type":"string","description":"Name of the model used to generate the vector. List of available models depends on a provider."},"options":{"type":["object","null"],"additionalProperties":{"description":"Any type"},"description":"Parameters for the model Values of the parameters are model-specific"}},"required":["image","model"],"description":"WARN: Work-in-progress, unimplemented\n\nImage object for embedding. Requires inference infrastructure, unimplemented.","title":"Image"},"InferenceObject":{"type":"object","properties":{"object":{"description":"Arbitrary data, used as input for the embedding model. Used if the model requires more than one input or a custom input."},"model":{"type":"string","description":"Name of the model used to generate the vector. List of available models depends on a provider."},"options":{"type":["object","null"],"additionalProperties":{"description":"Any type"},"description":"Parameters for the model Values of the parameters are model-specific"}},"required":["object","model"],"description":"WARN: Work-in-progress, unimplemented\n\nCustom object for embedding. Requires inference infrastructure, unimplemented.","title":"InferenceObject"},"Vector":{"oneOf":[{"type":"array","items":{"type":"number","format":"double"}},{"$ref":"#/components/schemas/SparseVector"},{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}}},{"$ref":"#/components/schemas/Document"},{"$ref":"#/components/schemas/Image"},{"$ref":"#/components/schemas/InferenceObject"}],"description":"Vector Data Vectors can be described directly with values Or specified with source \"objects\" for inference","title":"Vector"},"BatchVectorStruct2":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/Vector"}},"title":"BatchVectorStruct2"},"BatchVectorStruct3":{"type":"array","items":{"$ref":"#/components/schemas/Document"},"title":"BatchVectorStruct3"},"BatchVectorStruct4":{"type":"array","items":{"$ref":"#/components/schemas/Image"},"title":"BatchVectorStruct4"},"BatchVectorStruct5":{"type":"array","items":{"$ref":"#/components/schemas/InferenceObject"},"title":"BatchVectorStruct5"},"BatchVectorStruct":{"oneOf":[{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}}},{"type":"array","items":{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}}}},{"$ref":"#/components/schemas/BatchVectorStruct2"},{"$ref":"#/components/schemas/BatchVectorStruct3"},{"$ref":"#/components/schemas/BatchVectorStruct4"},{"$ref":"#/components/schemas/BatchVectorStruct5"}],"title":"BatchVectorStruct"},"BatchPayloadsItems":{"oneOf":[{"$ref":"#/components/schemas/Payload"},{"description":"Any type"}],"title":"BatchPayloadsItems"},"Batch":{"type":"object","properties":{"ids":{"type":"array","items":{"$ref":"#/components/schemas/ExtendedPointId"}},"vectors":{"$ref":"#/components/schemas/BatchVectorStruct"},"payloads":{"type":["array","null"],"items":{"$ref":"#/components/schemas/BatchPayloadsItems"}}},"required":["ids","vectors"],"title":"Batch"},"PointsBatchShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"title":"PointsBatchShardKey"},"ValueVariants":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"boolean"}],"title":"ValueVariants"},"MatchValue":{"type":"object","properties":{"value":{"$ref":"#/components/schemas/ValueVariants"}},"required":["value"],"description":"Exact match of the given value","title":"MatchValue"},"MatchText":{"type":"object","properties":{"text":{"type":"string"}},"required":["text"],"description":"Full-text match of the strings.","title":"MatchText"},"MatchTextAny":{"type":"object","properties":{"text_any":{"type":"string"}},"required":["text_any"],"description":"Full-text match of at least one token of the string.","title":"MatchTextAny"},"MatchPhrase":{"type":"object","properties":{"phrase":{"type":"string"}},"required":["phrase"],"description":"Full-text phrase match of the string.","title":"MatchPhrase"},"AnyVariants":{"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"integer","format":"int64"}}],"title":"AnyVariants"},"MatchAny":{"type":"object","properties":{"any":{"$ref":"#/components/schemas/AnyVariants"}},"required":["any"],"description":"Exact match on any of the given values","title":"MatchAny"},"MatchExcept":{"type":"object","properties":{"except":{"$ref":"#/components/schemas/AnyVariants"}},"required":["except"],"description":"Should have at least one value not matching the any given values","title":"MatchExcept"},"Match":{"oneOf":[{"$ref":"#/components/schemas/MatchValue"},{"$ref":"#/components/schemas/MatchText"},{"$ref":"#/components/schemas/MatchTextAny"},{"$ref":"#/components/schemas/MatchPhrase"},{"$ref":"#/components/schemas/MatchAny"},{"$ref":"#/components/schemas/MatchExcept"}],"description":"Match filter request","title":"Match"},"FieldConditionMatch":{"oneOf":[{"$ref":"#/components/schemas/Match"},{"description":"Any type"}],"description":"Check if point has field with a given value","title":"FieldConditionMatch"},"Range":{"type":"object","properties":{"lt":{"type":["number","null"],"format":"double","description":"point.key < range.lt"},"gt":{"type":["number","null"],"format":"double","description":"point.key > range.gt"},"gte":{"type":["number","null"],"format":"double","description":"point.key >= range.gte"},"lte":{"type":["number","null"],"format":"double","description":"point.key <= range.lte"}},"description":"Range filter request","title":"Range"},"DatetimeRange":{"type":"object","properties":{"lt":{"type":["string","null"],"format":"date-time","description":"point.key < range.lt"},"gt":{"type":["string","null"],"format":"date-time","description":"point.key > range.gt"},"gte":{"type":["string","null"],"format":"date-time","description":"point.key >= range.gte"},"lte":{"type":["string","null"],"format":"date-time","description":"point.key <= range.lte"}},"description":"Range filter request","title":"DatetimeRange"},"RangeInterface":{"oneOf":[{"$ref":"#/components/schemas/Range"},{"$ref":"#/components/schemas/DatetimeRange"}],"title":"RangeInterface"},"FieldConditionRange":{"oneOf":[{"$ref":"#/components/schemas/RangeInterface"},{"description":"Any type"}],"description":"Check if points value lies in a given range","title":"FieldConditionRange"},"GeoPoint":{"type":"object","properties":{"lon":{"type":"number","format":"double"},"lat":{"type":"number","format":"double"}},"required":["lon","lat"],"description":"Geo point payload schema","title":"GeoPoint"},"GeoBoundingBox":{"type":"object","properties":{"top_left":{"$ref":"#/components/schemas/GeoPoint"},"bottom_right":{"$ref":"#/components/schemas/GeoPoint"}},"required":["top_left","bottom_right"],"description":"Geo filter request\n\nMatches coordinates inside the rectangle, described by coordinates of lop-left and bottom-right edges","title":"GeoBoundingBox"},"FieldConditionGeoBoundingBox":{"oneOf":[{"$ref":"#/components/schemas/GeoBoundingBox"},{"description":"Any type"}],"description":"Check if points geolocation lies in a given area","title":"FieldConditionGeoBoundingBox"},"GeoRadius":{"type":"object","properties":{"center":{"$ref":"#/components/schemas/GeoPoint"},"radius":{"type":"number","format":"double","description":"Radius of the area in meters"}},"required":["center","radius"],"description":"Geo filter request\n\nMatches coordinates inside the circle of `radius` and center with coordinates `center`","title":"GeoRadius"},"FieldConditionGeoRadius":{"oneOf":[{"$ref":"#/components/schemas/GeoRadius"},{"description":"Any type"}],"description":"Check if geo point is within a given radius","title":"FieldConditionGeoRadius"},"GeoLineString":{"type":"object","properties":{"points":{"type":"array","items":{"$ref":"#/components/schemas/GeoPoint"}}},"required":["points"],"description":"Ordered sequence of GeoPoints representing the line","title":"GeoLineString"},"GeoPolygon":{"type":"object","properties":{"exterior":{"$ref":"#/components/schemas/GeoLineString"},"interiors":{"type":["array","null"],"items":{"$ref":"#/components/schemas/GeoLineString"},"description":"Interior lines (if present) bound holes within the surface each GeoLineString must consist of a minimum of 4 points, and the first and last points must be the same."}},"required":["exterior"],"description":"Geo filter request\n\nMatches coordinates inside the polygon, defined by `exterior` and `interiors`","title":"GeoPolygon"},"FieldConditionGeoPolygon":{"oneOf":[{"$ref":"#/components/schemas/GeoPolygon"},{"description":"Any type"}],"description":"Check if geo point is within a given polygon","title":"FieldConditionGeoPolygon"},"ValuesCount":{"type":"object","properties":{"lt":{"type":["integer","null"],"description":"point.key.length() < values_count.lt"},"gt":{"type":["integer","null"],"description":"point.key.length() > values_count.gt"},"gte":{"type":["integer","null"],"description":"point.key.length() >= values_count.gte"},"lte":{"type":["integer","null"],"description":"point.key.length() <= values_count.lte"}},"description":"Values count filter request","title":"ValuesCount"},"FieldConditionValuesCount":{"oneOf":[{"$ref":"#/components/schemas/ValuesCount"},{"description":"Any type"}],"description":"Check number of values of the field","title":"FieldConditionValuesCount"},"FieldCondition":{"type":"object","properties":{"key":{"type":"string","description":"Payload key"},"match":{"$ref":"#/components/schemas/FieldConditionMatch","description":"Check if point has field with a given value"},"range":{"$ref":"#/components/schemas/FieldConditionRange","description":"Check if points value lies in a given range"},"geo_bounding_box":{"$ref":"#/components/schemas/FieldConditionGeoBoundingBox","description":"Check if points geolocation lies in a given area"},"geo_radius":{"$ref":"#/components/schemas/FieldConditionGeoRadius","description":"Check if geo point is within a given radius"},"geo_polygon":{"$ref":"#/components/schemas/FieldConditionGeoPolygon","description":"Check if geo point is within a given polygon"},"values_count":{"$ref":"#/components/schemas/FieldConditionValuesCount","description":"Check number of values of the field"},"is_empty":{"type":["boolean","null"],"description":"Check that the field is empty, alternative syntax for `is_empty: \"field_name\"`"},"is_null":{"type":["boolean","null"],"description":"Check that the field is null, alternative syntax for `is_null: \"field_name\"`"}},"required":["key"],"description":"All possible payload filtering conditions","title":"FieldCondition"},"PayloadField":{"type":"object","properties":{"key":{"type":"string","description":"Payload field name"}},"required":["key"],"description":"Payload field","title":"PayloadField"},"IsEmptyCondition":{"type":"object","properties":{"is_empty":{"$ref":"#/components/schemas/PayloadField"}},"required":["is_empty"],"description":"Select points with empty payload for a specified field","title":"IsEmptyCondition"},"IsNullCondition":{"type":"object","properties":{"is_null":{"$ref":"#/components/schemas/PayloadField"}},"required":["is_null"],"description":"Select points with null payload for a specified field","title":"IsNullCondition"},"HasIdCondition":{"type":"object","properties":{"has_id":{"type":"array","items":{"$ref":"#/components/schemas/ExtendedPointId"}}},"required":["has_id"],"description":"ID-based filtering condition","title":"HasIdCondition"},"HasVectorCondition":{"type":"object","properties":{"has_vector":{"type":"string"}},"required":["has_vector"],"description":"Filter points which have specific vector assigned","title":"HasVectorCondition"},"Nested":{"type":"object","properties":{"key":{"type":"string"},"filter":{"$ref":"#/components/schemas/Filter"}},"required":["key","filter"],"description":"Select points with payload for a specified nested field","title":"Nested"},"NestedCondition":{"type":"object","properties":{"nested":{"$ref":"#/components/schemas/Nested"}},"required":["nested"],"title":"NestedCondition"},"Condition":{"oneOf":[{"$ref":"#/components/schemas/FieldCondition"},{"$ref":"#/components/schemas/IsEmptyCondition"},{"$ref":"#/components/schemas/IsNullCondition"},{"$ref":"#/components/schemas/HasIdCondition"},{"$ref":"#/components/schemas/HasVectorCondition"},{"$ref":"#/components/schemas/NestedCondition"},{"$ref":"#/components/schemas/Filter"}],"title":"Condition"},"FilterShould1":{"type":"array","items":{"$ref":"#/components/schemas/Condition"},"title":"FilterShould1"},"FilterShould":{"oneOf":[{"$ref":"#/components/schemas/Condition"},{"$ref":"#/components/schemas/FilterShould1"},{"description":"Any type"}],"description":"At least one of those conditions should match","title":"FilterShould"},"MinShould":{"type":"object","properties":{"conditions":{"type":"array","items":{"$ref":"#/components/schemas/Condition"}},"min_count":{"type":"integer"}},"required":["conditions","min_count"],"title":"MinShould"},"FilterMinShould":{"oneOf":[{"$ref":"#/components/schemas/MinShould"},{"description":"Any type"}],"description":"At least minimum amount of given conditions should match","title":"FilterMinShould"},"FilterMust1":{"type":"array","items":{"$ref":"#/components/schemas/Condition"},"title":"FilterMust1"},"FilterMust":{"oneOf":[{"$ref":"#/components/schemas/Condition"},{"$ref":"#/components/schemas/FilterMust1"},{"description":"Any type"}],"description":"All conditions must match","title":"FilterMust"},"FilterMustNot1":{"type":"array","items":{"$ref":"#/components/schemas/Condition"},"title":"FilterMustNot1"},"FilterMustNot":{"oneOf":[{"$ref":"#/components/schemas/Condition"},{"$ref":"#/components/schemas/FilterMustNot1"},{"description":"Any type"}],"description":"All conditions must NOT match","title":"FilterMustNot"},"Filter":{"type":"object","properties":{"should":{"$ref":"#/components/schemas/FilterShould","description":"At least one of those conditions should match"},"min_should":{"$ref":"#/components/schemas/FilterMinShould","description":"At least minimum amount of given conditions should match"},"must":{"$ref":"#/components/schemas/FilterMust","description":"All conditions must match"},"must_not":{"$ref":"#/components/schemas/FilterMustNot","description":"All conditions must NOT match"}},"title":"Filter"},"PointsBatchUpdateFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Filter to apply when updating existing points. Only points matching this filter will be updated. Points that don't match will keep their current state. New points will be inserted regardless of the filter.","title":"PointsBatchUpdateFilter"},"UpdateMode":{"type":"string","enum":["upsert","insert_only","update_only"],"description":"Defines the mode of the upsert operation\n\n* `upsert` - default mode, insert new points, update existing points * `insert_only` - only insert new points, do not update existing points * `update_only` - only update existing points, do not insert new points","title":"UpdateMode"},"PointsBatchUpdateMode":{"oneOf":[{"$ref":"#/components/schemas/UpdateMode"},{"description":"Any type"}],"description":"Mode of the upsert operation: insert_only, upsert (default), update_only","title":"PointsBatchUpdateMode"},"PointsBatch":{"type":"object","properties":{"batch":{"$ref":"#/components/schemas/Batch"},"shard_key":{"$ref":"#/components/schemas/PointsBatchShardKey"},"update_filter":{"$ref":"#/components/schemas/PointsBatchUpdateFilter","description":"Filter to apply when updating existing points. Only points matching this filter will be updated. Points that don't match will keep their current state. New points will be inserted regardless of the filter."},"update_mode":{"$ref":"#/components/schemas/PointsBatchUpdateMode","description":"Mode of the upsert operation: insert_only, upsert (default), update_only"}},"required":["batch"],"title":"PointsBatch"},"VectorStruct2":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Vector"},"title":"VectorStruct2"},"VectorStruct":{"oneOf":[{"type":"array","items":{"type":"number","format":"double"}},{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}}},{"$ref":"#/components/schemas/VectorStruct2"},{"$ref":"#/components/schemas/Document"},{"$ref":"#/components/schemas/Image"},{"$ref":"#/components/schemas/InferenceObject"}],"description":"Full vector data per point separator with single and multiple vector modes","title":"VectorStruct"},"PointStructPayload":{"oneOf":[{"$ref":"#/components/schemas/Payload"},{"description":"Any type"}],"description":"Payload values (optional)","title":"PointStructPayload"},"PointStruct":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ExtendedPointId"},"vector":{"$ref":"#/components/schemas/VectorStruct"},"payload":{"$ref":"#/components/schemas/PointStructPayload","description":"Payload values (optional)"}},"required":["id","vector"],"title":"PointStruct"},"PointsListShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"title":"PointsListShardKey"},"PointsListUpdateFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Filter to apply when updating existing points. Only points matching this filter will be updated. Points that don't match will keep their current state. New points will be inserted regardless of the filter.","title":"PointsListUpdateFilter"},"PointsListUpdateMode":{"oneOf":[{"$ref":"#/components/schemas/UpdateMode"},{"description":"Any type"}],"description":"Mode of the upsert operation: insert_only, upsert (default), update_only","title":"PointsListUpdateMode"},"PointsList":{"type":"object","properties":{"points":{"type":"array","items":{"$ref":"#/components/schemas/PointStruct"}},"shard_key":{"$ref":"#/components/schemas/PointsListShardKey"},"update_filter":{"$ref":"#/components/schemas/PointsListUpdateFilter","description":"Filter to apply when updating existing points. Only points matching this filter will be updated. Points that don't match will keep their current state. New points will be inserted regardless of the filter."},"update_mode":{"$ref":"#/components/schemas/PointsListUpdateMode","description":"Mode of the upsert operation: insert_only, upsert (default), update_only"}},"required":["points"],"title":"PointsList"},"PointInsertOperations":{"oneOf":[{"$ref":"#/components/schemas/PointsBatch"},{"$ref":"#/components/schemas/PointsList"}],"title":"PointInsertOperations"},"CollectionsCollectionNamePointsPutResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsPutResponsesContentApplicationJsonSchemaUsage"},"UpdateStatus":{"type":"string","enum":["acknowledged","completed","wait_timeout"],"description":"`Acknowledged` - Request is saved to WAL and will be process in a queue. `Completed` - Request is completed, changes are actual. `WaitTimeout` - Request is waiting for timeout.","title":"UpdateStatus"},"UpdateResult":{"type":"object","properties":{"operation_id":{"type":["integer","null"],"format":"uint64","description":"Sequential number of the operation"},"status":{"$ref":"#/components/schemas/UpdateStatus"}},"required":["status"],"title":"UpdateResult"},"Points_upsert_points_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsPutResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/UpdateResult"}},"title":"Points_upsert_points_Response_200"},"CollectionsCollectionNamePointsIdGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsIdGetResponsesContentApplicationJsonSchemaUsage"},"Points_get_point_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsIdGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/Record"}},"title":"Points_get_point_Response_200"},"PointIdsListShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"title":"PointIdsListShardKey"},"PointIdsList":{"type":"object","properties":{"points":{"type":"array","items":{"$ref":"#/components/schemas/ExtendedPointId"}},"shard_key":{"$ref":"#/components/schemas/PointIdsListShardKey"}},"required":["points"],"title":"PointIdsList"},"FilterSelectorShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"title":"FilterSelectorShardKey"},"FilterSelector":{"type":"object","properties":{"filter":{"$ref":"#/components/schemas/Filter"},"shard_key":{"$ref":"#/components/schemas/FilterSelectorShardKey"}},"required":["filter"],"title":"FilterSelector"},"PointsSelector":{"oneOf":[{"$ref":"#/components/schemas/PointIdsList"},{"$ref":"#/components/schemas/FilterSelector"}],"title":"PointsSelector"},"CollectionsCollectionNamePointsDeletePostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsDeletePostResponsesContentApplicationJsonSchemaUsage"},"Points_delete_points_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsDeletePostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/UpdateResult"}},"title":"Points_delete_points_Response_200"},"PointVectors":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ExtendedPointId"},"vector":{"$ref":"#/components/schemas/VectorStruct"}},"required":["id","vector"],"title":"PointVectors"},"UpdateVectorsShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"title":"UpdateVectorsShardKey"},"UpdateVectorsUpdateFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"title":"UpdateVectorsUpdateFilter"},"UpdateVectors":{"type":"object","properties":{"points":{"type":"array","items":{"$ref":"#/components/schemas/PointVectors"},"description":"Points with named vectors"},"shard_key":{"$ref":"#/components/schemas/UpdateVectorsShardKey"},"update_filter":{"$ref":"#/components/schemas/UpdateVectorsUpdateFilter"}},"required":["points"],"title":"UpdateVectors"},"CollectionsCollectionNamePointsVectorsPutResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsVectorsPutResponsesContentApplicationJsonSchemaUsage"},"Points_update_vectors_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsVectorsPutResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/UpdateResult"}},"title":"Points_update_vectors_Response_200"},"DeleteVectorsFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Deletes values from points that satisfy this filter condition","title":"DeleteVectorsFilter"},"DeleteVectorsShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"title":"DeleteVectorsShardKey"},"DeleteVectors":{"type":"object","properties":{"points":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ExtendedPointId"},"description":"Deletes values from each point in this list"},"filter":{"$ref":"#/components/schemas/DeleteVectorsFilter","description":"Deletes values from points that satisfy this filter condition"},"vector":{"type":"array","items":{"type":"string"},"description":"Vector names"},"shard_key":{"$ref":"#/components/schemas/DeleteVectorsShardKey"}},"required":["vector"],"title":"DeleteVectors"},"CollectionsCollectionNamePointsVectorsDeletePostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsVectorsDeletePostResponsesContentApplicationJsonSchemaUsage"},"Points_delete_vectors_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsVectorsDeletePostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/UpdateResult"}},"title":"Points_delete_vectors_Response_200"},"SetPayloadFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Assigns payload to each point that satisfy this filter condition","title":"SetPayloadFilter"},"SetPayloadShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"title":"SetPayloadShardKey"},"SetPayload":{"type":"object","properties":{"payload":{"$ref":"#/components/schemas/Payload"},"points":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ExtendedPointId"},"description":"Assigns payload to each point in this list"},"filter":{"$ref":"#/components/schemas/SetPayloadFilter","description":"Assigns payload to each point that satisfy this filter condition"},"shard_key":{"$ref":"#/components/schemas/SetPayloadShardKey"},"key":{"type":["string","null"],"description":"Assigns payload to each point that satisfy this path of property"}},"required":["payload"],"description":"This data structure is used in API interface and applied across multiple shards","title":"SetPayload"},"CollectionsCollectionNamePointsPayloadPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsPayloadPostResponsesContentApplicationJsonSchemaUsage"},"Points_set_payload_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsPayloadPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/UpdateResult"}},"title":"Points_set_payload_Response_200"},"CollectionsCollectionNamePointsPayloadPutResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsPayloadPutResponsesContentApplicationJsonSchemaUsage"},"Points_overwrite_payload_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsPayloadPutResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/UpdateResult"}},"title":"Points_overwrite_payload_Response_200"},"DeletePayloadFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Deletes values from points that satisfy this filter condition","title":"DeletePayloadFilter"},"DeletePayloadShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"title":"DeletePayloadShardKey"},"DeletePayload":{"type":"object","properties":{"keys":{"type":"array","items":{"type":"string"},"description":"List of payload keys to remove from payload"},"points":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ExtendedPointId"},"description":"Deletes values from each point in this list"},"filter":{"$ref":"#/components/schemas/DeletePayloadFilter","description":"Deletes values from points that satisfy this filter condition"},"shard_key":{"$ref":"#/components/schemas/DeletePayloadShardKey"}},"required":["keys"],"description":"This data structure is used in API interface and applied across multiple shards","title":"DeletePayload"},"CollectionsCollectionNamePointsPayloadDeletePostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsPayloadDeletePostResponsesContentApplicationJsonSchemaUsage"},"Points_delete_payload_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsPayloadDeletePostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/UpdateResult"}},"title":"Points_delete_payload_Response_200"},"CollectionsCollectionNamePointsPayloadClearPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsPayloadClearPostResponsesContentApplicationJsonSchemaUsage"},"Points_clear_payload_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsPayloadClearPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/UpdateResult"}},"title":"Points_clear_payload_Response_200"},"UpsertOperation":{"type":"object","properties":{"upsert":{"$ref":"#/components/schemas/PointInsertOperations"}},"required":["upsert"],"title":"UpsertOperation"},"DeleteOperation":{"type":"object","properties":{"delete":{"$ref":"#/components/schemas/PointsSelector"}},"required":["delete"],"title":"DeleteOperation"},"SetPayloadOperation":{"type":"object","properties":{"set_payload":{"$ref":"#/components/schemas/SetPayload"}},"required":["set_payload"],"title":"SetPayloadOperation"},"OverwritePayloadOperation":{"type":"object","properties":{"overwrite_payload":{"$ref":"#/components/schemas/SetPayload"}},"required":["overwrite_payload"],"title":"OverwritePayloadOperation"},"DeletePayloadOperation":{"type":"object","properties":{"delete_payload":{"$ref":"#/components/schemas/DeletePayload"}},"required":["delete_payload"],"title":"DeletePayloadOperation"},"ClearPayloadOperation":{"type":"object","properties":{"clear_payload":{"$ref":"#/components/schemas/PointsSelector"}},"required":["clear_payload"],"title":"ClearPayloadOperation"},"UpdateVectorsOperation":{"type":"object","properties":{"update_vectors":{"$ref":"#/components/schemas/UpdateVectors"}},"required":["update_vectors"],"title":"UpdateVectorsOperation"},"DeleteVectorsOperation":{"type":"object","properties":{"delete_vectors":{"$ref":"#/components/schemas/DeleteVectors"}},"required":["delete_vectors"],"title":"DeleteVectorsOperation"},"UpdateOperation":{"oneOf":[{"$ref":"#/components/schemas/UpsertOperation"},{"$ref":"#/components/schemas/DeleteOperation"},{"$ref":"#/components/schemas/SetPayloadOperation"},{"$ref":"#/components/schemas/OverwritePayloadOperation"},{"$ref":"#/components/schemas/DeletePayloadOperation"},{"$ref":"#/components/schemas/ClearPayloadOperation"},{"$ref":"#/components/schemas/UpdateVectorsOperation"},{"$ref":"#/components/schemas/DeleteVectorsOperation"}],"title":"UpdateOperation"},"UpdateOperations":{"type":"object","properties":{"operations":{"type":"array","items":{"$ref":"#/components/schemas/UpdateOperation"}}},"required":["operations"],"title":"UpdateOperations"},"CollectionsCollectionNamePointsBatchPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsBatchPostResponsesContentApplicationJsonSchemaUsage"},"Points_batch_update_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsBatchPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"array","items":{"$ref":"#/components/schemas/UpdateResult"}}},"title":"Points_batch_update_Response_200"},"ScrollRequestShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"description":"Specify in which shards to look for the points, if not specified - look in all shards","title":"ScrollRequestShardKey"},"ScrollRequestOffset":{"oneOf":[{"$ref":"#/components/schemas/ExtendedPointId"},{"description":"Any type"}],"description":"Start ID to read points from.","title":"ScrollRequestOffset"},"ScrollRequestFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Look only for points which satisfies this conditions. If not provided - all points.","title":"ScrollRequestFilter"},"ScrollRequestWithPayload":{"oneOf":[{"$ref":"#/components/schemas/WithPayloadInterface"},{"description":"Any type"}],"description":"Select which payload to return with the response. Default is true.","title":"ScrollRequestWithPayload"},"Direction":{"type":"string","enum":["asc","desc"],"title":"Direction"},"OrderByDirection":{"oneOf":[{"$ref":"#/components/schemas/Direction"},{"description":"Any type"}],"description":"Direction of ordering: `asc` or `desc`. Default is ascending.","title":"OrderByDirection"},"StartFrom":{"oneOf":[{"type":"integer","format":"int64"},{"type":"number","format":"double"},{"type":"string","format":"date-time"}],"title":"StartFrom"},"OrderByStartFrom":{"oneOf":[{"$ref":"#/components/schemas/StartFrom"},{"description":"Any type"}],"description":"Which payload value to start scrolling from. Default is the lowest value for `asc` and the highest for `desc`","title":"OrderByStartFrom"},"OrderBy":{"type":"object","properties":{"key":{"type":"string","description":"Payload key to order by"},"direction":{"$ref":"#/components/schemas/OrderByDirection","description":"Direction of ordering: `asc` or `desc`. Default is ascending."},"start_from":{"$ref":"#/components/schemas/OrderByStartFrom","description":"Which payload value to start scrolling from. Default is the lowest value for `asc` and the highest for `desc`"}},"required":["key"],"title":"OrderBy"},"OrderByInterface":{"oneOf":[{"type":"string"},{"$ref":"#/components/schemas/OrderBy"}],"title":"OrderByInterface"},"ScrollRequestOrderBy":{"oneOf":[{"$ref":"#/components/schemas/OrderByInterface"},{"description":"Any type"}],"description":"Order the records by a payload field.","title":"ScrollRequestOrderBy"},"ScrollRequest":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/ScrollRequestShardKey","description":"Specify in which shards to look for the points, if not specified - look in all shards"},"offset":{"$ref":"#/components/schemas/ScrollRequestOffset","description":"Start ID to read points from."},"limit":{"type":["integer","null"],"description":"Page size. Default: 10"},"filter":{"$ref":"#/components/schemas/ScrollRequestFilter","description":"Look only for points which satisfies this conditions. If not provided - all points."},"with_payload":{"$ref":"#/components/schemas/ScrollRequestWithPayload","description":"Select which payload to return with the response. Default is true."},"with_vector":{"$ref":"#/components/schemas/WithVector"},"order_by":{"$ref":"#/components/schemas/ScrollRequestOrderBy","description":"Order the records by a payload field."}},"description":"Scroll request - paginate over all points which matches given condition","title":"ScrollRequest"},"CollectionsCollectionNamePointsScrollPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsScrollPostResponsesContentApplicationJsonSchemaUsage"},"ScrollResultNextPageOffset":{"oneOf":[{"$ref":"#/components/schemas/ExtendedPointId"},{"description":"Any type"}],"description":"Offset which should be used to retrieve a next page result","title":"ScrollResultNextPageOffset"},"ScrollResult":{"type":"object","properties":{"points":{"type":"array","items":{"$ref":"#/components/schemas/Record"},"description":"List of retrieved points"},"next_page_offset":{"$ref":"#/components/schemas/ScrollResultNextPageOffset","description":"Offset which should be used to retrieve a next page result"}},"required":["points"],"description":"Result of the points read request","title":"ScrollResult"},"Points_scroll_points_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsScrollPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/ScrollResult"}},"title":"Points_scroll_points_Response_200"},"CountRequestShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"description":"Specify in which shards to look for the points, if not specified - look in all shards","title":"CountRequestShardKey"},"CountRequestFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Look only for points which satisfies this conditions","title":"CountRequestFilter"},"CountRequest":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/CountRequestShardKey","description":"Specify in which shards to look for the points, if not specified - look in all shards"},"filter":{"$ref":"#/components/schemas/CountRequestFilter","description":"Look only for points which satisfies this conditions"},"exact":{"type":"boolean","default":true,"description":"If true, count exact number of points. If false, count approximate number of points faster. Approximate count might be unreliable during the indexing process. Default: true"}},"description":"Count Request Counts the number of points which satisfy the given filter. If filter is not provided, the count of all points in the collection will be returned.","title":"CountRequest"},"CollectionsCollectionNamePointsCountPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsCountPostResponsesContentApplicationJsonSchemaUsage"},"CountResult":{"type":"object","properties":{"count":{"type":"integer","description":"Number of points which satisfy the conditions"}},"required":["count"],"title":"CountResult"},"Points_count_points_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsCountPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/CountResult"}},"title":"Points_count_points_Response_200"},"FacetRequestShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"title":"FacetRequestShardKey"},"FacetRequestFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Filter conditions - only consider points that satisfy these conditions.","title":"FacetRequestFilter"},"FacetRequest":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/FacetRequestShardKey"},"key":{"type":"string","description":"Payload key to use for faceting."},"limit":{"type":["integer","null"],"description":"Max number of hits to return. Default is 10."},"filter":{"$ref":"#/components/schemas/FacetRequestFilter","description":"Filter conditions - only consider points that satisfy these conditions."},"exact":{"type":["boolean","null"],"description":"Whether to do a more expensive exact count for each of the values in the facet. Default is false."}},"required":["key"],"title":"FacetRequest"},"CollectionsCollectionNameFacetPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameFacetPostResponsesContentApplicationJsonSchemaUsage"},"FacetValue":{"oneOf":[{"type":"string"},{"type":"integer","format":"int64"},{"type":"boolean"}],"title":"FacetValue"},"FacetValueHit":{"type":"object","properties":{"value":{"$ref":"#/components/schemas/FacetValue"},"count":{"type":"integer"}},"required":["value","count"],"title":"FacetValueHit"},"FacetResponse":{"type":"object","properties":{"hits":{"type":"array","items":{"$ref":"#/components/schemas/FacetValueHit"}}},"required":["hits"],"title":"FacetResponse"},"Points_facet_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameFacetPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/FacetResponse"}},"title":"Points_facet_Response_200"},"SearchRequestShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"description":"Specify in which shards to look for the points, if not specified - look in all shards","title":"SearchRequestShardKey"},"NamedVector":{"type":"object","properties":{"name":{"type":"string","description":"Name of vector data"},"vector":{"type":"array","items":{"type":"number","format":"double"},"description":"Vector data"}},"required":["name","vector"],"description":"Dense vector data with name","title":"NamedVector"},"NamedSparseVector":{"type":"object","properties":{"name":{"type":"string","description":"Name of vector data"},"vector":{"$ref":"#/components/schemas/SparseVector"}},"required":["name","vector"],"description":"Sparse vector data with name","title":"NamedSparseVector"},"NamedVectorStruct":{"oneOf":[{"type":"array","items":{"type":"number","format":"double"}},{"$ref":"#/components/schemas/NamedVector"},{"$ref":"#/components/schemas/NamedSparseVector"}],"description":"Vector data separator for named and unnamed modes Unnamed mode:\n\n{ \"vector\": [1.0, 2.0, 3.0] }\n\nor named mode:\n\n{ \"vector\": { \"vector\": [1.0, 2.0, 3.0], \"name\": \"image-embeddings\" } }","title":"NamedVectorStruct"},"SearchRequestFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Look only for points which satisfies this conditions","title":"SearchRequestFilter"},"QuantizationSearchParams":{"type":"object","properties":{"ignore":{"type":"boolean","default":false,"description":"If true, quantized vectors are ignored. Default is false."},"rescore":{"type":["boolean","null"],"description":"If true, use original vectors to re-score top-k results. Might require more time in case if original vectors are stored on disk. If not set, qdrant decides automatically apply rescoring or not."},"oversampling":{"type":["number","null"],"format":"double","description":"Oversampling factor for quantization. Default is 1.0.\n\nDefines how many extra vectors should be pre-selected using quantized index, and then re-scored using original vectors.\n\nFor example, if `oversampling` is 2.4 and `limit` is 100, then 240 vectors will be pre-selected using quantized index, and then top-100 will be returned after re-scoring."}},"description":"Additional parameters of the search","title":"QuantizationSearchParams"},"SearchParamsQuantization":{"oneOf":[{"$ref":"#/components/schemas/QuantizationSearchParams"},{"description":"Any type"}],"description":"Quantization params","title":"SearchParamsQuantization"},"AcornSearchParams":{"type":"object","properties":{"enable":{"type":"boolean","default":false,"description":"If true, then ACORN may be used for the HNSW search based on filters selectivity. Improves search recall for searches with multiple low-selectivity payload filters, at cost of performance."},"max_selectivity":{"type":["number","null"],"format":"double","description":"Maximum selectivity of filters to enable ACORN.\n\nIf estimated filters selectivity is higher than this value, ACORN will not be used. Selectivity is estimated as: `estimated number of points satisfying the filters / total number of points`.\n\n0.0 for never, 1.0 for always. Default is 0.4."}},"description":"ACORN-related search parameters","title":"AcornSearchParams"},"SearchParamsAcorn":{"oneOf":[{"$ref":"#/components/schemas/AcornSearchParams"},{"description":"Any type"}],"description":"ACORN search params","title":"SearchParamsAcorn"},"SearchParams":{"type":"object","properties":{"hnsw_ef":{"type":["integer","null"],"description":"Params relevant to HNSW index Size of the beam in a beam-search. Larger the value - more accurate the result, more time required for search."},"exact":{"type":"boolean","default":false,"description":"Search without approximation. If set to true, search may run long but with exact results."},"quantization":{"$ref":"#/components/schemas/SearchParamsQuantization","description":"Quantization params"},"indexed_only":{"type":"boolean","default":false,"description":"If enabled, the engine will only perform search among indexed or small segments. Using this option prevents slow searches in case of delayed index, but does not guarantee that all uploaded vectors will be included in search results"},"acorn":{"$ref":"#/components/schemas/SearchParamsAcorn","description":"ACORN search params"}},"description":"Additional parameters of the search","title":"SearchParams"},"SearchRequestParams":{"oneOf":[{"$ref":"#/components/schemas/SearchParams"},{"description":"Any type"}],"description":"Additional search params","title":"SearchRequestParams"},"SearchRequestWithPayload":{"oneOf":[{"$ref":"#/components/schemas/WithPayloadInterface"},{"description":"Any type"}],"description":"Select which payload to return with the response. Default is false.","title":"SearchRequestWithPayload"},"SearchRequestWithVector":{"oneOf":[{"$ref":"#/components/schemas/WithVector"},{"description":"Any type"}],"description":"Options for specifying which vectors to include into response. Default is false.","title":"SearchRequestWithVector"},"SearchRequest":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/SearchRequestShardKey","description":"Specify in which shards to look for the points, if not specified - look in all shards"},"vector":{"$ref":"#/components/schemas/NamedVectorStruct"},"filter":{"$ref":"#/components/schemas/SearchRequestFilter","description":"Look only for points which satisfies this conditions"},"params":{"$ref":"#/components/schemas/SearchRequestParams","description":"Additional search params"},"limit":{"type":"integer","description":"Max number of result to return"},"offset":{"type":["integer","null"],"description":"Offset of the first result to return. May be used to paginate results. Note: large offset values may cause performance issues."},"with_payload":{"$ref":"#/components/schemas/SearchRequestWithPayload","description":"Select which payload to return with the response. Default is false."},"with_vector":{"$ref":"#/components/schemas/SearchRequestWithVector","description":"Options for specifying which vectors to include into response. Default is false."},"score_threshold":{"type":["number","null"],"format":"double","description":"Define a minimal score threshold for the result. If defined, less similar results will not be returned. Score of the returned result might be higher or smaller than the threshold depending on the Distance function used. E.g. for cosine similarity only higher scores will be returned."}},"required":["vector","limit"],"description":"Search request. Holds all conditions and parameters for the search of most similar points by vector similarity given the filtering restrictions.","title":"SearchRequest"},"CollectionsCollectionNamePointsSearchPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsSearchPostResponsesContentApplicationJsonSchemaUsage"},"ScoredPointPayload":{"oneOf":[{"$ref":"#/components/schemas/Payload"},{"description":"Any type"}],"description":"Payload - values assigned to the point","title":"ScoredPointPayload"},"ScoredPointVector":{"oneOf":[{"$ref":"#/components/schemas/VectorStructOutput"},{"description":"Any type"}],"description":"Vector of the point","title":"ScoredPointVector"},"ScoredPointShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKey"},{"description":"Any type"}],"description":"Shard Key","title":"ScoredPointShardKey"},"ScoredPointOrderValue":{"oneOf":[{"$ref":"#/components/schemas/OrderValue"},{"description":"Any type"}],"description":"Order-by value","title":"ScoredPointOrderValue"},"ScoredPoint":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ExtendedPointId"},"version":{"type":"integer","format":"uint64","description":"Point version"},"score":{"type":"number","format":"double","description":"Points vector distance to the query vector"},"payload":{"$ref":"#/components/schemas/ScoredPointPayload","description":"Payload - values assigned to the point"},"vector":{"$ref":"#/components/schemas/ScoredPointVector","description":"Vector of the point"},"shard_key":{"$ref":"#/components/schemas/ScoredPointShardKey","description":"Shard Key"},"order_value":{"$ref":"#/components/schemas/ScoredPointOrderValue","description":"Order-by value"}},"required":["id","version","score"],"description":"Search result","title":"ScoredPoint"},"Search_points_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsSearchPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"array","items":{"$ref":"#/components/schemas/ScoredPoint"}}},"title":"Search_points_Response_200"},"SearchRequestBatch":{"type":"object","properties":{"searches":{"type":"array","items":{"$ref":"#/components/schemas/SearchRequest"}}},"required":["searches"],"title":"SearchRequestBatch"},"CollectionsCollectionNamePointsSearchBatchPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsSearchBatchPostResponsesContentApplicationJsonSchemaUsage"},"Search_batchPoints_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsSearchBatchPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"array","items":{"type":"array","items":{"$ref":"#/components/schemas/ScoredPoint"}}}},"title":"Search_batchPoints_Response_200"},"SearchGroupsRequestShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"description":"Specify in which shards to look for the points, if not specified - look in all shards","title":"SearchGroupsRequestShardKey"},"SearchGroupsRequestFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Look only for points which satisfies this conditions","title":"SearchGroupsRequestFilter"},"SearchGroupsRequestParams":{"oneOf":[{"$ref":"#/components/schemas/SearchParams"},{"description":"Any type"}],"description":"Additional search params","title":"SearchGroupsRequestParams"},"SearchGroupsRequestWithPayload":{"oneOf":[{"$ref":"#/components/schemas/WithPayloadInterface"},{"description":"Any type"}],"description":"Select which payload to return with the response. Default is false.","title":"SearchGroupsRequestWithPayload"},"SearchGroupsRequestWithVector":{"oneOf":[{"$ref":"#/components/schemas/WithVector"},{"description":"Any type"}],"description":"Options for specifying which vectors to include into response. Default is false.","title":"SearchGroupsRequestWithVector"},"WithLookupWithPayload":{"oneOf":[{"$ref":"#/components/schemas/WithPayloadInterface"},{"description":"Any type"}],"description":"Options for specifying which payload to include (or not)","title":"WithLookupWithPayload"},"WithLookupWithVectors":{"oneOf":[{"$ref":"#/components/schemas/WithVector"},{"description":"Any type"}],"description":"Options for specifying which vectors to include (or not)","title":"WithLookupWithVectors"},"WithLookup":{"type":"object","properties":{"collection":{"type":"string","description":"Name of the collection to use for points lookup"},"with_payload":{"$ref":"#/components/schemas/WithLookupWithPayload","description":"Options for specifying which payload to include (or not)"},"with_vectors":{"$ref":"#/components/schemas/WithLookupWithVectors","description":"Options for specifying which vectors to include (or not)"}},"required":["collection"],"title":"WithLookup"},"WithLookupInterface":{"oneOf":[{"type":"string"},{"$ref":"#/components/schemas/WithLookup"}],"title":"WithLookupInterface"},"SearchGroupsRequestWithLookup":{"oneOf":[{"$ref":"#/components/schemas/WithLookupInterface"},{"description":"Any type"}],"description":"Look for points in another collection using the group ids","title":"SearchGroupsRequestWithLookup"},"SearchGroupsRequest":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/SearchGroupsRequestShardKey","description":"Specify in which shards to look for the points, if not specified - look in all shards"},"vector":{"$ref":"#/components/schemas/NamedVectorStruct"},"filter":{"$ref":"#/components/schemas/SearchGroupsRequestFilter","description":"Look only for points which satisfies this conditions"},"params":{"$ref":"#/components/schemas/SearchGroupsRequestParams","description":"Additional search params"},"with_payload":{"$ref":"#/components/schemas/SearchGroupsRequestWithPayload","description":"Select which payload to return with the response. Default is false."},"with_vector":{"$ref":"#/components/schemas/SearchGroupsRequestWithVector","description":"Options for specifying which vectors to include into response. Default is false."},"score_threshold":{"type":["number","null"],"format":"double","description":"Define a minimal score threshold for the result. If defined, less similar results will not be returned. Score of the returned result might be higher or smaller than the threshold depending on the Distance function used. E.g. for cosine similarity only higher scores will be returned."},"group_by":{"type":"string","description":"Payload field to group by, must be a string or number field. If the field contains more than 1 value, all values will be used for grouping. One point can be in multiple groups."},"group_size":{"type":"integer","format":"uint","description":"Maximum amount of points to return per group"},"limit":{"type":"integer","format":"uint","description":"Maximum amount of groups to return"},"with_lookup":{"$ref":"#/components/schemas/SearchGroupsRequestWithLookup","description":"Look for points in another collection using the group ids"}},"required":["vector","group_by","group_size","limit"],"title":"SearchGroupsRequest"},"CollectionsCollectionNamePointsSearchGroupsPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsSearchGroupsPostResponsesContentApplicationJsonSchemaUsage"},"GroupId":{"oneOf":[{"type":"string"},{"type":"integer","format":"uint64"},{"type":"integer","format":"int64"}],"description":"Value of the group_by key, shared across all the hits in the group","title":"GroupId"},"PointGroupLookup":{"oneOf":[{"$ref":"#/components/schemas/Record"},{"description":"Any type"}],"description":"Record that has been looked up using the group id","title":"PointGroupLookup"},"PointGroup":{"type":"object","properties":{"hits":{"type":"array","items":{"$ref":"#/components/schemas/ScoredPoint"},"description":"Scored points that have the same value of the group_by key"},"id":{"$ref":"#/components/schemas/GroupId"},"lookup":{"$ref":"#/components/schemas/PointGroupLookup","description":"Record that has been looked up using the group id"}},"required":["hits","id"],"title":"PointGroup"},"GroupsResult":{"type":"object","properties":{"groups":{"type":"array","items":{"$ref":"#/components/schemas/PointGroup"}}},"required":["groups"],"title":"GroupsResult"},"Search_pointGroups_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsSearchGroupsPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/GroupsResult"}},"title":"Search_pointGroups_Response_200"},"RecommendRequestShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"description":"Specify in which shards to look for the points, if not specified - look in all shards","title":"RecommendRequestShardKey"},"RecommendExample":{"oneOf":[{"$ref":"#/components/schemas/ExtendedPointId"},{"type":"array","items":{"type":"number","format":"double"}},{"$ref":"#/components/schemas/SparseVector"}],"title":"RecommendExample"},"RecommendStrategy":{"type":"string","enum":["average_vector","best_score","sum_scores"],"description":"How to use positive and negative examples to find the results, default is `average_vector`:\n\n* `average_vector` - Average positive and negative vectors and create a single query with the formula `query = avg_pos + avg_pos - avg_neg`. Then performs normal search.\n\n* `best_score` - Uses custom search objective. Each candidate is compared against all examples, its score is then chosen from the `max(max_pos_score, max_neg_score)`. If the `max_neg_score` is chosen then it is squared and negated, otherwise it is just the `max_pos_score`.\n\n* `sum_scores` - Uses custom search objective. Compares against all inputs, sums all the scores. Scores against positive vectors are added, against negatives are subtracted.","title":"RecommendStrategy"},"RecommendRequestStrategy":{"oneOf":[{"$ref":"#/components/schemas/RecommendStrategy"},{"description":"Any type"}],"description":"How to use positive and negative examples to find the results","title":"RecommendRequestStrategy"},"RecommendRequestFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Look only for points which satisfies this conditions","title":"RecommendRequestFilter"},"RecommendRequestParams":{"oneOf":[{"$ref":"#/components/schemas/SearchParams"},{"description":"Any type"}],"description":"Additional search params","title":"RecommendRequestParams"},"RecommendRequestWithPayload":{"oneOf":[{"$ref":"#/components/schemas/WithPayloadInterface"},{"description":"Any type"}],"description":"Select which payload to return with the response. Default is false.","title":"RecommendRequestWithPayload"},"RecommendRequestWithVector":{"oneOf":[{"$ref":"#/components/schemas/WithVector"},{"description":"Any type"}],"description":"Options for specifying which vectors to include into response. Default is false.","title":"RecommendRequestWithVector"},"UsingVector":{"oneOf":[{"type":"string"}],"title":"UsingVector"},"RecommendRequestUsing":{"oneOf":[{"$ref":"#/components/schemas/UsingVector"},{"description":"Any type"}],"description":"Define which vector to use for recommendation, if not specified - try to use default vector","title":"RecommendRequestUsing"},"LookupLocationShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"description":"Specify in which shards to look for the points, if not specified - look in all shards","title":"LookupLocationShardKey"},"LookupLocation":{"type":"object","properties":{"collection":{"type":"string","description":"Name of the collection used for lookup"},"vector":{"type":["string","null"],"description":"Optional name of the vector field within the collection. If not provided, the default vector field will be used."},"shard_key":{"$ref":"#/components/schemas/LookupLocationShardKey","description":"Specify in which shards to look for the points, if not specified - look in all shards"}},"required":["collection"],"description":"Defines a location to use for looking up the vector. Specifies collection and vector field name.","title":"LookupLocation"},"RecommendRequestLookupFrom":{"oneOf":[{"$ref":"#/components/schemas/LookupLocation"},{"description":"Any type"}],"description":"The location used to lookup vectors. If not specified - use current collection. Note: the other collection should have the same vector size as the current collection","title":"RecommendRequestLookupFrom"},"RecommendRequest":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/RecommendRequestShardKey","description":"Specify in which shards to look for the points, if not specified - look in all shards"},"positive":{"type":"array","items":{"$ref":"#/components/schemas/RecommendExample"},"description":"Look for vectors closest to those"},"negative":{"type":"array","items":{"$ref":"#/components/schemas/RecommendExample"},"description":"Try to avoid vectors like this"},"strategy":{"$ref":"#/components/schemas/RecommendRequestStrategy","description":"How to use positive and negative examples to find the results"},"filter":{"$ref":"#/components/schemas/RecommendRequestFilter","description":"Look only for points which satisfies this conditions"},"params":{"$ref":"#/components/schemas/RecommendRequestParams","description":"Additional search params"},"limit":{"type":"integer","description":"Max number of result to return"},"offset":{"type":["integer","null"],"description":"Offset of the first result to return. May be used to paginate results. Note: large offset values may cause performance issues."},"with_payload":{"$ref":"#/components/schemas/RecommendRequestWithPayload","description":"Select which payload to return with the response. Default is false."},"with_vector":{"$ref":"#/components/schemas/RecommendRequestWithVector","description":"Options for specifying which vectors to include into response. Default is false."},"score_threshold":{"type":["number","null"],"format":"double","description":"Define a minimal score threshold for the result. If defined, less similar results will not be returned. Score of the returned result might be higher or smaller than the threshold depending on the Distance function used. E.g. for cosine similarity only higher scores will be returned."},"using":{"$ref":"#/components/schemas/RecommendRequestUsing","description":"Define which vector to use for recommendation, if not specified - try to use default vector"},"lookup_from":{"$ref":"#/components/schemas/RecommendRequestLookupFrom","description":"The location used to lookup vectors. If not specified - use current collection. Note: the other collection should have the same vector size as the current collection"}},"required":["limit"],"description":"Recommendation request. Provides positive and negative examples of the vectors, which can be ids of points that are already stored in the collection, raw vectors, or even ids and vectors combined.\n\nService should look for the points which are closer to positive examples and at the same time further to negative examples. The concrete way of how to compare negative and positive distances is up to the `strategy` chosen.","title":"RecommendRequest"},"CollectionsCollectionNamePointsRecommendPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsRecommendPostResponsesContentApplicationJsonSchemaUsage"},"Search_recommend_points_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsRecommendPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"array","items":{"$ref":"#/components/schemas/ScoredPoint"}}},"title":"Search_recommend_points_Response_200"},"RecommendRequestBatch":{"type":"object","properties":{"searches":{"type":"array","items":{"$ref":"#/components/schemas/RecommendRequest"}}},"required":["searches"],"title":"RecommendRequestBatch"},"CollectionsCollectionNamePointsRecommendBatchPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsRecommendBatchPostResponsesContentApplicationJsonSchemaUsage"},"Search_recommend_batch_points_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsRecommendBatchPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"array","items":{"type":"array","items":{"$ref":"#/components/schemas/ScoredPoint"}}}},"title":"Search_recommend_batch_points_Response_200"},"RecommendGroupsRequestShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"description":"Specify in which shards to look for the points, if not specified - look in all shards","title":"RecommendGroupsRequestShardKey"},"RecommendGroupsRequestStrategy":{"oneOf":[{"$ref":"#/components/schemas/RecommendStrategy"},{"description":"Any type"}],"description":"How to use positive and negative examples to find the results","title":"RecommendGroupsRequestStrategy"},"RecommendGroupsRequestFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Look only for points which satisfies this conditions","title":"RecommendGroupsRequestFilter"},"RecommendGroupsRequestParams":{"oneOf":[{"$ref":"#/components/schemas/SearchParams"},{"description":"Any type"}],"description":"Additional search params","title":"RecommendGroupsRequestParams"},"RecommendGroupsRequestWithPayload":{"oneOf":[{"$ref":"#/components/schemas/WithPayloadInterface"},{"description":"Any type"}],"description":"Select which payload to return with the response. Default is false.","title":"RecommendGroupsRequestWithPayload"},"RecommendGroupsRequestWithVector":{"oneOf":[{"$ref":"#/components/schemas/WithVector"},{"description":"Any type"}],"description":"Options for specifying which vectors to include into response. Default is false.","title":"RecommendGroupsRequestWithVector"},"RecommendGroupsRequestUsing":{"oneOf":[{"$ref":"#/components/schemas/UsingVector"},{"description":"Any type"}],"description":"Define which vector to use for recommendation, if not specified - try to use default vector","title":"RecommendGroupsRequestUsing"},"RecommendGroupsRequestLookupFrom":{"oneOf":[{"$ref":"#/components/schemas/LookupLocation"},{"description":"Any type"}],"description":"The location used to lookup vectors. If not specified - use current collection. Note: the other collection should have the same vector size as the current collection","title":"RecommendGroupsRequestLookupFrom"},"RecommendGroupsRequestWithLookup":{"oneOf":[{"$ref":"#/components/schemas/WithLookupInterface"},{"description":"Any type"}],"description":"Look for points in another collection using the group ids","title":"RecommendGroupsRequestWithLookup"},"RecommendGroupsRequest":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/RecommendGroupsRequestShardKey","description":"Specify in which shards to look for the points, if not specified - look in all shards"},"positive":{"type":"array","items":{"$ref":"#/components/schemas/RecommendExample"},"description":"Look for vectors closest to those"},"negative":{"type":"array","items":{"$ref":"#/components/schemas/RecommendExample"},"description":"Try to avoid vectors like this"},"strategy":{"$ref":"#/components/schemas/RecommendGroupsRequestStrategy","description":"How to use positive and negative examples to find the results"},"filter":{"$ref":"#/components/schemas/RecommendGroupsRequestFilter","description":"Look only for points which satisfies this conditions"},"params":{"$ref":"#/components/schemas/RecommendGroupsRequestParams","description":"Additional search params"},"with_payload":{"$ref":"#/components/schemas/RecommendGroupsRequestWithPayload","description":"Select which payload to return with the response. Default is false."},"with_vector":{"$ref":"#/components/schemas/RecommendGroupsRequestWithVector","description":"Options for specifying which vectors to include into response. Default is false."},"score_threshold":{"type":["number","null"],"format":"double","description":"Define a minimal score threshold for the result. If defined, less similar results will not be returned. Score of the returned result might be higher or smaller than the threshold depending on the Distance function used. E.g. for cosine similarity only higher scores will be returned."},"using":{"$ref":"#/components/schemas/RecommendGroupsRequestUsing","description":"Define which vector to use for recommendation, if not specified - try to use default vector"},"lookup_from":{"$ref":"#/components/schemas/RecommendGroupsRequestLookupFrom","description":"The location used to lookup vectors. If not specified - use current collection. Note: the other collection should have the same vector size as the current collection"},"group_by":{"type":"string","description":"Payload field to group by, must be a string or number field. If the field contains more than 1 value, all values will be used for grouping. One point can be in multiple groups."},"group_size":{"type":"integer","format":"uint","description":"Maximum amount of points to return per group"},"limit":{"type":"integer","format":"uint","description":"Maximum amount of groups to return"},"with_lookup":{"$ref":"#/components/schemas/RecommendGroupsRequestWithLookup","description":"Look for points in another collection using the group ids"}},"required":["group_by","group_size","limit"],"title":"RecommendGroupsRequest"},"CollectionsCollectionNamePointsRecommendGroupsPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsRecommendGroupsPostResponsesContentApplicationJsonSchemaUsage"},"Search_recommend_point_groups_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsRecommendGroupsPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/GroupsResult"}},"title":"Search_recommend_point_groups_Response_200"},"DiscoverRequestShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"description":"Specify in which shards to look for the points, if not specified - look in all shards","title":"DiscoverRequestShardKey"},"DiscoverRequestTarget":{"oneOf":[{"$ref":"#/components/schemas/RecommendExample"},{"description":"Any type"}],"description":"Look for vectors closest to this.\n\nWhen using the target (with or without context), the integer part of the score represents the rank with respect to the context, while the decimal part of the score relates to the distance to the target.","title":"DiscoverRequestTarget"},"ContextExamplePair":{"type":"object","properties":{"positive":{"$ref":"#/components/schemas/RecommendExample"},"negative":{"$ref":"#/components/schemas/RecommendExample"}},"required":["positive","negative"],"title":"ContextExamplePair"},"DiscoverRequestFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Look only for points which satisfies this conditions","title":"DiscoverRequestFilter"},"DiscoverRequestParams":{"oneOf":[{"$ref":"#/components/schemas/SearchParams"},{"description":"Any type"}],"description":"Additional search params","title":"DiscoverRequestParams"},"DiscoverRequestWithPayload":{"oneOf":[{"$ref":"#/components/schemas/WithPayloadInterface"},{"description":"Any type"}],"description":"Select which payload to return with the response. Default is false.","title":"DiscoverRequestWithPayload"},"DiscoverRequestWithVector":{"oneOf":[{"$ref":"#/components/schemas/WithVector"},{"description":"Any type"}],"description":"Options for specifying which vectors to include into response. Default is false.","title":"DiscoverRequestWithVector"},"DiscoverRequestUsing":{"oneOf":[{"$ref":"#/components/schemas/UsingVector"},{"description":"Any type"}],"description":"Define which vector to use for recommendation, if not specified - try to use default vector","title":"DiscoverRequestUsing"},"DiscoverRequestLookupFrom":{"oneOf":[{"$ref":"#/components/schemas/LookupLocation"},{"description":"Any type"}],"description":"The location used to lookup vectors. If not specified - use current collection. Note: the other collection should have the same vector size as the current collection","title":"DiscoverRequestLookupFrom"},"DiscoverRequest":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/DiscoverRequestShardKey","description":"Specify in which shards to look for the points, if not specified - look in all shards"},"target":{"$ref":"#/components/schemas/DiscoverRequestTarget","description":"Look for vectors closest to this.\n\nWhen using the target (with or without context), the integer part of the score represents the rank with respect to the context, while the decimal part of the score relates to the distance to the target."},"context":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ContextExamplePair"},"description":"Pairs of { positive, negative } examples to constrain the search.\n\nWhen using only the context (without a target), a special search - called context search - is performed where pairs of points are used to generate a loss that guides the search towards the zone where most positive examples overlap. This means that the score minimizes the scenario of finding a point closer to a negative than to a positive part of a pair.\n\nSince the score of a context relates to loss, the maximum score a point can get is 0.0, and it becomes normal that many points can have a score of 0.0.\n\nFor discovery search (when including a target), the context part of the score for each pair is calculated +1 if the point is closer to a positive than to a negative part of a pair, and -1 otherwise."},"filter":{"$ref":"#/components/schemas/DiscoverRequestFilter","description":"Look only for points which satisfies this conditions"},"params":{"$ref":"#/components/schemas/DiscoverRequestParams","description":"Additional search params"},"limit":{"type":"integer","description":"Max number of result to return"},"offset":{"type":["integer","null"],"description":"Offset of the first result to return. May be used to paginate results. Note: large offset values may cause performance issues."},"with_payload":{"$ref":"#/components/schemas/DiscoverRequestWithPayload","description":"Select which payload to return with the response. Default is false."},"with_vector":{"$ref":"#/components/schemas/DiscoverRequestWithVector","description":"Options for specifying which vectors to include into response. Default is false."},"using":{"$ref":"#/components/schemas/DiscoverRequestUsing","description":"Define which vector to use for recommendation, if not specified - try to use default vector"},"lookup_from":{"$ref":"#/components/schemas/DiscoverRequestLookupFrom","description":"The location used to lookup vectors. If not specified - use current collection. Note: the other collection should have the same vector size as the current collection"}},"required":["limit"],"description":"Use context and a target to find the most similar points, constrained by the context.","title":"DiscoverRequest"},"CollectionsCollectionNamePointsDiscoverPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsDiscoverPostResponsesContentApplicationJsonSchemaUsage"},"Search_discover_points_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsDiscoverPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"array","items":{"$ref":"#/components/schemas/ScoredPoint"}}},"title":"Search_discover_points_Response_200"},"DiscoverRequestBatch":{"type":"object","properties":{"searches":{"type":"array","items":{"$ref":"#/components/schemas/DiscoverRequest"}}},"required":["searches"],"title":"DiscoverRequestBatch"},"CollectionsCollectionNamePointsDiscoverBatchPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsDiscoverBatchPostResponsesContentApplicationJsonSchemaUsage"},"Search_discover_batch_points_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsDiscoverBatchPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"array","items":{"type":"array","items":{"$ref":"#/components/schemas/ScoredPoint"}}}},"title":"Search_discover_batch_points_Response_200"},"QueryRequestShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"title":"QueryRequestShardKey"},"PrefetchPrefetch1":{"type":"array","items":{"$ref":"#/components/schemas/Prefetch"},"title":"PrefetchPrefetch1"},"PrefetchPrefetch":{"oneOf":[{"$ref":"#/components/schemas/Prefetch"},{"$ref":"#/components/schemas/PrefetchPrefetch1"},{"description":"Any type"}],"description":"Sub-requests to perform first. If present, the query will be performed on the results of the prefetches.","title":"PrefetchPrefetch"},"VectorInput":{"oneOf":[{"type":"array","items":{"type":"number","format":"double"}},{"$ref":"#/components/schemas/SparseVector"},{"type":"array","items":{"type":"array","items":{"type":"number","format":"double"}}},{"$ref":"#/components/schemas/ExtendedPointId"},{"$ref":"#/components/schemas/Document"},{"$ref":"#/components/schemas/Image"},{"$ref":"#/components/schemas/InferenceObject"}],"title":"VectorInput"},"Mmr":{"type":"object","properties":{"diversity":{"type":["number","null"],"format":"double","description":"Tunable parameter for the MMR algorithm. Determines the balance between diversity and relevance.\n\nA higher value favors diversity (dissimilarity to selected results), while a lower value favors relevance (similarity to the query vector).\n\nMust be in the range [0, 1]. Default value is 0.5."},"candidates_limit":{"type":["integer","null"],"description":"The maximum number of candidates to consider for re-ranking.\n\nIf not specified, the `limit` value is used."}},"description":"Maximal Marginal Relevance (MMR) algorithm for re-ranking the points.","title":"Mmr"},"NearestQueryMmr":{"oneOf":[{"$ref":"#/components/schemas/Mmr"},{"description":"Any type"}],"description":"Perform MMR (Maximal Marginal Relevance) reranking after search, using the same vector in this query to calculate relevance.","title":"NearestQueryMmr"},"NearestQuery":{"type":"object","properties":{"nearest":{"$ref":"#/components/schemas/VectorInput"},"mmr":{"$ref":"#/components/schemas/NearestQueryMmr","description":"Perform MMR (Maximal Marginal Relevance) reranking after search, using the same vector in this query to calculate relevance."}},"required":["nearest"],"title":"NearestQuery"},"RecommendInputStrategy":{"oneOf":[{"$ref":"#/components/schemas/RecommendStrategy"},{"description":"Any type"}],"description":"How to use the provided vectors to find the results","title":"RecommendInputStrategy"},"RecommendInput":{"type":"object","properties":{"positive":{"type":["array","null"],"items":{"$ref":"#/components/schemas/VectorInput"},"description":"Look for vectors closest to the vectors from these points"},"negative":{"type":["array","null"],"items":{"$ref":"#/components/schemas/VectorInput"},"description":"Try to avoid vectors like the vector from these points"},"strategy":{"$ref":"#/components/schemas/RecommendInputStrategy","description":"How to use the provided vectors to find the results"}},"title":"RecommendInput"},"RecommendQuery":{"type":"object","properties":{"recommend":{"$ref":"#/components/schemas/RecommendInput"}},"required":["recommend"],"title":"RecommendQuery"},"ContextPair":{"type":"object","properties":{"positive":{"$ref":"#/components/schemas/VectorInput"},"negative":{"$ref":"#/components/schemas/VectorInput"}},"required":["positive","negative"],"title":"ContextPair"},"DiscoverInputContext1":{"type":"array","items":{"$ref":"#/components/schemas/ContextPair"},"title":"DiscoverInputContext1"},"DiscoverInputContext":{"oneOf":[{"$ref":"#/components/schemas/ContextPair"},{"$ref":"#/components/schemas/DiscoverInputContext1"},{"description":"Any type"}],"description":"Search space will be constrained by these pairs of vectors","title":"DiscoverInputContext"},"DiscoverInput":{"type":"object","properties":{"target":{"$ref":"#/components/schemas/VectorInput"},"context":{"$ref":"#/components/schemas/DiscoverInputContext","description":"Search space will be constrained by these pairs of vectors"}},"required":["target","context"],"title":"DiscoverInput"},"DiscoverQuery":{"type":"object","properties":{"discover":{"$ref":"#/components/schemas/DiscoverInput"}},"required":["discover"],"title":"DiscoverQuery"},"ContextInput1":{"type":"array","items":{"$ref":"#/components/schemas/ContextPair"},"title":"ContextInput1"},"ContextInput":{"oneOf":[{"$ref":"#/components/schemas/ContextPair"},{"$ref":"#/components/schemas/ContextInput1"},{"description":"Any type"}],"title":"ContextInput"},"ContextQuery":{"type":"object","properties":{"context":{"$ref":"#/components/schemas/ContextInput"}},"required":["context"],"title":"ContextQuery"},"OrderByQuery":{"type":"object","properties":{"order_by":{"$ref":"#/components/schemas/OrderByInterface"}},"required":["order_by"],"title":"OrderByQuery"},"Fusion":{"type":"string","enum":["rrf","dbsf"],"description":"Fusion algorithm allows to combine results of multiple prefetches.\n\nAvailable fusion algorithms:\n\n* `rrf` - Reciprocal Rank Fusion (with default parameters) * `dbsf` - Distribution-Based Score Fusion","title":"Fusion"},"FusionQuery":{"type":"object","properties":{"fusion":{"$ref":"#/components/schemas/Fusion"}},"required":["fusion"],"title":"FusionQuery"},"Rrf":{"type":"object","properties":{"k":{"type":["integer","null"],"description":"K parameter for reciprocal rank fusion"},"weights":{"type":["array","null"],"items":{"type":"number","format":"double"},"description":"Weights for each prefetch source. Higher weight gives more influence on the final ranking. If not specified, all prefetches are weighted equally. The number of weights should match the number of prefetches."}},"description":"Parameters for Reciprocal Rank Fusion","title":"Rrf"},"RrfQuery":{"type":"object","properties":{"rrf":{"$ref":"#/components/schemas/Rrf"}},"required":["rrf"],"title":"RrfQuery"},"GeoDistanceParams":{"type":"object","properties":{"origin":{"$ref":"#/components/schemas/GeoPoint"},"to":{"type":"string","description":"Payload field with the destination geo point"}},"required":["origin","to"],"title":"GeoDistanceParams"},"GeoDistance":{"type":"object","properties":{"geo_distance":{"$ref":"#/components/schemas/GeoDistanceParams"}},"required":["geo_distance"],"title":"GeoDistance"},"DatetimeExpression":{"type":"object","properties":{"datetime":{"type":"string"}},"required":["datetime"],"title":"DatetimeExpression"},"DatetimeKeyExpression":{"type":"object","properties":{"datetime_key":{"type":"string"}},"required":["datetime_key"],"title":"DatetimeKeyExpression"},"MultExpression":{"type":"object","properties":{"mult":{"type":"array","items":{"$ref":"#/components/schemas/Expression"}}},"required":["mult"],"title":"MultExpression"},"SumExpression":{"type":"object","properties":{"sum":{"type":"array","items":{"$ref":"#/components/schemas/Expression"}}},"required":["sum"],"title":"SumExpression"},"NegExpression":{"type":"object","properties":{"neg":{"$ref":"#/components/schemas/Expression"}},"required":["neg"],"title":"NegExpression"},"AbsExpression":{"type":"object","properties":{"abs":{"$ref":"#/components/schemas/Expression"}},"required":["abs"],"title":"AbsExpression"},"DivParams":{"type":"object","properties":{"left":{"$ref":"#/components/schemas/Expression"},"right":{"$ref":"#/components/schemas/Expression"},"by_zero_default":{"type":["number","null"],"format":"double"}},"required":["left","right"],"title":"DivParams"},"DivExpression":{"type":"object","properties":{"div":{"$ref":"#/components/schemas/DivParams"}},"required":["div"],"title":"DivExpression"},"SqrtExpression":{"type":"object","properties":{"sqrt":{"$ref":"#/components/schemas/Expression"}},"required":["sqrt"],"title":"SqrtExpression"},"PowParams":{"type":"object","properties":{"base":{"$ref":"#/components/schemas/Expression"},"exponent":{"$ref":"#/components/schemas/Expression"}},"required":["base","exponent"],"title":"PowParams"},"PowExpression":{"type":"object","properties":{"pow":{"$ref":"#/components/schemas/PowParams"}},"required":["pow"],"title":"PowExpression"},"ExpExpression":{"type":"object","properties":{"exp":{"$ref":"#/components/schemas/Expression"}},"required":["exp"],"title":"ExpExpression"},"Log10Expression":{"type":"object","properties":{"log10":{"$ref":"#/components/schemas/Expression"}},"required":["log10"],"title":"Log10Expression"},"LnExpression":{"type":"object","properties":{"ln":{"$ref":"#/components/schemas/Expression"}},"required":["ln"],"title":"LnExpression"},"DecayParamsExpressionTarget":{"oneOf":[{"$ref":"#/components/schemas/Expression"},{"description":"Any type"}],"description":"The target value to start decaying from. Defaults to 0.","title":"DecayParamsExpressionTarget"},"DecayParamsExpression":{"type":"object","properties":{"x":{"$ref":"#/components/schemas/Expression"},"target":{"$ref":"#/components/schemas/DecayParamsExpressionTarget","description":"The target value to start decaying from. Defaults to 0."},"scale":{"type":["number","null"],"format":"double","description":"The scale factor of the decay, in terms of `x`. Defaults to 1.0. Must be a non-zero positive number."},"midpoint":{"type":["number","null"],"format":"double","description":"The midpoint of the decay. Should be between 0 and 1.Defaults to 0.5. Output will be this value when `|x - target| == scale`."}},"required":["x"],"title":"DecayParamsExpression"},"LinDecayExpression":{"type":"object","properties":{"lin_decay":{"$ref":"#/components/schemas/DecayParamsExpression"}},"required":["lin_decay"],"title":"LinDecayExpression"},"ExpDecayExpression":{"type":"object","properties":{"exp_decay":{"$ref":"#/components/schemas/DecayParamsExpression"}},"required":["exp_decay"],"title":"ExpDecayExpression"},"GaussDecayExpression":{"type":"object","properties":{"gauss_decay":{"$ref":"#/components/schemas/DecayParamsExpression"}},"required":["gauss_decay"],"title":"GaussDecayExpression"},"Expression":{"oneOf":[{"type":"number","format":"double"},{"type":"string"},{"$ref":"#/components/schemas/Condition"},{"$ref":"#/components/schemas/GeoDistance"},{"$ref":"#/components/schemas/DatetimeExpression"},{"$ref":"#/components/schemas/DatetimeKeyExpression"},{"$ref":"#/components/schemas/MultExpression"},{"$ref":"#/components/schemas/SumExpression"},{"$ref":"#/components/schemas/NegExpression"},{"$ref":"#/components/schemas/AbsExpression"},{"$ref":"#/components/schemas/DivExpression"},{"$ref":"#/components/schemas/SqrtExpression"},{"$ref":"#/components/schemas/PowExpression"},{"$ref":"#/components/schemas/ExpExpression"},{"$ref":"#/components/schemas/Log10Expression"},{"$ref":"#/components/schemas/LnExpression"},{"$ref":"#/components/schemas/LinDecayExpression"},{"$ref":"#/components/schemas/ExpDecayExpression"},{"$ref":"#/components/schemas/GaussDecayExpression"}],"title":"Expression"},"FormulaQuery":{"type":"object","properties":{"formula":{"$ref":"#/components/schemas/Expression"},"defaults":{"type":"object","additionalProperties":{"description":"Any type"}}},"required":["formula"],"title":"FormulaQuery"},"Sample":{"type":"string","enum":["random"],"title":"Sample"},"SampleQuery":{"type":"object","properties":{"sample":{"$ref":"#/components/schemas/Sample"}},"required":["sample"],"title":"SampleQuery"},"FeedbackItem":{"type":"object","properties":{"example":{"$ref":"#/components/schemas/VectorInput"},"score":{"type":"number","format":"double"}},"required":["example","score"],"title":"FeedbackItem"},"NaiveFeedbackStrategyParams":{"type":"object","properties":{"a":{"type":"number","format":"double"},"b":{"type":"number","format":"double"},"c":{"type":"number","format":"double"}},"required":["a","b","c"],"title":"NaiveFeedbackStrategyParams"},"NaiveFeedbackStrategy":{"type":"object","properties":{"naive":{"$ref":"#/components/schemas/NaiveFeedbackStrategyParams"}},"required":["naive"],"title":"NaiveFeedbackStrategy"},"FeedbackStrategy":{"oneOf":[{"$ref":"#/components/schemas/NaiveFeedbackStrategy"}],"title":"FeedbackStrategy"},"RelevanceFeedbackInput":{"type":"object","properties":{"target":{"$ref":"#/components/schemas/VectorInput"},"feedback":{"type":"array","items":{"$ref":"#/components/schemas/FeedbackItem"}},"strategy":{"$ref":"#/components/schemas/FeedbackStrategy"}},"required":["target","feedback","strategy"],"title":"RelevanceFeedbackInput"},"RelevanceFeedbackQuery":{"type":"object","properties":{"relevance_feedback":{"$ref":"#/components/schemas/RelevanceFeedbackInput"}},"required":["relevance_feedback"],"title":"RelevanceFeedbackQuery"},"Query":{"oneOf":[{"$ref":"#/components/schemas/NearestQuery"},{"$ref":"#/components/schemas/RecommendQuery"},{"$ref":"#/components/schemas/DiscoverQuery"},{"$ref":"#/components/schemas/ContextQuery"},{"$ref":"#/components/schemas/OrderByQuery"},{"$ref":"#/components/schemas/FusionQuery"},{"$ref":"#/components/schemas/RrfQuery"},{"$ref":"#/components/schemas/FormulaQuery"},{"$ref":"#/components/schemas/SampleQuery"},{"$ref":"#/components/schemas/RelevanceFeedbackQuery"}],"title":"Query"},"QueryInterface":{"oneOf":[{"$ref":"#/components/schemas/VectorInput"},{"$ref":"#/components/schemas/Query"}],"title":"QueryInterface"},"PrefetchQuery":{"oneOf":[{"$ref":"#/components/schemas/QueryInterface"},{"description":"Any type"}],"description":"Query to perform. If missing without prefetches, returns points ordered by their IDs.","title":"PrefetchQuery"},"PrefetchFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Filter conditions - return only those points that satisfy the specified conditions.","title":"PrefetchFilter"},"PrefetchParams":{"oneOf":[{"$ref":"#/components/schemas/SearchParams"},{"description":"Any type"}],"description":"Search params for when there is no prefetch","title":"PrefetchParams"},"PrefetchLookupFrom":{"oneOf":[{"$ref":"#/components/schemas/LookupLocation"},{"description":"Any type"}],"description":"The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector Note: the other collection vectors should have the same vector size as the 'using' vector in the current collection","title":"PrefetchLookupFrom"},"Prefetch":{"type":"object","properties":{"prefetch":{"$ref":"#/components/schemas/PrefetchPrefetch","description":"Sub-requests to perform first. If present, the query will be performed on the results of the prefetches."},"query":{"$ref":"#/components/schemas/PrefetchQuery","description":"Query to perform. If missing without prefetches, returns points ordered by their IDs."},"using":{"type":["string","null"],"description":"Define which vector name to use for querying. If missing, the default vector is used."},"filter":{"$ref":"#/components/schemas/PrefetchFilter","description":"Filter conditions - return only those points that satisfy the specified conditions."},"params":{"$ref":"#/components/schemas/PrefetchParams","description":"Search params for when there is no prefetch"},"score_threshold":{"type":["number","null"],"format":"double","description":"Return points with scores better than this threshold."},"limit":{"type":["integer","null"],"description":"Max number of points to return. Default is 10."},"lookup_from":{"$ref":"#/components/schemas/PrefetchLookupFrom","description":"The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector Note: the other collection vectors should have the same vector size as the 'using' vector in the current collection"}},"title":"Prefetch"},"QueryRequestPrefetch1":{"type":"array","items":{"$ref":"#/components/schemas/Prefetch"},"title":"QueryRequestPrefetch1"},"QueryRequestPrefetch":{"oneOf":[{"$ref":"#/components/schemas/Prefetch"},{"$ref":"#/components/schemas/QueryRequestPrefetch1"},{"description":"Any type"}],"description":"Sub-requests to perform first. If present, the query will be performed on the results of the prefetch(es).","title":"QueryRequestPrefetch"},"QueryRequestQuery":{"oneOf":[{"$ref":"#/components/schemas/QueryInterface"},{"description":"Any type"}],"description":"Query to perform. If missing without prefetches, returns points ordered by their IDs.","title":"QueryRequestQuery"},"QueryRequestFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Filter conditions - return only those points that satisfy the specified conditions.","title":"QueryRequestFilter"},"QueryRequestParams":{"oneOf":[{"$ref":"#/components/schemas/SearchParams"},{"description":"Any type"}],"description":"Search params for when there is no prefetch","title":"QueryRequestParams"},"QueryRequestWithVector":{"oneOf":[{"$ref":"#/components/schemas/WithVector"},{"description":"Any type"}],"description":"Options for specifying which vectors to include into the response. Default is false.","title":"QueryRequestWithVector"},"QueryRequestWithPayload":{"oneOf":[{"$ref":"#/components/schemas/WithPayloadInterface"},{"description":"Any type"}],"description":"Options for specifying which payload to include or not. Default is false.","title":"QueryRequestWithPayload"},"QueryRequestLookupFrom":{"oneOf":[{"$ref":"#/components/schemas/LookupLocation"},{"description":"Any type"}],"description":"The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector Note: the other collection vectors should have the same vector size as the 'using' vector in the current collection","title":"QueryRequestLookupFrom"},"QueryRequest":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/QueryRequestShardKey"},"prefetch":{"$ref":"#/components/schemas/QueryRequestPrefetch","description":"Sub-requests to perform first. If present, the query will be performed on the results of the prefetch(es)."},"query":{"$ref":"#/components/schemas/QueryRequestQuery","description":"Query to perform. If missing without prefetches, returns points ordered by their IDs."},"using":{"type":["string","null"],"description":"Define which vector name to use for querying. If missing, the default vector is used."},"filter":{"$ref":"#/components/schemas/QueryRequestFilter","description":"Filter conditions - return only those points that satisfy the specified conditions."},"params":{"$ref":"#/components/schemas/QueryRequestParams","description":"Search params for when there is no prefetch"},"score_threshold":{"type":["number","null"],"format":"double","description":"Return points with scores better than this threshold."},"limit":{"type":["integer","null"],"description":"Max number of points to return. Default is 10."},"offset":{"type":["integer","null"],"description":"Offset of the result. Skip this many points. Default is 0"},"with_vector":{"$ref":"#/components/schemas/QueryRequestWithVector","description":"Options for specifying which vectors to include into the response. Default is false."},"with_payload":{"$ref":"#/components/schemas/QueryRequestWithPayload","description":"Options for specifying which payload to include or not. Default is false."},"lookup_from":{"$ref":"#/components/schemas/QueryRequestLookupFrom","description":"The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector Note: the other collection vectors should have the same vector size as the 'using' vector in the current collection"}},"title":"QueryRequest"},"CollectionsCollectionNamePointsQueryPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsQueryPostResponsesContentApplicationJsonSchemaUsage"},"QueryResponse":{"type":"object","properties":{"points":{"type":"array","items":{"$ref":"#/components/schemas/ScoredPoint"}}},"required":["points"],"title":"QueryResponse"},"Search_query_points_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsQueryPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/QueryResponse"}},"title":"Search_query_points_Response_200"},"QueryRequestBatch":{"type":"object","properties":{"searches":{"type":"array","items":{"$ref":"#/components/schemas/QueryRequest"}}},"required":["searches"],"title":"QueryRequestBatch"},"CollectionsCollectionNamePointsQueryBatchPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsQueryBatchPostResponsesContentApplicationJsonSchemaUsage"},"Search_query_batch_points_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsQueryBatchPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"array","items":{"$ref":"#/components/schemas/QueryResponse"}}},"title":"Search_query_batch_points_Response_200"},"QueryGroupsRequestShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"title":"QueryGroupsRequestShardKey"},"QueryGroupsRequestPrefetch1":{"type":"array","items":{"$ref":"#/components/schemas/Prefetch"},"title":"QueryGroupsRequestPrefetch1"},"QueryGroupsRequestPrefetch":{"oneOf":[{"$ref":"#/components/schemas/Prefetch"},{"$ref":"#/components/schemas/QueryGroupsRequestPrefetch1"},{"description":"Any type"}],"description":"Sub-requests to perform first. If present, the query will be performed on the results of the prefetch(es).","title":"QueryGroupsRequestPrefetch"},"QueryGroupsRequestQuery":{"oneOf":[{"$ref":"#/components/schemas/QueryInterface"},{"description":"Any type"}],"description":"Query to perform. If missing without prefetches, returns points ordered by their IDs.","title":"QueryGroupsRequestQuery"},"QueryGroupsRequestFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Filter conditions - return only those points that satisfy the specified conditions.","title":"QueryGroupsRequestFilter"},"QueryGroupsRequestParams":{"oneOf":[{"$ref":"#/components/schemas/SearchParams"},{"description":"Any type"}],"description":"Search params for when there is no prefetch","title":"QueryGroupsRequestParams"},"QueryGroupsRequestWithVector":{"oneOf":[{"$ref":"#/components/schemas/WithVector"},{"description":"Any type"}],"description":"Options for specifying which vectors to include into the response. Default is false.","title":"QueryGroupsRequestWithVector"},"QueryGroupsRequestWithPayload":{"oneOf":[{"$ref":"#/components/schemas/WithPayloadInterface"},{"description":"Any type"}],"description":"Options for specifying which payload to include or not. Default is false.","title":"QueryGroupsRequestWithPayload"},"QueryGroupsRequestLookupFrom":{"oneOf":[{"$ref":"#/components/schemas/LookupLocation"},{"description":"Any type"}],"description":"The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector Note: the other collection vectors should have the same vector size as the 'using' vector in the current collection","title":"QueryGroupsRequestLookupFrom"},"QueryGroupsRequestWithLookup":{"oneOf":[{"$ref":"#/components/schemas/WithLookupInterface"},{"description":"Any type"}],"description":"Look for points in another collection using the group ids","title":"QueryGroupsRequestWithLookup"},"QueryGroupsRequest":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/QueryGroupsRequestShardKey"},"prefetch":{"$ref":"#/components/schemas/QueryGroupsRequestPrefetch","description":"Sub-requests to perform first. If present, the query will be performed on the results of the prefetch(es)."},"query":{"$ref":"#/components/schemas/QueryGroupsRequestQuery","description":"Query to perform. If missing without prefetches, returns points ordered by their IDs."},"using":{"type":["string","null"],"description":"Define which vector name to use for querying. If missing, the default vector is used."},"filter":{"$ref":"#/components/schemas/QueryGroupsRequestFilter","description":"Filter conditions - return only those points that satisfy the specified conditions."},"params":{"$ref":"#/components/schemas/QueryGroupsRequestParams","description":"Search params for when there is no prefetch"},"score_threshold":{"type":["number","null"],"format":"double","description":"Return points with scores better than this threshold."},"with_vector":{"$ref":"#/components/schemas/QueryGroupsRequestWithVector","description":"Options for specifying which vectors to include into the response. Default is false."},"with_payload":{"$ref":"#/components/schemas/QueryGroupsRequestWithPayload","description":"Options for specifying which payload to include or not. Default is false."},"lookup_from":{"$ref":"#/components/schemas/QueryGroupsRequestLookupFrom","description":"The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector Note: the other collection vectors should have the same vector size as the 'using' vector in the current collection"},"group_by":{"type":"string","description":"Payload field to group by, must be a string or number field. If the field contains more than 1 value, all values will be used for grouping. One point can be in multiple groups."},"group_size":{"type":["integer","null"],"description":"Maximum amount of points to return per group. Default is 3."},"limit":{"type":["integer","null"],"description":"Maximum amount of groups to return. Default is 10."},"with_lookup":{"$ref":"#/components/schemas/QueryGroupsRequestWithLookup","description":"Look for points in another collection using the group ids"}},"required":["group_by"],"title":"QueryGroupsRequest"},"CollectionsCollectionNamePointsQueryGroupsPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsQueryGroupsPostResponsesContentApplicationJsonSchemaUsage"},"Search_query_points_groups_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsQueryGroupsPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/GroupsResult"}},"title":"Search_query_points_groups_Response_200"},"SearchMatrixRequestShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKeySelector"},{"description":"Any type"}],"description":"Specify in which shards to look for the points, if not specified - look in all shards","title":"SearchMatrixRequestShardKey"},"SearchMatrixRequestFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"description":"Look only for points which satisfies this conditions","title":"SearchMatrixRequestFilter"},"SearchMatrixRequest":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/SearchMatrixRequestShardKey","description":"Specify in which shards to look for the points, if not specified - look in all shards"},"filter":{"$ref":"#/components/schemas/SearchMatrixRequestFilter","description":"Look only for points which satisfies this conditions"},"sample":{"type":["integer","null"],"description":"How many points to select and search within. Default is 10."},"limit":{"type":["integer","null"],"description":"How many neighbours per sample to find. Default is 3."},"using":{"type":["string","null"],"description":"Define which vector name to use for querying. If missing, the default vector is used."}},"title":"SearchMatrixRequest"},"CollectionsCollectionNamePointsSearchMatrixPairsPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsSearchMatrixPairsPostResponsesContentApplicationJsonSchemaUsage"},"SearchMatrixPair":{"type":"object","properties":{"a":{"$ref":"#/components/schemas/ExtendedPointId"},"b":{"$ref":"#/components/schemas/ExtendedPointId"},"score":{"type":"number","format":"double"}},"required":["a","b","score"],"description":"Pair of points (a, b) with score","title":"SearchMatrixPair"},"SearchMatrixPairsResponse":{"type":"object","properties":{"pairs":{"type":"array","items":{"$ref":"#/components/schemas/SearchMatrixPair"},"description":"List of pairs of points with scores"}},"required":["pairs"],"title":"SearchMatrixPairsResponse"},"Search_matrixPairs_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsSearchMatrixPairsPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/SearchMatrixPairsResponse"}},"title":"Search_matrixPairs_Response_200"},"CollectionsCollectionNamePointsSearchMatrixOffsetsPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNamePointsSearchMatrixOffsetsPostResponsesContentApplicationJsonSchemaUsage"},"SearchMatrixOffsetsResponse":{"type":"object","properties":{"offsets_row":{"type":"array","items":{"type":"integer","format":"uint64"},"description":"Row indices of the matrix"},"offsets_col":{"type":"array","items":{"type":"integer","format":"uint64"},"description":"Column indices of the matrix"},"scores":{"type":"array","items":{"type":"number","format":"double"},"description":"Scores associated with matrix coordinates"},"ids":{"type":"array","items":{"$ref":"#/components/schemas/ExtendedPointId"},"description":"Ids of the points in order"}},"required":["offsets_row","offsets_col","scores","ids"],"title":"SearchMatrixOffsetsResponse"},"Search_matrixOffsets_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNamePointsSearchMatrixOffsetsPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/SearchMatrixOffsetsResponse"}},"title":"Search_matrixOffsets_Response_200"},"PayloadFieldSchema":{"oneOf":[{"$ref":"#/components/schemas/PayloadSchemaType"},{"$ref":"#/components/schemas/PayloadSchemaParams"}],"title":"PayloadFieldSchema"},"CreateFieldIndexFieldSchema":{"oneOf":[{"$ref":"#/components/schemas/PayloadFieldSchema"},{"description":"Any type"}],"title":"CreateFieldIndexFieldSchema"},"CreateFieldIndex":{"type":"object","properties":{"field_name":{"type":"string"},"field_schema":{"$ref":"#/components/schemas/CreateFieldIndexFieldSchema"}},"required":["field_name"],"title":"CreateFieldIndex"},"CollectionsCollectionNameIndexPutResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameIndexPutResponsesContentApplicationJsonSchemaUsage"},"Indexes_create_field_index_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameIndexPutResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/UpdateResult"}},"title":"Indexes_create_field_index_Response_200"},"CollectionsCollectionNameIndexFieldNameDeleteResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameIndexFieldNameDeleteResponsesContentApplicationJsonSchemaUsage"},"Indexes_delete_field_index_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameIndexFieldNameDeleteResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/UpdateResult"}},"title":"Indexes_delete_field_index_Response_200"},"CollectionsCollectionNameSnapshotsGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameSnapshotsGetResponsesContentApplicationJsonSchemaUsage"},"SnapshotDescription":{"type":"object","properties":{"name":{"type":"string"},"creation_time":{"type":["string","null"],"format":"partial-date-time"},"size":{"type":"integer","format":"uint64"},"checksum":{"type":["string","null"]}},"required":["name","size"],"title":"SnapshotDescription"},"Snapshots_list_snapshots_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameSnapshotsGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"array","items":{"$ref":"#/components/schemas/SnapshotDescription"}}},"title":"Snapshots_list_snapshots_Response_200"},"Snapshots_create_snapshot_Response_200":{"type":"object","properties":{"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/SnapshotDescription"}},"title":"Snapshots_create_snapshot_Response_200"},"SnapshotPriority":{"type":"string","enum":["no_sync","snapshot","replica"],"description":"Defines source of truth for snapshot recovery:\n\n`NoSync` means - restore snapshot without *any* additional synchronization. `Snapshot` means - prefer snapshot data over the current state. `Replica` means - prefer existing data over the snapshot.","title":"SnapshotPriority"},"Snapshots_recover_from_uploaded_snapshot_Response_200":{"type":"object","properties":{"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Snapshots_recover_from_uploaded_snapshot_Response_200"},"SnapshotRecoverPriority":{"oneOf":[{"$ref":"#/components/schemas/SnapshotPriority"},{"description":"Any type"}],"description":"Defines which data should be used as a source of truth if there are other replicas in the cluster. If set to `Snapshot`, the snapshot will be used as a source of truth, and the current state will be overwritten. If set to `Replica`, the current state will be used as a source of truth, and after recovery if will be synchronized with the snapshot.","title":"SnapshotRecoverPriority"},"SnapshotRecover":{"type":"object","properties":{"location":{"type":"string","format":"uri","description":"Examples: - URL `http://localhost:8080/collections/my_collection/snapshots/my_snapshot` - Local path `file:///qdrant/snapshots/test_collection-2022-08-04-10-49-10.snapshot`"},"priority":{"$ref":"#/components/schemas/SnapshotRecoverPriority","description":"Defines which data should be used as a source of truth if there are other replicas in the cluster. If set to `Snapshot`, the snapshot will be used as a source of truth, and the current state will be overwritten. If set to `Replica`, the current state will be used as a source of truth, and after recovery if will be synchronized with the snapshot."},"checksum":{"type":["string","null"],"description":"Optional SHA256 checksum to verify snapshot integrity before recovery."},"api_key":{"type":["string","null"],"description":"Optional API key used when fetching the snapshot from a remote URL."}},"required":["location"],"title":"SnapshotRecover"},"Snapshots_recover_from_snapshot_Response_200":{"type":"object","properties":{"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Snapshots_recover_from_snapshot_Response_200"},"Snapshots_delete_snapshot_Response_200":{"type":"object","properties":{"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Snapshots_delete_snapshot_Response_200"},"SnapshotsGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"SnapshotsGetResponsesContentApplicationJsonSchemaUsage"},"Snapshots_list_full_snapshots_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/SnapshotsGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"array","items":{"$ref":"#/components/schemas/SnapshotDescription"}}},"title":"Snapshots_list_full_snapshots_Response_200"},"Snapshots_create_full_snapshot_Response_200":{"type":"object","properties":{"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/SnapshotDescription"}},"title":"Snapshots_create_full_snapshot_Response_200"},"Snapshots_delete_full_snapshot_Response_200":{"type":"object","properties":{"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Snapshots_delete_full_snapshot_Response_200"},"Snapshots_recover_shard_from_uploaded_snapshot_Response_200":{"type":"object","properties":{"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Snapshots_recover_shard_from_uploaded_snapshot_Response_200"},"ShardSnapshotLocation":{"oneOf":[{"type":"string","format":"uri"},{"type":"string"}],"title":"ShardSnapshotLocation"},"ShardSnapshotRecoverPriority":{"oneOf":[{"$ref":"#/components/schemas/SnapshotPriority"},{"description":"Any type"}],"title":"ShardSnapshotRecoverPriority"},"ShardSnapshotRecover":{"type":"object","properties":{"location":{"$ref":"#/components/schemas/ShardSnapshotLocation"},"priority":{"$ref":"#/components/schemas/ShardSnapshotRecoverPriority"},"checksum":{"type":["string","null"],"description":"Optional SHA256 checksum to verify snapshot integrity before recovery."},"api_key":{"type":["string","null"],"description":"Optional API key used when fetching the snapshot from a remote URL."}},"required":["location"],"title":"ShardSnapshotRecover"},"Snapshots_recover_shard_from_snapshot_Response_200":{"type":"object","properties":{"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Snapshots_recover_shard_from_snapshot_Response_200"},"CollectionsCollectionNameShardsShardIdSnapshotsGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameShardsShardIdSnapshotsGetResponsesContentApplicationJsonSchemaUsage"},"Snapshots_list_shard_snapshots_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameShardsShardIdSnapshotsGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"array","items":{"$ref":"#/components/schemas/SnapshotDescription"}}},"title":"Snapshots_list_shard_snapshots_Response_200"},"Snapshots_create_shard_snapshot_Response_200":{"type":"object","properties":{"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/SnapshotDescription"}},"title":"Snapshots_create_shard_snapshot_Response_200"},"Snapshots_delete_shard_snapshot_Response_200":{"type":"object","properties":{"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Snapshots_delete_shard_snapshot_Response_200"},"CreateAlias":{"type":"object","properties":{"collection_name":{"type":"string"},"alias_name":{"type":"string"}},"required":["collection_name","alias_name"],"description":"Create alternative name for a collection. Collection will be available under both names for search, retrieve,","title":"CreateAlias"},"CreateAliasOperation":{"type":"object","properties":{"create_alias":{"$ref":"#/components/schemas/CreateAlias"}},"required":["create_alias"],"title":"CreateAliasOperation"},"DeleteAlias":{"type":"object","properties":{"alias_name":{"type":"string"}},"required":["alias_name"],"description":"Delete alias if exists","title":"DeleteAlias"},"DeleteAliasOperation":{"type":"object","properties":{"delete_alias":{"$ref":"#/components/schemas/DeleteAlias"}},"required":["delete_alias"],"description":"Delete alias if exists","title":"DeleteAliasOperation"},"RenameAlias":{"type":"object","properties":{"old_alias_name":{"type":"string"},"new_alias_name":{"type":"string"}},"required":["old_alias_name","new_alias_name"],"description":"Change alias to a new one","title":"RenameAlias"},"RenameAliasOperation":{"type":"object","properties":{"rename_alias":{"$ref":"#/components/schemas/RenameAlias"}},"required":["rename_alias"],"description":"Change alias to a new one","title":"RenameAliasOperation"},"AliasOperations":{"oneOf":[{"$ref":"#/components/schemas/CreateAliasOperation"},{"$ref":"#/components/schemas/DeleteAliasOperation"},{"$ref":"#/components/schemas/RenameAliasOperation"}],"description":"Group of all the possible operations related to collection aliases","title":"AliasOperations"},"ChangeAliasesOperation":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"#/components/schemas/AliasOperations"}}},"required":["actions"],"description":"Operation for performing changes of collection aliases. Alias changes are atomic, meaning that no collection modifications can happen between alias operations.","title":"ChangeAliasesOperation"},"CollectionsAliasesPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsAliasesPostResponsesContentApplicationJsonSchemaUsage"},"Aliases_update_aliases_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsAliasesPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Aliases_update_aliases_Response_200"},"CollectionsCollectionNameAliasesGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameAliasesGetResponsesContentApplicationJsonSchemaUsage"},"AliasDescription":{"type":"object","properties":{"alias_name":{"type":"string"},"collection_name":{"type":"string"}},"required":["alias_name","collection_name"],"title":"AliasDescription"},"CollectionsAliasesResponse":{"type":"object","properties":{"aliases":{"type":"array","items":{"$ref":"#/components/schemas/AliasDescription"}}},"required":["aliases"],"title":"CollectionsAliasesResponse"},"Aliases_get_collection_aliases_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameAliasesGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/CollectionsAliasesResponse"}},"title":"Aliases_get_collection_aliases_Response_200"},"AliasesGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"AliasesGetResponsesContentApplicationJsonSchemaUsage"},"Aliases_get_collections_aliases_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/AliasesGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/CollectionsAliasesResponse"}},"title":"Aliases_get_collections_aliases_Response_200"},"ClusterGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"ClusterGetResponsesContentApplicationJsonSchemaUsage"},"ClusterStatusOneOf0Status":{"type":"string","enum":["disabled"],"title":"ClusterStatusOneOf0Status"},"ClusterStatus0":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/ClusterStatusOneOf0Status"}},"required":["status"],"title":"ClusterStatus0"},"ClusterStatusOneOf1Status":{"type":"string","enum":["enabled"],"title":"ClusterStatusOneOf1Status"},"PeerInfo":{"type":"object","properties":{"uri":{"type":"string"}},"required":["uri"],"description":"Information of a peer in the cluster","title":"PeerInfo"},"StateRole":{"type":"string","enum":["Follower","Candidate","Leader","PreCandidate"],"description":"Role of the peer in the consensus","title":"StateRole"},"RaftInfoRole":{"oneOf":[{"$ref":"#/components/schemas/StateRole"},{"description":"Any type"}],"description":"Role of this peer in the current term","title":"RaftInfoRole"},"RaftInfo":{"type":"object","properties":{"term":{"type":"integer","format":"uint64","description":"Raft divides time into terms of arbitrary length, each beginning with an election. If a candidate wins the election, it remains the leader for the rest of the term. The term number increases monotonically. Each server stores the current term number which is also exchanged in every communication."},"commit":{"type":"integer","format":"uint64","description":"The index of the latest committed (finalized) operation that this peer is aware of."},"pending_operations":{"type":"integer","description":"Number of consensus operations pending to be applied on this peer"},"leader":{"type":["integer","null"],"format":"uint64","description":"Leader of the current term"},"role":{"$ref":"#/components/schemas/RaftInfoRole","description":"Role of this peer in the current term"},"is_voter":{"type":"boolean","description":"Is this peer a voter or a learner"}},"required":["term","commit","pending_operations","is_voter"],"description":"Summary information about the current raft state","title":"RaftInfo"},"ConsensusThreadStatusOneOf0ConsensusThreadStatus":{"type":"string","enum":["working"],"title":"ConsensusThreadStatusOneOf0ConsensusThreadStatus"},"ConsensusThreadStatus0":{"type":"object","properties":{"consensus_thread_status":{"$ref":"#/components/schemas/ConsensusThreadStatusOneOf0ConsensusThreadStatus"},"last_update":{"type":"string","format":"date-time"}},"required":["consensus_thread_status","last_update"],"title":"ConsensusThreadStatus0"},"ConsensusThreadStatusOneOf1ConsensusThreadStatus":{"type":"string","enum":["stopped"],"title":"ConsensusThreadStatusOneOf1ConsensusThreadStatus"},"ConsensusThreadStatus1":{"type":"object","properties":{"consensus_thread_status":{"$ref":"#/components/schemas/ConsensusThreadStatusOneOf1ConsensusThreadStatus"}},"required":["consensus_thread_status"],"title":"ConsensusThreadStatus1"},"ConsensusThreadStatusOneOf2ConsensusThreadStatus":{"type":"string","enum":["stopped_with_err"],"title":"ConsensusThreadStatusOneOf2ConsensusThreadStatus"},"ConsensusThreadStatus2":{"type":"object","properties":{"consensus_thread_status":{"$ref":"#/components/schemas/ConsensusThreadStatusOneOf2ConsensusThreadStatus"},"err":{"type":"string"}},"required":["consensus_thread_status","err"],"title":"ConsensusThreadStatus2"},"ConsensusThreadStatus":{"oneOf":[{"$ref":"#/components/schemas/ConsensusThreadStatus0"},{"$ref":"#/components/schemas/ConsensusThreadStatus1"},{"$ref":"#/components/schemas/ConsensusThreadStatus2"}],"description":"Information about current consensus thread status","title":"ConsensusThreadStatus"},"MessageSendErrors":{"type":"object","properties":{"count":{"type":"integer"},"latest_error":{"type":["string","null"]},"latest_error_timestamp":{"type":["string","null"],"format":"date-time","description":"Timestamp of the latest error"}},"required":["count"],"description":"Message send failures for a particular peer","title":"MessageSendErrors"},"ClusterStatus1":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/ClusterStatusOneOf1Status"},"peer_id":{"type":"integer","format":"uint64","description":"ID of this peer"},"peers":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PeerInfo"},"description":"Peers composition of the cluster with main information"},"raft_info":{"$ref":"#/components/schemas/RaftInfo"},"consensus_thread_status":{"$ref":"#/components/schemas/ConsensusThreadStatus"},"message_send_failures":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/MessageSendErrors"},"description":"Consequent failures of message send operations in consensus by peer address. On the first success to send to that peer - entry is removed from this hashmap."}},"required":["status","peer_id","peers","raft_info","consensus_thread_status","message_send_failures"],"description":"Description of enabled cluster","title":"ClusterStatus1"},"ClusterStatus":{"oneOf":[{"$ref":"#/components/schemas/ClusterStatus0"},{"$ref":"#/components/schemas/ClusterStatus1"}],"description":"Information about current cluster status and structure","title":"ClusterStatus"},"Distributed_cluster_status_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/ClusterGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/ClusterStatus"}},"title":"Distributed_cluster_status_Response_200"},"CollectionsCollectionNameShardsGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameShardsGetResponsesContentApplicationJsonSchemaUsage"},"ShardKeyDescription":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/ShardKey"}},"required":["key"],"title":"ShardKeyDescription"},"ShardKeysResponse":{"type":"object","properties":{"shard_keys":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ShardKeyDescription"},"description":"The existing shard keys. Only available when sharding method is `custom`"}},"title":"ShardKeysResponse"},"Distributed_list_shard_keys_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameShardsGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/ShardKeysResponse"}},"title":"Distributed_list_shard_keys_Response_200"},"ReplicaState":{"type":"string","enum":["Active","Dead","Partial","Initializing","Listener","PartialSnapshot","Recovery","Resharding","ReshardingScaleDown","ActiveRead","ManualRecovery"],"description":"State of the single shard within a replica set.","title":"ReplicaState"},"CreateShardingKeyInitialState":{"oneOf":[{"$ref":"#/components/schemas/ReplicaState"},{"description":"Any type"}],"description":"Initial state of the shards for this key If not specified, will be `Initializing` first and then `Active` Warning: do not change this unless you know what you are doing","title":"CreateShardingKeyInitialState"},"CreateShardingKey":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/ShardKey"},"shards_number":{"type":["integer","null"],"format":"uint","description":"How many shards to create for this key If not specified, will use the default value from config"},"replication_factor":{"type":["integer","null"],"format":"uint","description":"How many replicas to create for each shard If not specified, will use the default value from config"},"placement":{"type":["array","null"],"items":{"type":"integer","format":"uint64"},"description":"Placement of shards for this key List of peer ids, that can be used to place shards for this key If not specified, will be randomly placed among all peers"},"initial_state":{"$ref":"#/components/schemas/CreateShardingKeyInitialState","description":"Initial state of the shards for this key If not specified, will be `Initializing` first and then `Active` Warning: do not change this unless you know what you are doing"}},"required":["shard_key"],"title":"CreateShardingKey"},"CollectionsCollectionNameShardsPutResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameShardsPutResponsesContentApplicationJsonSchemaUsage"},"Distributed_create_shard_key_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameShardsPutResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Distributed_create_shard_key_Response_200"},"DropShardingKey":{"type":"object","properties":{"shard_key":{"$ref":"#/components/schemas/ShardKey"}},"required":["shard_key"],"title":"DropShardingKey"},"CollectionsCollectionNameShardsDeletePostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameShardsDeletePostResponsesContentApplicationJsonSchemaUsage"},"Distributed_delete_shard_key_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameShardsDeletePostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Distributed_delete_shard_key_Response_200"},"ClusterTelemetryGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"ClusterTelemetryGetResponsesContentApplicationJsonSchemaUsage"},"DistributedShardTelemetryKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKey"},{"description":"Any type"}],"description":"Optional shard key","title":"DistributedShardTelemetryKey"},"ShardStatus":{"type":"string","enum":["green","yellow","grey","red"],"description":"Current state of the shard (supports same states as the collection)\n\n`Green` - all good. `Yellow` - optimization is running, 'Grey' - optimizations are possible but not triggered, `Red` - some operations failed and was not recovered","title":"ShardStatus"},"DistributedReplicaTelemetryStatus":{"oneOf":[{"$ref":"#/components/schemas/ShardStatus"},{"description":"Any type"}],"description":"Shard status","title":"DistributedReplicaTelemetryStatus"},"ShardCleanStatusTelemetry0":{"type":"string","enum":["started","done","cancelled"],"title":"ShardCleanStatusTelemetry0"},"ShardCleanStatusProgressTelemetry":{"type":"object","properties":{"deleted_points":{"type":"integer"}},"required":["deleted_points"],"title":"ShardCleanStatusProgressTelemetry"},"ShardCleanStatusTelemetry1":{"type":"object","properties":{"progress":{"$ref":"#/components/schemas/ShardCleanStatusProgressTelemetry"}},"required":["progress"],"title":"ShardCleanStatusTelemetry1"},"ShardCleanStatusFailedTelemetry":{"type":"object","properties":{"reason":{"type":"string"}},"required":["reason"],"title":"ShardCleanStatusFailedTelemetry"},"ShardCleanStatusTelemetry2":{"type":"object","properties":{"failed":{"$ref":"#/components/schemas/ShardCleanStatusFailedTelemetry"}},"required":["failed"],"title":"ShardCleanStatusTelemetry2"},"ShardCleanStatusTelemetry":{"oneOf":[{"$ref":"#/components/schemas/ShardCleanStatusTelemetry0"},{"$ref":"#/components/schemas/ShardCleanStatusTelemetry1"},{"$ref":"#/components/schemas/ShardCleanStatusTelemetry2"}],"title":"ShardCleanStatusTelemetry"},"DistributedReplicaTelemetryShardCleaningStatus":{"oneOf":[{"$ref":"#/components/schemas/ShardCleanStatusTelemetry"},{"description":"Any type"}],"description":"Shard cleaning task status. After a resharding, a cleanup task is performed to remove outdated points from this shard.","title":"DistributedReplicaTelemetryShardCleaningStatus"},"PartialSnapshotTelemetry":{"type":"object","properties":{"ongoing_create_snapshot_requests":{"type":"integer"},"is_recovering":{"type":"boolean"},"recovery_timestamp":{"type":"integer","format":"uint64"}},"required":["ongoing_create_snapshot_requests","is_recovering","recovery_timestamp"],"title":"PartialSnapshotTelemetry"},"DistributedReplicaTelemetryPartialSnapshot":{"oneOf":[{"$ref":"#/components/schemas/PartialSnapshotTelemetry"},{"description":"Any type"}],"description":"Partial snapshot telemetry","title":"DistributedReplicaTelemetryPartialSnapshot"},"DistributedReplicaTelemetry":{"type":"object","properties":{"peer_id":{"type":"integer","format":"uint64","description":"Peer ID hosting this replica"},"state":{"$ref":"#/components/schemas/ReplicaState"},"status":{"$ref":"#/components/schemas/DistributedReplicaTelemetryStatus","description":"Shard status"},"total_optimized_points":{"type":["integer","null"],"description":"Total optimized points"},"vectors_size_bytes":{"type":["integer","null"],"description":"Estimated vectors size in bytes"},"payloads_size_bytes":{"type":["integer","null"],"description":"Estimated payloads size in bytes"},"num_points":{"type":["integer","null"],"description":"Approximate number of points"},"num_vectors":{"type":["integer","null"],"description":"Approximate number of vectors"},"num_vectors_by_name":{"type":["object","null"],"additionalProperties":{"type":"integer"},"description":"Approximate number of vectors by name"},"shard_cleaning_status":{"$ref":"#/components/schemas/DistributedReplicaTelemetryShardCleaningStatus","description":"Shard cleaning task status. After a resharding, a cleanup task is performed to remove outdated points from this shard."},"partial_snapshot":{"$ref":"#/components/schemas/DistributedReplicaTelemetryPartialSnapshot","description":"Partial snapshot telemetry"}},"required":["peer_id","state"],"title":"DistributedReplicaTelemetry"},"DistributedShardTelemetry":{"type":"object","properties":{"id":{"type":"integer","format":"uint","description":"Shard ID"},"key":{"$ref":"#/components/schemas/DistributedShardTelemetryKey","description":"Optional shard key"},"replicas":{"type":"array","items":{"$ref":"#/components/schemas/DistributedReplicaTelemetry"},"description":"Replica information"}},"required":["id","replicas"],"title":"DistributedShardTelemetry"},"ReshardingDirection":{"type":"string","enum":["up","down"],"description":"Resharding direction, scale up or down in number of shards\n\n- `up` - Scale up, add a new shard\n\n- `down` - Scale down, remove a shard","title":"ReshardingDirection"},"ReshardingInfoShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKey"},{"description":"Any type"}],"title":"ReshardingInfoShardKey"},"ReshardingInfo":{"type":"object","properties":{"direction":{"$ref":"#/components/schemas/ReshardingDirection"},"shard_id":{"type":"integer","format":"uint"},"peer_id":{"type":"integer","format":"uint64"},"shard_key":{"$ref":"#/components/schemas/ReshardingInfoShardKey"}},"required":["direction","shard_id","peer_id"],"title":"ReshardingInfo"},"ShardTransferMethod":{"type":"string","enum":["stream_records","snapshot","wal_delta","resharding_stream_records"],"description":"Methods for transferring a shard from one node to another.\n\n- `stream_records` - Stream all shard records in batches until the whole shard is transferred.\n\n- `snapshot` - Snapshot the shard, transfer and restore it on the receiver.\n\n- `wal_delta` - Attempt to transfer shard difference by WAL delta.\n\n- `resharding_stream_records` - Shard transfer for resharding: stream all records in batches until all points are transferred.","title":"ShardTransferMethod"},"ShardTransferInfoMethod":{"oneOf":[{"$ref":"#/components/schemas/ShardTransferMethod"},{"description":"Any type"}],"title":"ShardTransferInfoMethod"},"ShardTransferInfo":{"type":"object","properties":{"shard_id":{"type":"integer","format":"uint"},"to_shard_id":{"type":["integer","null"],"format":"uint","description":"Target shard ID if different than source shard ID\n\nUsed exclusively with `ReshardingStreamRecords` transfer method."},"from":{"type":"integer","format":"uint64","description":"Source peer id"},"to":{"type":"integer","format":"uint64","description":"Destination peer id"},"sync":{"type":"boolean","description":"If `true` transfer is a synchronization of a replicas If `false` transfer is a moving of a shard from one peer to another"},"method":{"$ref":"#/components/schemas/ShardTransferInfoMethod"},"comment":{"type":["string","null"],"description":"A human-readable report of the transfer progress. Available only on the source peer."}},"required":["shard_id","from","to","sync"],"title":"ShardTransferInfo"},"DistributedCollectionTelemetry":{"type":"object","properties":{"id":{"type":"string","description":"Collection name"},"shards":{"type":["array","null"],"items":{"$ref":"#/components/schemas/DistributedShardTelemetry"},"description":"Shards topology"},"reshardings":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ReshardingInfo"},"description":"Ongoing resharding operations"},"shard_transfers":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ShardTransferInfo"},"description":"Ongoing shard transfers"}},"required":["id"],"title":"DistributedCollectionTelemetry"},"DistributedPeerDetailsRole":{"oneOf":[{"$ref":"#/components/schemas/StateRole"},{"description":"Any type"}],"description":"Consensus role for the peer","title":"DistributedPeerDetailsRole"},"DistributedPeerDetails":{"type":"object","properties":{"version":{"type":"string","description":"Qdrant version"},"role":{"$ref":"#/components/schemas/DistributedPeerDetailsRole","description":"Consensus role for the peer"},"is_voter":{"type":"boolean","description":"Whether it can participate in leader elections"},"term":{"type":"integer","format":"uint64","description":"Election term"},"commit":{"type":"integer","format":"uint64","description":"Latest accepted commit"},"num_pending_operations":{"type":"integer","format":"uint64","description":"Number of operations pending for being applied"},"consensus_thread_status":{"$ref":"#/components/schemas/ConsensusThreadStatus"}},"required":["version","is_voter","term","commit","num_pending_operations","consensus_thread_status"],"title":"DistributedPeerDetails"},"DistributedPeerInfoDetails":{"oneOf":[{"$ref":"#/components/schemas/DistributedPeerDetails"},{"description":"Any type"}],"description":"If responsive, these details should be available","title":"DistributedPeerInfoDetails"},"DistributedPeerInfo":{"type":"object","properties":{"uri":{"type":"string","description":"URI of the peer"},"responsive":{"type":"boolean","description":"Whether this peer responded for this request"},"details":{"$ref":"#/components/schemas/DistributedPeerInfoDetails","description":"If responsive, these details should be available"}},"required":["uri","responsive"],"title":"DistributedPeerInfo"},"DistributedClusterTelemetry":{"type":"object","properties":{"enabled":{"type":"boolean"},"number_of_peers":{"type":["integer","null"],"format":"uint64"},"peers":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/DistributedPeerInfo"}}},"required":["enabled","peers"],"title":"DistributedClusterTelemetry"},"DistributedTelemetryDataCluster":{"oneOf":[{"$ref":"#/components/schemas/DistributedClusterTelemetry"},{"description":"Any type"}],"title":"DistributedTelemetryDataCluster"},"DistributedTelemetryData":{"type":"object","properties":{"collections":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/DistributedCollectionTelemetry"}},"cluster":{"$ref":"#/components/schemas/DistributedTelemetryDataCluster"}},"required":["collections"],"title":"DistributedTelemetryData"},"Distributed_cluster_telemetry_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/ClusterTelemetryGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/DistributedTelemetryData"}},"title":"Distributed_cluster_telemetry_Response_200"},"ClusterRecoverPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"ClusterRecoverPostResponsesContentApplicationJsonSchemaUsage"},"Distributed_recover_current_peer_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/ClusterRecoverPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Distributed_recover_current_peer_Response_200"},"ClusterPeerPeerIdDeleteResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"ClusterPeerPeerIdDeleteResponsesContentApplicationJsonSchemaUsage"},"Distributed_remove_peer_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/ClusterPeerPeerIdDeleteResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Distributed_remove_peer_Response_200"},"CollectionsCollectionNameClusterGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameClusterGetResponsesContentApplicationJsonSchemaUsage"},"LocalShardInfoShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKey"},{"description":"Any type"}],"description":"User-defined sharding key","title":"LocalShardInfoShardKey"},"LocalShardInfo":{"type":"object","properties":{"shard_id":{"type":"integer","format":"uint","description":"Local shard id"},"shard_key":{"$ref":"#/components/schemas/LocalShardInfoShardKey","description":"User-defined sharding key"},"points_count":{"type":"integer","description":"Number of points in the shard"},"state":{"$ref":"#/components/schemas/ReplicaState"}},"required":["shard_id","points_count","state"],"title":"LocalShardInfo"},"RemoteShardInfoShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKey"},{"description":"Any type"}],"description":"User-defined sharding key","title":"RemoteShardInfoShardKey"},"RemoteShardInfo":{"type":"object","properties":{"shard_id":{"type":"integer","format":"uint","description":"Remote shard id"},"shard_key":{"$ref":"#/components/schemas/RemoteShardInfoShardKey","description":"User-defined sharding key"},"peer_id":{"type":"integer","format":"uint64","description":"Remote peer id"},"state":{"$ref":"#/components/schemas/ReplicaState"}},"required":["shard_id","peer_id","state"],"title":"RemoteShardInfo"},"CollectionClusterInfo":{"type":"object","properties":{"peer_id":{"type":"integer","format":"uint64","description":"ID of this peer"},"shard_count":{"type":"integer","description":"Total number of shards"},"local_shards":{"type":"array","items":{"$ref":"#/components/schemas/LocalShardInfo"},"description":"Local shards"},"remote_shards":{"type":"array","items":{"$ref":"#/components/schemas/RemoteShardInfo"},"description":"Remote shards"},"shard_transfers":{"type":"array","items":{"$ref":"#/components/schemas/ShardTransferInfo"},"description":"Shard transfers"},"resharding_operations":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ReshardingInfo"},"description":"Resharding operations"}},"required":["peer_id","shard_count","local_shards","remote_shards","shard_transfers"],"description":"Current clustering distribution for the collection","title":"CollectionClusterInfo"},"Distributed_collection_cluster_info_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameClusterGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/CollectionClusterInfo"}},"title":"Distributed_collection_cluster_info_Response_200"},"MoveShardMethod":{"oneOf":[{"$ref":"#/components/schemas/ShardTransferMethod"},{"description":"Any type"}],"description":"Method for transferring the shard from one node to another","title":"MoveShardMethod"},"MoveShard":{"type":"object","properties":{"shard_id":{"type":"integer","format":"uint"},"to_peer_id":{"type":"integer","format":"uint64"},"from_peer_id":{"type":"integer","format":"uint64"},"method":{"$ref":"#/components/schemas/MoveShardMethod","description":"Method for transferring the shard from one node to another"}},"required":["shard_id","to_peer_id","from_peer_id"],"title":"MoveShard"},"MoveShardOperation":{"type":"object","properties":{"move_shard":{"$ref":"#/components/schemas/MoveShard"}},"required":["move_shard"],"title":"MoveShardOperation"},"ReplicateShardMethod":{"oneOf":[{"$ref":"#/components/schemas/ShardTransferMethod"},{"description":"Any type"}],"description":"Method for transferring the shard from one node to another","title":"ReplicateShardMethod"},"ReplicateShard":{"type":"object","properties":{"shard_id":{"type":"integer","format":"uint"},"to_peer_id":{"type":"integer","format":"uint64"},"from_peer_id":{"type":"integer","format":"uint64"},"method":{"$ref":"#/components/schemas/ReplicateShardMethod","description":"Method for transferring the shard from one node to another"}},"required":["shard_id","to_peer_id","from_peer_id"],"title":"ReplicateShard"},"ReplicateShardOperation":{"type":"object","properties":{"replicate_shard":{"$ref":"#/components/schemas/ReplicateShard"}},"required":["replicate_shard"],"title":"ReplicateShardOperation"},"AbortShardTransfer":{"type":"object","properties":{"shard_id":{"type":"integer","format":"uint"},"to_peer_id":{"type":"integer","format":"uint64"},"from_peer_id":{"type":"integer","format":"uint64"}},"required":["shard_id","to_peer_id","from_peer_id"],"title":"AbortShardTransfer"},"AbortTransferOperation":{"type":"object","properties":{"abort_transfer":{"$ref":"#/components/schemas/AbortShardTransfer"}},"required":["abort_transfer"],"title":"AbortTransferOperation"},"Replica":{"type":"object","properties":{"shard_id":{"type":"integer","format":"uint"},"peer_id":{"type":"integer","format":"uint64"}},"required":["shard_id","peer_id"],"title":"Replica"},"DropReplicaOperation":{"type":"object","properties":{"drop_replica":{"$ref":"#/components/schemas/Replica"}},"required":["drop_replica"],"title":"DropReplicaOperation"},"CreateShardingKeyOperation":{"type":"object","properties":{"create_sharding_key":{"$ref":"#/components/schemas/CreateShardingKey"}},"required":["create_sharding_key"],"title":"CreateShardingKeyOperation"},"DropShardingKeyOperation":{"type":"object","properties":{"drop_sharding_key":{"$ref":"#/components/schemas/DropShardingKey"}},"required":["drop_sharding_key"],"title":"DropShardingKeyOperation"},"RestartTransfer":{"type":"object","properties":{"shard_id":{"type":"integer","format":"uint"},"from_peer_id":{"type":"integer","format":"uint64"},"to_peer_id":{"type":"integer","format":"uint64"},"method":{"$ref":"#/components/schemas/ShardTransferMethod"}},"required":["shard_id","from_peer_id","to_peer_id","method"],"title":"RestartTransfer"},"RestartTransferOperation":{"type":"object","properties":{"restart_transfer":{"$ref":"#/components/schemas/RestartTransfer"}},"required":["restart_transfer"],"title":"RestartTransferOperation"},"StartReshardingShardKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKey"},{"description":"Any type"}],"title":"StartReshardingShardKey"},"StartResharding":{"type":"object","properties":{"direction":{"$ref":"#/components/schemas/ReshardingDirection"},"peer_id":{"type":["integer","null"],"format":"uint64"},"shard_key":{"$ref":"#/components/schemas/StartReshardingShardKey"}},"required":["direction"],"title":"StartResharding"},"StartReshardingOperation":{"type":"object","properties":{"start_resharding":{"$ref":"#/components/schemas/StartResharding"}},"required":["start_resharding"],"title":"StartReshardingOperation"},"AbortResharding":{"type":"object","properties":{},"title":"AbortResharding"},"AbortReshardingOperation":{"type":"object","properties":{"abort_resharding":{"$ref":"#/components/schemas/AbortResharding"}},"required":["abort_resharding"],"title":"AbortReshardingOperation"},"ReplicatePointsFilter":{"oneOf":[{"$ref":"#/components/schemas/Filter"},{"description":"Any type"}],"title":"ReplicatePointsFilter"},"ReplicatePoints":{"type":"object","properties":{"filter":{"$ref":"#/components/schemas/ReplicatePointsFilter"},"from_shard_key":{"$ref":"#/components/schemas/ShardKey"},"to_shard_key":{"$ref":"#/components/schemas/ShardKey"}},"required":["from_shard_key","to_shard_key"],"title":"ReplicatePoints"},"ReplicatePointsOperation":{"type":"object","properties":{"replicate_points":{"$ref":"#/components/schemas/ReplicatePoints"}},"required":["replicate_points"],"title":"ReplicatePointsOperation"},"ClusterOperations":{"oneOf":[{"$ref":"#/components/schemas/MoveShardOperation"},{"$ref":"#/components/schemas/ReplicateShardOperation"},{"$ref":"#/components/schemas/AbortTransferOperation"},{"$ref":"#/components/schemas/DropReplicaOperation"},{"$ref":"#/components/schemas/CreateShardingKeyOperation"},{"$ref":"#/components/schemas/DropShardingKeyOperation"},{"$ref":"#/components/schemas/RestartTransferOperation"},{"$ref":"#/components/schemas/StartReshardingOperation"},{"$ref":"#/components/schemas/AbortReshardingOperation"},{"$ref":"#/components/schemas/ReplicatePointsOperation"}],"title":"ClusterOperations"},"CollectionsCollectionNameClusterPostResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"CollectionsCollectionNameClusterPostResponsesContentApplicationJsonSchemaUsage"},"Distributed_update_collection_cluster_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/CollectionsCollectionNameClusterPostResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Distributed_update_collection_cluster_Response_200"},"TelemetryGetResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"TelemetryGetResponsesContentApplicationJsonSchemaUsage"},"AppFeaturesTelemetry":{"type":"object","properties":{"debug":{"type":"boolean"},"service_debug_feature":{"type":"boolean"},"recovery_mode":{"type":"boolean"},"gpu":{"type":"boolean"},"rocksdb":{"type":"boolean"},"staging":{"type":"boolean"}},"required":["debug","service_debug_feature","recovery_mode","gpu","rocksdb","staging"],"title":"AppFeaturesTelemetry"},"AppBuildTelemetryFeatures":{"oneOf":[{"$ref":"#/components/schemas/AppFeaturesTelemetry"},{"description":"Any type"}],"title":"AppBuildTelemetryFeatures"},"FeatureFlags":{"type":"object","properties":{"all":{"type":"boolean","default":false,"description":"Magic feature flag that enables all features.\n\nNote that this will only be applied to all flags when passed into [`init_feature_flags`]."},"payload_index_skip_rocksdb":{"type":"boolean","default":true,"description":"Skip usage of RocksDB in new immutable payload indices.\n\nFirst implemented in Qdrant 1.13.5. Enabled by default in Qdrant 1.14.1."},"payload_index_skip_mutable_rocksdb":{"type":"boolean","default":true,"description":"Skip usage of RocksDB in new mutable payload indices.\n\nFirst implemented in Qdrant 1.15.0. Enabled by default in Qdrant 1.16.0."},"payload_storage_skip_rocksdb":{"type":"boolean","default":true,"description":"Skip usage of RocksDB in new payload storages.\n\nOn-disk payload storages never use Gridstore.\n\nFirst implemented in Qdrant 1.15.0. Enabled by default in Qdrant 1.16.0."},"incremental_hnsw_building":{"type":"boolean","default":true,"description":"Use incremental HNSW building.\n\nEnabled by default in Qdrant 1.14.1."},"migrate_rocksdb_id_tracker":{"type":"boolean","default":true,"description":"Migrate RocksDB based ID trackers into file based ID tracker on start.\n\nEnabled by default in Qdrant 1.15.0."},"migrate_rocksdb_vector_storage":{"type":"boolean","default":true,"description":"Migrate RocksDB based vector storages into new format on start.\n\nEnabled by default in Qdrant 1.16.1."},"migrate_rocksdb_payload_storage":{"type":"boolean","default":true,"description":"Migrate RocksDB based payload storages into new format on start.\n\nEnabled by default in Qdrant 1.16.1."},"migrate_rocksdb_payload_indices":{"type":"boolean","default":true,"description":"Migrate RocksDB based payload indices into new format on start.\n\nRebuilds a new payload index from scratch.\n\nEnabled by default in Qdrant 1.16.1."},"appendable_quantization":{"type":"boolean","default":true,"description":"Use appendable quantization in appendable plain segments.\n\nEnabled by default in Qdrant 1.16.0."},"single_file_mmap_vector_storage":{"type":"boolean","default":false,"description":"Use single-file mmap in-ram vector storage (InRamMmap)\n\nEnabled by default in Qdrant 1.17.1+"}},"title":"FeatureFlags"},"AppBuildTelemetryRuntimeFeatures":{"oneOf":[{"$ref":"#/components/schemas/FeatureFlags"},{"description":"Any type"}],"title":"AppBuildTelemetryRuntimeFeatures"},"HnswGlobalConfig":{"type":"object","properties":{"healing_threshold":{"type":"number","format":"double","default":0.3,"description":"Enable HNSW healing if the ratio of missing points is no more than this value. To disable healing completely, set this value to `0.0`."}},"title":"HnswGlobalConfig"},"AppBuildTelemetryHnswGlobalConfig":{"oneOf":[{"$ref":"#/components/schemas/HnswGlobalConfig"},{"description":"Any type"}],"title":"AppBuildTelemetryHnswGlobalConfig"},"CpuEndian":{"type":"string","enum":["little","big","other"],"title":"CpuEndian"},"RunningEnvironmentTelemetryCpuEndian":{"oneOf":[{"$ref":"#/components/schemas/CpuEndian"},{"description":"Any type"}],"title":"RunningEnvironmentTelemetryCpuEndian"},"GpuDeviceTelemetry":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"],"title":"GpuDeviceTelemetry"},"RunningEnvironmentTelemetry":{"type":"object","properties":{"distribution":{"type":["string","null"]},"distribution_version":{"type":["string","null"]},"is_docker":{"type":"boolean"},"cores":{"type":["integer","null"]},"ram_size":{"type":["integer","null"]},"disk_size":{"type":["integer","null"]},"cpu_flags":{"type":"string"},"cpu_endian":{"$ref":"#/components/schemas/RunningEnvironmentTelemetryCpuEndian"},"gpu_devices":{"type":["array","null"],"items":{"$ref":"#/components/schemas/GpuDeviceTelemetry"}}},"required":["is_docker","cpu_flags"],"title":"RunningEnvironmentTelemetry"},"AppBuildTelemetrySystem":{"oneOf":[{"$ref":"#/components/schemas/RunningEnvironmentTelemetry"},{"description":"Any type"}],"title":"AppBuildTelemetrySystem"},"AppBuildTelemetry":{"type":"object","properties":{"name":{"type":"string"},"version":{"type":"string"},"features":{"$ref":"#/components/schemas/AppBuildTelemetryFeatures"},"runtime_features":{"$ref":"#/components/schemas/AppBuildTelemetryRuntimeFeatures"},"hnsw_global_config":{"$ref":"#/components/schemas/AppBuildTelemetryHnswGlobalConfig"},"system":{"$ref":"#/components/schemas/AppBuildTelemetrySystem"},"jwt_rbac":{"type":["boolean","null"]},"hide_jwt_dashboard":{"type":["boolean","null"]},"startup":{"type":"string","format":"date-time"}},"required":["name","version","startup"],"title":"AppBuildTelemetry"},"TelemetryDataApp":{"oneOf":[{"$ref":"#/components/schemas/AppBuildTelemetry"},{"description":"Any type"}],"title":"TelemetryDataApp"},"CollectionConfigTelemetryQuantizationConfig":{"oneOf":[{"$ref":"#/components/schemas/QuantizationConfig"},{"description":"Any type"}],"title":"CollectionConfigTelemetryQuantizationConfig"},"CollectionConfigTelemetryStrictModeConfig":{"oneOf":[{"$ref":"#/components/schemas/StrictModeConfigOutput"},{"description":"Any type"}],"title":"CollectionConfigTelemetryStrictModeConfig"},"CollectionConfigTelemetryMetadata":{"oneOf":[{"$ref":"#/components/schemas/Payload"},{"description":"Any type"}],"description":"Arbitrary JSON metadata for the collection","title":"CollectionConfigTelemetryMetadata"},"CollectionConfigTelemetry":{"type":"object","properties":{"params":{"$ref":"#/components/schemas/CollectionParams"},"hnsw_config":{"$ref":"#/components/schemas/HnswConfig"},"optimizer_config":{"$ref":"#/components/schemas/OptimizersConfig"},"wal_config":{"$ref":"#/components/schemas/WalConfig"},"quantization_config":{"$ref":"#/components/schemas/CollectionConfigTelemetryQuantizationConfig"},"strict_mode_config":{"$ref":"#/components/schemas/CollectionConfigTelemetryStrictModeConfig"},"uuid":{"type":["string","null"],"format":"uuid"},"metadata":{"$ref":"#/components/schemas/CollectionConfigTelemetryMetadata","description":"Arbitrary JSON metadata for the collection"}},"required":["params","hnsw_config","optimizer_config","wal_config"],"title":"CollectionConfigTelemetry"},"CollectionTelemetryConfig":{"oneOf":[{"$ref":"#/components/schemas/CollectionConfigTelemetry"},{"description":"Any type"}],"title":"CollectionTelemetryConfig"},"ReplicaSetTelemetryKey":{"oneOf":[{"$ref":"#/components/schemas/ShardKey"},{"description":"Any type"}],"title":"ReplicaSetTelemetryKey"},"LocalShardTelemetryStatus":{"oneOf":[{"$ref":"#/components/schemas/ShardStatus"},{"description":"Any type"}],"title":"LocalShardTelemetryStatus"},"SegmentType":{"type":"string","enum":["plain","indexed","special"],"description":"Type of segment","title":"SegmentType"},"VectorDataInfo":{"type":"object","properties":{"num_vectors":{"type":"integer"},"num_indexed_vectors":{"type":"integer"},"num_deleted_vectors":{"type":"integer"}},"required":["num_vectors","num_indexed_vectors","num_deleted_vectors"],"title":"VectorDataInfo"},"SegmentInfo":{"type":"object","properties":{"uuid":{"type":"string","format":"uuid"},"segment_type":{"$ref":"#/components/schemas/SegmentType"},"num_vectors":{"type":"integer"},"num_points":{"type":"integer"},"num_indexed_vectors":{"type":"integer"},"num_deleted_vectors":{"type":"integer"},"vectors_size_bytes":{"type":"integer","description":"An ESTIMATION of effective amount of bytes used for vectors Do NOT rely on this number unless you know what you are doing"},"payloads_size_bytes":{"type":"integer","description":"An estimation of the effective amount of bytes used for payloads"},"ram_usage_bytes":{"type":"integer"},"disk_usage_bytes":{"type":"integer"},"is_appendable":{"type":"boolean"},"index_schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PayloadIndexInfo"}},"vector_data":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/VectorDataInfo"}}},"required":["uuid","segment_type","num_vectors","num_points","num_indexed_vectors","num_deleted_vectors","vectors_size_bytes","payloads_size_bytes","ram_usage_bytes","disk_usage_bytes","is_appendable","index_schema","vector_data"],"description":"Aggregated information about segment","title":"SegmentInfo"},"VectorStorageType0":{"type":"string","enum":["Memory"],"description":"Storage in memory (RAM)\n\nWill be very fast at the cost of consuming a lot of memory.","title":"VectorStorageType0"},"VectorStorageType1":{"type":"string","enum":["Mmap"],"description":"Storage in mmap file, not appendable\n\nSearch performance is defined by disk speed and the fraction of vectors that fit in memory.","title":"VectorStorageType1"},"VectorStorageType2":{"type":"string","enum":["ChunkedMmap"],"description":"Storage in chunked mmap files, appendable\n\nSearch performance is defined by disk speed and the fraction of vectors that fit in memory.","title":"VectorStorageType2"},"VectorStorageType3":{"type":"string","enum":["InRamChunkedMmap"],"description":"Same as `ChunkedMmap`, but vectors are forced to be locked in RAM In this way we avoid cold requests to disk, but risk to run out of memory\n\nDesigned as a replacement for `Memory`, which doesn't depend on RocksDB","title":"VectorStorageType3"},"VectorStorageType4":{"type":"string","enum":["InRamMmap"],"description":"Storage in a single mmap file, not appendable Pre-fetched into RAM on load","title":"VectorStorageType4"},"VectorStorageType":{"oneOf":[{"$ref":"#/components/schemas/VectorStorageType0"},{"$ref":"#/components/schemas/VectorStorageType1"},{"$ref":"#/components/schemas/VectorStorageType2"},{"$ref":"#/components/schemas/VectorStorageType3"},{"$ref":"#/components/schemas/VectorStorageType4"}],"description":"Storage types for vectors","title":"VectorStorageType"},"IndexesOneOf0Type":{"type":"string","enum":["plain"],"title":"IndexesOneOf0Type"},"IndexesOneOf0Options":{"type":"object","properties":{},"title":"IndexesOneOf0Options"},"Indexes0":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/IndexesOneOf0Type"},"options":{"$ref":"#/components/schemas/IndexesOneOf0Options"}},"required":["type","options"],"description":"Do not use any index, scan whole vector collection during search. Guarantee 100% precision, but may be time consuming on large collections.","title":"Indexes0"},"IndexesOneOf1Type":{"type":"string","enum":["hnsw"],"title":"IndexesOneOf1Type"},"Indexes1":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/IndexesOneOf1Type"},"options":{"$ref":"#/components/schemas/HnswConfig"}},"required":["type","options"],"description":"Use filterable HNSW index for approximate search. Is very fast even on a very huge collections, but require additional space to store index and additional time to build it.","title":"Indexes1"},"Indexes":{"oneOf":[{"$ref":"#/components/schemas/Indexes0"},{"$ref":"#/components/schemas/Indexes1"}],"description":"Vector index configuration","title":"Indexes"},"VectorDataConfigQuantizationConfig":{"oneOf":[{"$ref":"#/components/schemas/QuantizationConfig"},{"description":"Any type"}],"description":"Vector specific quantization config that overrides collection config","title":"VectorDataConfigQuantizationConfig"},"VectorDataConfigMultivectorConfig":{"oneOf":[{"$ref":"#/components/schemas/MultiVectorConfig"},{"description":"Any type"}],"description":"Vector specific configuration to enable multiple vectors per point","title":"VectorDataConfigMultivectorConfig"},"VectorStorageDatatype":{"type":"string","enum":["float32","float16","uint8"],"description":"Storage types for vectors","title":"VectorStorageDatatype"},"VectorDataConfigDatatype":{"oneOf":[{"$ref":"#/components/schemas/VectorStorageDatatype"},{"description":"Any type"}],"description":"Vector specific configuration to set specific storage element type","title":"VectorDataConfigDatatype"},"VectorDataConfig":{"type":"object","properties":{"size":{"type":"integer","description":"Size/dimensionality of the vectors used"},"distance":{"$ref":"#/components/schemas/Distance"},"storage_type":{"$ref":"#/components/schemas/VectorStorageType"},"index":{"$ref":"#/components/schemas/Indexes"},"quantization_config":{"$ref":"#/components/schemas/VectorDataConfigQuantizationConfig","description":"Vector specific quantization config that overrides collection config"},"multivector_config":{"$ref":"#/components/schemas/VectorDataConfigMultivectorConfig","description":"Vector specific configuration to enable multiple vectors per point"},"datatype":{"$ref":"#/components/schemas/VectorDataConfigDatatype","description":"Vector specific configuration to set specific storage element type"}},"required":["size","distance","storage_type","index"],"description":"Config of single vector data storage","title":"VectorDataConfig"},"SparseIndexType0":{"type":"string","enum":["MutableRam"],"description":"Mutable RAM sparse index","title":"SparseIndexType0"},"SparseIndexType1":{"type":"string","enum":["ImmutableRam"],"description":"Immutable RAM sparse index","title":"SparseIndexType1"},"SparseIndexType2":{"type":"string","enum":["Mmap"],"description":"Mmap sparse index","title":"SparseIndexType2"},"SparseIndexType":{"oneOf":[{"$ref":"#/components/schemas/SparseIndexType0"},{"$ref":"#/components/schemas/SparseIndexType1"},{"$ref":"#/components/schemas/SparseIndexType2"}],"description":"Sparse index types","title":"SparseIndexType"},"SparseIndexConfigDatatype":{"oneOf":[{"$ref":"#/components/schemas/VectorStorageDatatype"},{"description":"Any type"}],"description":"Datatype used to store weights in the index.","title":"SparseIndexConfigDatatype"},"SparseIndexConfig":{"type":"object","properties":{"full_scan_threshold":{"type":["integer","null"],"description":"We prefer a full scan search upto (excluding) this number of vectors.\n\nNote: this is number of vectors, not KiloBytes."},"index_type":{"$ref":"#/components/schemas/SparseIndexType"},"datatype":{"$ref":"#/components/schemas/SparseIndexConfigDatatype","description":"Datatype used to store weights in the index."}},"required":["index_type"],"description":"Configuration for sparse inverted index.","title":"SparseIndexConfig"},"SparseVectorStorageType0":{"type":"string","enum":["on_disk"],"description":"Storage on disk (rocksdb storage)","title":"SparseVectorStorageType0"},"SparseVectorStorageType1":{"type":"string","enum":["mmap"],"description":"Storage in memory maps (gridstore storage)","title":"SparseVectorStorageType1"},"SparseVectorStorageType":{"oneOf":[{"$ref":"#/components/schemas/SparseVectorStorageType0"},{"$ref":"#/components/schemas/SparseVectorStorageType1"}],"title":"SparseVectorStorageType"},"SparseVectorDataConfigModifier":{"oneOf":[{"$ref":"#/components/schemas/Modifier"},{"description":"Any type"}],"description":"Configures addition value modifications for sparse vectors. Default: none","title":"SparseVectorDataConfigModifier"},"SparseVectorDataConfig":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/SparseIndexConfig"},"storage_type":{"$ref":"#/components/schemas/SparseVectorStorageType"},"modifier":{"$ref":"#/components/schemas/SparseVectorDataConfigModifier","description":"Configures addition value modifications for sparse vectors. Default: none"}},"required":["index"],"description":"Config of single sparse vector data storage","title":"SparseVectorDataConfig"},"PayloadStorageTypeOneOf0Type":{"type":"string","enum":["in_memory"],"title":"PayloadStorageTypeOneOf0Type"},"PayloadStorageType0":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/PayloadStorageTypeOneOf0Type"}},"required":["type"],"title":"PayloadStorageType0"},"PayloadStorageTypeOneOf1Type":{"type":"string","enum":["on_disk"],"title":"PayloadStorageTypeOneOf1Type"},"PayloadStorageType1":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/PayloadStorageTypeOneOf1Type"}},"required":["type"],"title":"PayloadStorageType1"},"PayloadStorageTypeOneOf2Type":{"type":"string","enum":["mmap"],"title":"PayloadStorageTypeOneOf2Type"},"PayloadStorageType2":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/PayloadStorageTypeOneOf2Type"}},"required":["type"],"title":"PayloadStorageType2"},"PayloadStorageTypeOneOf3Type":{"type":"string","enum":["in_ram_mmap"],"title":"PayloadStorageTypeOneOf3Type"},"PayloadStorageType3":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/PayloadStorageTypeOneOf3Type"}},"required":["type"],"title":"PayloadStorageType3"},"PayloadStorageType":{"oneOf":[{"$ref":"#/components/schemas/PayloadStorageType0"},{"$ref":"#/components/schemas/PayloadStorageType1"},{"$ref":"#/components/schemas/PayloadStorageType2"},{"$ref":"#/components/schemas/PayloadStorageType3"}],"description":"Type of payload storage","title":"PayloadStorageType"},"SegmentConfig":{"type":"object","properties":{"vector_data":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/VectorDataConfig"}},"sparse_vector_data":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/SparseVectorDataConfig"}},"payload_storage_type":{"$ref":"#/components/schemas/PayloadStorageType"}},"required":["payload_storage_type"],"title":"SegmentConfig"},"OperationDurationStatistics":{"type":"object","properties":{"count":{"type":"integer"},"fail_count":{"type":["integer","null"]},"avg_duration_micros":{"type":["number","null"],"format":"double","description":"The average time taken by 128 latest operations, calculated as a weighted mean."},"min_duration_micros":{"type":["number","null"],"format":"double","description":"The minimum duration of the operations across all the measurements."},"max_duration_micros":{"type":["number","null"],"format":"double","description":"The maximum duration of the operations across all the measurements."},"total_duration_micros":{"type":["integer","null"],"format":"uint64","description":"The total duration of all operations in microseconds."},"last_responded":{"type":["string","null"],"format":"date-time"}},"required":["count"],"title":"OperationDurationStatistics"},"VectorIndexSearchesTelemetry":{"type":"object","properties":{"index_name":{"type":["string","null"]},"unfiltered_plain":{"$ref":"#/components/schemas/OperationDurationStatistics"},"unfiltered_hnsw":{"$ref":"#/components/schemas/OperationDurationStatistics"},"unfiltered_sparse":{"$ref":"#/components/schemas/OperationDurationStatistics"},"filtered_plain":{"$ref":"#/components/schemas/OperationDurationStatistics"},"filtered_small_cardinality":{"$ref":"#/components/schemas/OperationDurationStatistics"},"filtered_large_cardinality":{"$ref":"#/components/schemas/OperationDurationStatistics"},"filtered_exact":{"$ref":"#/components/schemas/OperationDurationStatistics"},"filtered_sparse":{"$ref":"#/components/schemas/OperationDurationStatistics"},"unfiltered_exact":{"$ref":"#/components/schemas/OperationDurationStatistics"}},"required":["unfiltered_plain","unfiltered_hnsw","unfiltered_sparse","filtered_plain","filtered_small_cardinality","filtered_large_cardinality","filtered_exact","filtered_sparse","unfiltered_exact"],"title":"VectorIndexSearchesTelemetry"},"PayloadIndexTelemetry":{"type":"object","properties":{"field_name":{"type":["string","null"]},"index_type":{"type":"string"},"points_values_count":{"type":"integer","description":"The amount of values indexed for all points."},"points_count":{"type":"integer","description":"The amount of points that have at least one value indexed."},"histogram_bucket_size":{"type":["integer","null"]}},"required":["index_type","points_values_count","points_count"],"title":"PayloadIndexTelemetry"},"SegmentTelemetry":{"type":"object","properties":{"info":{"$ref":"#/components/schemas/SegmentInfo"},"config":{"$ref":"#/components/schemas/SegmentConfig"},"vector_index_searches":{"type":"array","items":{"$ref":"#/components/schemas/VectorIndexSearchesTelemetry"}},"payload_field_indices":{"type":"array","items":{"$ref":"#/components/schemas/PayloadIndexTelemetry"}}},"required":["info","config","vector_index_searches","payload_field_indices"],"title":"SegmentTelemetry"},"TrackerTelemetry":{"type":"object","properties":{"name":{"type":"string","description":"Name of the optimizer"},"uuid":{"type":"string","format":"uuid","description":"UUID of the upcoming segment being created by the optimizer"},"segment_ids":{"type":"array","items":{"type":"integer"},"description":"Internal segment IDs being optimized. These are local and in-memory, meaning that they can refer to different segments after a service restart."},"segment_uuids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Segment UUIDs being optimized. Refers to same segments as in `segment_ids`, but trackable across restarts, and reflect their directory name."},"status":{"$ref":"#/components/schemas/TrackerStatus"},"start_at":{"type":"string","format":"date-time","description":"Start time of the optimizer"},"end_at":{"type":["string","null"],"format":"date-time","description":"End time of the optimizer"}},"required":["name","uuid","segment_ids","segment_uuids","status","start_at"],"description":"Tracker object used in telemetry","title":"TrackerTelemetry"},"OptimizerTelemetry":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/OptimizersStatus"},"optimizations":{"$ref":"#/components/schemas/OperationDurationStatistics"},"log":{"type":["array","null"],"items":{"$ref":"#/components/schemas/TrackerTelemetry"}}},"required":["status","optimizations"],"title":"OptimizerTelemetry"},"LocalShardTelemetryOptimizations":{"oneOf":[{"$ref":"#/components/schemas/OptimizerTelemetry"},{"description":"Any type"}],"title":"LocalShardTelemetryOptimizations"},"ShardUpdateQueueInfo":{"type":"object","properties":{"length":{"type":"integer","description":"Number of elements in the queue"},"op_num":{"type":["integer","null"],"description":"last operation number processed"}},"required":["length"],"title":"ShardUpdateQueueInfo"},"LocalShardTelemetryUpdateQueue":{"oneOf":[{"$ref":"#/components/schemas/ShardUpdateQueueInfo"},{"description":"Any type"}],"description":"Update queue status","title":"LocalShardTelemetryUpdateQueue"},"LocalShardTelemetry":{"type":"object","properties":{"variant_name":{"type":["string","null"]},"status":{"$ref":"#/components/schemas/LocalShardTelemetryStatus"},"total_optimized_points":{"type":"integer","description":"Total number of optimized points since the last start."},"vectors_size_bytes":{"type":["integer","null"],"description":"An ESTIMATION of effective amount of bytes used for vectors Do NOT rely on this number unless you know what you are doing"},"payloads_size_bytes":{"type":["integer","null"],"description":"An estimation of the effective amount of bytes used for payloads Do NOT rely on this number unless you know what you are doing"},"num_points":{"type":["integer","null"],"description":"Sum of segment points This is an approximate number Do NOT rely on this number unless you know what you are doing"},"num_vectors":{"type":["integer","null"],"description":"Sum of number of vectors in all segments This is an approximate number Do NOT rely on this number unless you know what you are doing"},"num_vectors_by_name":{"type":["object","null"],"additionalProperties":{"type":"integer"},"description":"Sum of number of vectors across all segments, grouped by their name. This is an approximate number. Do NOT rely on this number unless you know what you are doing"},"segments":{"type":["array","null"],"items":{"$ref":"#/components/schemas/SegmentTelemetry"}},"optimizations":{"$ref":"#/components/schemas/LocalShardTelemetryOptimizations"},"async_scorer":{"type":["boolean","null"]},"indexed_only_excluded_vectors":{"type":["object","null"],"additionalProperties":{"type":"integer"}},"update_queue":{"$ref":"#/components/schemas/LocalShardTelemetryUpdateQueue","description":"Update queue status"}},"required":["total_optimized_points"],"title":"LocalShardTelemetry"},"ReplicaSetTelemetryLocal":{"oneOf":[{"$ref":"#/components/schemas/LocalShardTelemetry"},{"description":"Any type"}],"title":"ReplicaSetTelemetryLocal"},"RemoteShardTelemetrySearches":{"oneOf":[{"$ref":"#/components/schemas/OperationDurationStatistics"},{"description":"Any type"}],"title":"RemoteShardTelemetrySearches"},"RemoteShardTelemetryUpdates":{"oneOf":[{"$ref":"#/components/schemas/OperationDurationStatistics"},{"description":"Any type"}],"title":"RemoteShardTelemetryUpdates"},"RemoteShardTelemetry":{"type":"object","properties":{"shard_id":{"type":"integer","format":"uint"},"peer_id":{"type":"integer","format":"uint64"},"searches":{"$ref":"#/components/schemas/RemoteShardTelemetrySearches"},"updates":{"$ref":"#/components/schemas/RemoteShardTelemetryUpdates"}},"required":["shard_id","peer_id"],"title":"RemoteShardTelemetry"},"ReplicaSetTelemetryPartialSnapshot":{"oneOf":[{"$ref":"#/components/schemas/PartialSnapshotTelemetry"},{"description":"Any type"}],"title":"ReplicaSetTelemetryPartialSnapshot"},"ReplicaSetTelemetry":{"type":"object","properties":{"id":{"type":"integer","format":"uint"},"key":{"$ref":"#/components/schemas/ReplicaSetTelemetryKey"},"local":{"$ref":"#/components/schemas/ReplicaSetTelemetryLocal"},"remote":{"type":"array","items":{"$ref":"#/components/schemas/RemoteShardTelemetry"}},"replicate_states":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ReplicaState"}},"partial_snapshot":{"$ref":"#/components/schemas/ReplicaSetTelemetryPartialSnapshot"}},"required":["id","remote","replicate_states"],"title":"ReplicaSetTelemetry"},"CollectionTelemetry":{"type":"object","properties":{"id":{"type":"string"},"init_time_ms":{"type":["integer","null"],"format":"uint64"},"config":{"$ref":"#/components/schemas/CollectionTelemetryConfig"},"shards":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ReplicaSetTelemetry"}},"transfers":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ShardTransferInfo"}},"resharding":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ReshardingInfo"}},"shard_clean_tasks":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/ShardCleanStatusTelemetry"}}},"required":["id"],"title":"CollectionTelemetry"},"CollectionsAggregatedTelemetry":{"type":"object","properties":{"vectors":{"type":"integer"},"optimizers_status":{"$ref":"#/components/schemas/OptimizersStatus"},"params":{"$ref":"#/components/schemas/CollectionParams"}},"required":["vectors","optimizers_status","params"],"title":"CollectionsAggregatedTelemetry"},"CollectionTelemetryEnum":{"oneOf":[{"$ref":"#/components/schemas/CollectionTelemetry"},{"$ref":"#/components/schemas/CollectionsAggregatedTelemetry"}],"title":"CollectionTelemetryEnum"},"CollectionSnapshotTelemetry":{"type":"object","properties":{"id":{"type":"string"},"running_snapshots":{"type":["integer","null"]},"running_snapshot_recovery":{"type":["integer","null"]},"total_snapshot_creations":{"type":["integer","null"]}},"required":["id"],"title":"CollectionSnapshotTelemetry"},"CollectionsTelemetry":{"type":"object","properties":{"number_of_collections":{"type":"integer"},"max_collections":{"type":["integer","null"]},"collections":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CollectionTelemetryEnum"}},"snapshots":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CollectionSnapshotTelemetry"}}},"required":["number_of_collections"],"title":"CollectionsTelemetry"},"ClusterStatusTelemetryRole":{"oneOf":[{"$ref":"#/components/schemas/StateRole"},{"description":"Any type"}],"title":"ClusterStatusTelemetryRole"},"ClusterStatusTelemetry":{"type":"object","properties":{"number_of_peers":{"type":"integer"},"term":{"type":"integer","format":"uint64"},"commit":{"type":"integer","format":"uint64"},"pending_operations":{"type":"integer"},"role":{"$ref":"#/components/schemas/ClusterStatusTelemetryRole"},"is_voter":{"type":"boolean"},"peer_id":{"type":["integer","null"],"format":"uint64"},"consensus_thread_status":{"$ref":"#/components/schemas/ConsensusThreadStatus"}},"required":["number_of_peers","term","commit","pending_operations","is_voter","consensus_thread_status"],"title":"ClusterStatusTelemetry"},"ClusterTelemetryStatus":{"oneOf":[{"$ref":"#/components/schemas/ClusterStatusTelemetry"},{"description":"Any type"}],"title":"ClusterTelemetryStatus"},"P2pConfigTelemetry":{"type":"object","properties":{"connection_pool_size":{"type":"integer"}},"required":["connection_pool_size"],"title":"P2pConfigTelemetry"},"ConsensusConfigTelemetry":{"type":"object","properties":{"max_message_queue_size":{"type":"integer"},"tick_period_ms":{"type":"integer","format":"uint64"},"bootstrap_timeout_sec":{"type":"integer","format":"uint64"}},"required":["max_message_queue_size","tick_period_ms","bootstrap_timeout_sec"],"title":"ConsensusConfigTelemetry"},"ClusterConfigTelemetry":{"type":"object","properties":{"grpc_timeout_ms":{"type":"integer","format":"uint64"},"p2p":{"$ref":"#/components/schemas/P2pConfigTelemetry"},"consensus":{"$ref":"#/components/schemas/ConsensusConfigTelemetry"}},"required":["grpc_timeout_ms","p2p","consensus"],"title":"ClusterConfigTelemetry"},"ClusterTelemetryConfig":{"oneOf":[{"$ref":"#/components/schemas/ClusterConfigTelemetry"},{"description":"Any type"}],"title":"ClusterTelemetryConfig"},"PeerMetadata":{"type":"object","properties":{"version":{"type":"string","description":"Peer Qdrant version"}},"required":["version"],"description":"Metadata describing extra properties for each peer","title":"PeerMetadata"},"ClusterTelemetry":{"type":"object","properties":{"enabled":{"type":"boolean"},"status":{"$ref":"#/components/schemas/ClusterTelemetryStatus"},"config":{"$ref":"#/components/schemas/ClusterTelemetryConfig"},"peers":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/PeerInfo"}},"peer_metadata":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/PeerMetadata"}},"metadata":{"type":["object","null"],"additionalProperties":{"description":"Any type"}},"resharding_enabled":{"type":["boolean","null"]}},"required":["enabled"],"title":"ClusterTelemetry"},"TelemetryDataCluster":{"oneOf":[{"$ref":"#/components/schemas/ClusterTelemetry"},{"description":"Any type"}],"title":"TelemetryDataCluster"},"WebApiTelemetry":{"type":"object","properties":{"responses":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/OperationDurationStatistics"}}}},"required":["responses"],"title":"WebApiTelemetry"},"GrpcTelemetry":{"type":"object","properties":{"responses":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/OperationDurationStatistics"}}}},"required":["responses"],"title":"GrpcTelemetry"},"RequestsTelemetry":{"type":"object","properties":{"rest":{"$ref":"#/components/schemas/WebApiTelemetry"},"grpc":{"$ref":"#/components/schemas/GrpcTelemetry"}},"required":["rest","grpc"],"title":"RequestsTelemetry"},"TelemetryDataRequests":{"oneOf":[{"$ref":"#/components/schemas/RequestsTelemetry"},{"description":"Any type"}],"title":"TelemetryDataRequests"},"MemoryTelemetry":{"type":"object","properties":{"active_bytes":{"type":"integer","description":"Total number of bytes in active pages allocated by the application"},"allocated_bytes":{"type":"integer","description":"Total number of bytes allocated by the application"},"metadata_bytes":{"type":"integer","description":"Total number of bytes dedicated to metadata"},"resident_bytes":{"type":"integer","description":"Maximum number of bytes in physically resident data pages mapped"},"retained_bytes":{"type":"integer","description":"Total number of bytes in virtual memory mappings"}},"required":["active_bytes","allocated_bytes","metadata_bytes","resident_bytes","retained_bytes"],"title":"MemoryTelemetry"},"TelemetryDataMemory":{"oneOf":[{"$ref":"#/components/schemas/MemoryTelemetry"},{"description":"Any type"}],"title":"TelemetryDataMemory"},"HardwareTelemetry":{"type":"object","properties":{"collection_data":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/HardwareUsage"}}},"required":["collection_data"],"title":"HardwareTelemetry"},"TelemetryDataHardware":{"oneOf":[{"$ref":"#/components/schemas/HardwareTelemetry"},{"description":"Any type"}],"title":"TelemetryDataHardware"},"TelemetryData":{"type":"object","properties":{"id":{"type":"string"},"app":{"$ref":"#/components/schemas/TelemetryDataApp"},"collections":{"$ref":"#/components/schemas/CollectionsTelemetry"},"cluster":{"$ref":"#/components/schemas/TelemetryDataCluster"},"requests":{"$ref":"#/components/schemas/TelemetryDataRequests"},"memory":{"$ref":"#/components/schemas/TelemetryDataMemory"},"hardware":{"$ref":"#/components/schemas/TelemetryDataHardware"}},"required":["id","collections"],"title":"TelemetryData"},"Service_telemetry_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/TelemetryGetResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"$ref":"#/components/schemas/TelemetryData"}},"title":"Service_telemetry_Response_200"},"VersionInfo":{"type":"object","properties":{"title":{"type":"string"},"version":{"type":"string"},"commit":{"type":["string","null"]}},"required":["title","version"],"title":"VersionInfo"},"Beta_get_issues_Response_200":{"type":"object","properties":{},"title":"Beta_get_issues_Response_200"},"IssuesDeleteResponsesContentApplicationJsonSchemaUsage":{"oneOf":[{"$ref":"#/components/schemas/Usage"},{"description":"Any type"}],"title":"IssuesDeleteResponsesContentApplicationJsonSchemaUsage"},"Beta_clear_issues_Response_200":{"type":"object","properties":{"usage":{"$ref":"#/components/schemas/IssuesDeleteResponsesContentApplicationJsonSchemaUsage"},"time":{"type":"number","format":"double","description":"Time spent to process this request"},"status":{"type":"string"},"result":{"type":"boolean"}},"title":"Beta_clear_issues_Response_200"}},"securitySchemes":{"default":{"type":"apiKey","in":"header","name":"api-key"}}}}