Skip to main content
Section ID: DOC-API-MODEL-schema-q9cp251mpk#overview

Vector

Canonical vector record shared across vector DB services

Type-reference view: API Schema 6vhb5mpe0m. Request and response views describe this type; they do not declare an endpoint.

Meaning and usage​

Section ID: DOC-API-MODEL-schema-q9cp251mpk#meaning

See the definition above.

Usage profiles​

Section ID: DOC-API-MODEL-schema-q9cp251mpk#fields

UsageFields and validation
In requestsView fields
In responsesView fields

In requests​

Section ID: DOC-API-MODEL-schema-q9cp251mpk#request

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-q9cp251mpk#request-field-ididstringRequired in requestsIdentifier used to address the vector record within its namespace. Minimum length: 1.
Section ID: DOC-API-MODEL-schema-q9cp251mpk#request-field-valuesvaluesArray of number (double) or string (NaN, Infinity, -Infinity)OptionalDense vector values.
Section ID: DOC-API-MODEL-schema-q9cp251mpk#request-field-sparsevaluessparseValuesSparseValuesOptionalOptional sparse component.
Section ID: DOC-API-MODEL-schema-q9cp251mpk#request-field-metadatametadataMap from string to JSON valueOptionalProvider metadata (JSON object).
Section ID: DOC-API-MODEL-schema-q9cp251mpk#request-field-namespacenamespacestringOptionalOptional namespace/bucket.
Section ID: DOC-API-MODEL-schema-q9cp251mpk#request-field-updatedatupdatedAtstring (date-time)OptionalTime when this record was last updated.

Request validation​

Section ID: DOC-API-MODEL-schema-q9cp251mpk#request-validation

These rules apply when this value is supplied in a request. Request validation does not guarantee that response fields are present or satisfy the same rules.

Applies toRuleRequirement
idMinimum length1

In responses​

Section ID: DOC-API-MODEL-schema-q9cp251mpk#response

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
Section ID: DOC-API-MODEL-schema-q9cp251mpk#field-idSection ID: DOC-API-MODEL-schema-q9cp251mpk#response-field-ididstringRequired in requestsIdentifier used to address the vector record within its namespace.
Section ID: DOC-API-MODEL-schema-q9cp251mpk#field-valuesSection ID: DOC-API-MODEL-schema-q9cp251mpk#response-field-valuesvaluesArray of number (double) or string (NaN, Infinity, -Infinity)OptionalDense vector values.
Section ID: DOC-API-MODEL-schema-q9cp251mpk#field-sparsevaluesSection ID: DOC-API-MODEL-schema-q9cp251mpk#response-field-sparsevaluessparseValuesSparseValuesOptionalOptional sparse component.
Section ID: DOC-API-MODEL-schema-q9cp251mpk#field-metadataSection ID: DOC-API-MODEL-schema-q9cp251mpk#response-field-metadatametadataMap from string to JSON valueOptionalProvider metadata (JSON object).
Section ID: DOC-API-MODEL-schema-q9cp251mpk#field-namespaceSection ID: DOC-API-MODEL-schema-q9cp251mpk#response-field-namespacenamespacestringOptionalOptional namespace/bucket.
Section ID: DOC-API-MODEL-schema-q9cp251mpk#field-updatedatSection ID: DOC-API-MODEL-schema-q9cp251mpk#response-field-updatedatupdatedAtstring (date-time)OptionalTime when this record was last updated.
Section ID: DOC-API-MODEL-schema-q9cp251mpk#validation

Request validation​

Section ID: DOC-API-MODEL-schema-q9cp251mpk#response-validation

These rules apply when this value is supplied in a request. Request validation does not guarantee that response fields are present or satisfy the same rules.

Applies toRuleRequirement
idMinimum length1

Where used​

Section ID: DOC-API-MODEL-schema-q9cp251mpk#where-used

ReferenceRelationship
VectorAPI JSON uses JSON field names (camelCase).

Download the public reference contract.

Document ID: DOC-API-MODEL-schema-q9cp251mpk