Torch Object Storage
Field name | Type | Required | Example value | Description |
Field name | Type | Required | Example value | Description |
vectorBucketName | String | Yes | test-vector-bucket | Name of the vector bucket. |
indexName | String | Yes | test-index | Name of the vector index. |
maxResults | integer | No | 100 | Maximum number of vectors returned on the page. The default value is 500. If the processed dataset exceeds 1MB before reaching the maxResults value, the operation stops and returns the retrieved vectors along with the nextToken for subsequent requests. Value range: 1 to 1000. |
nextToken | String | No | a2V5MA== | Pagination token from the previous request. For the initial request, this field is empty. Length constraint: minimum length is 1, maximum length is 2048. |
returnData | boolean | No | true | If set to true, the vector data for each vector will be included in the response. Default: false. |
returnMetadata | boolean | No | true | If set to true, the metadata associated with each vector will be included in the response. Default: false. |
Field | Condition operator type | Example value | Description |
Field | Condition operator type | Example value | Description |
nextToken | String | a2V5MA== | Pagination token for subsequent requests. This field is empty if no further pagination is needed. |
vectors | ListOutputVector[] | See the table below | Vector in the current segment. Each object in the array is a ListOutputVector object. |
Name | Type | Example value | Description |
Name | Type | Example value | Description |
data | VectorData | { "float32": [ 0.1, 0.1, 0.1, 0.1, 0.1 ] } | Vector data. Ensure the query vector's dimension matches the vector index dimension being queried. |
key | String | key0 | Unique identifier for the vector. |
metadata | JSON value | { "key_a": "va", "key_b": "vb", "key_c": "vc" } | Metadata associated with the vector. |
Field name | Type | Example value | Description |
Field name | Type | Example value | Description |
float32 | float32[] | [0.1, 0.1, 0.1, 0.1, 0.1] | Vector data. The vector dimension must match the vector index dimension defined in CreateIndex. |