Create a vector table.

post

/vecdb/vector-tables/

Creates a new vector table. Exactly one of vectorType or embedParams must be provided. If both or neither are provided, the request is rejected.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Match One Schema
Show Source
Nested Schema : annotations
Type: object
Key-value pairs added to the vector table metadata.
Nested Schema : VectorDebugFlags
Type: object
Debug flags to be used to trace vector modules
Show Source
Nested Schema : embedParams
Type: object
Embedding model parameters. Provide this instead of vectorType to create a table for a model (e.g., {"model":"hosted-model-name","embed_metadata_jsonpath":""}).
Show Source
Nested Schema : VectorIndexParams
Type: object
Index configuration for the table.
Show Source
Nested Schema : advanced_params
Type: object
Security
Back to Top

Response

Supported Media Types

201 Response

Vector table created successfully.
Body ()

400 Response

The request body included invalid or missing parameters (e.g., missing tableName, invalid JSON, or providing both/neither vectorType and embedParams).
Body ()
Root Schema : ORDSErrorResponse
Type: object
Show Source

409 Response

Conflict: A table with that name already exists.
Body ()
Root Schema : ORDSErrorResponse
Type: object
Show Source
Back to Top