pydo.vector_databases.create()
Generated on 7 Jul 2026
from pydo version
v0.39.0
Usage
client.vector_databases.create(
body={
"name": "example name",
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"region": "tor1",
...,
},
)Description
To create a vector database, send a POST request to /v2/vector-databases. The response body contains a JSON object with a vector_db key holding the newly created database. Its initial status is creating and changes to active once the database is ready to receive traffic.
Parameters
namestring optionalExample:
example nameRequired. Human-readable name for the database.
project_idstring optionalExample:
123e4567-e89b-12d3-a456-426614174000Required. ID of the project to create the vector database in.
regionstring optionalExample:
tor1Required. Region slug where the database will be provisioned.
sizestring optionalExample:
example stringRequired. Resource tier: small, medium, or large.
tagsarray of strings optionalExample:
['example string']A set of arbitrary tags to organize your vector database
Request Sample
Response Example
More Information
See /v2/vector-databases in the API reference for additional detail on responses, headers, parameters, and more.