Ana içeriğe geç

List VectorDB Connections

Endpoint

GET /apiops/projects/{projectName}/vector-dbs/

Authentication

Requires a Personal API Access Token.

Authorization: Bearer YOUR_TOKEN

Request

Headers

HeaderValueRequired
AuthorizationBearer {token}Yes

Path Parameters

ParameterTypeRequiredDescription
projectNamestringYesProject name

Query Parameters

None

Response

Success Response (200 OK)

{
"status": "SUCCESS",
"resultList": [
{
"id": "6634f1a2b8c1e2f3a4b5c6d7",
"projectId": "6634aaaa0000000000000001",
"projectName": "MyProject",
"name": "pgvector-primary",
"description": "Primary pgvector store for RAG",
"enabled": true,
"dbType": "PGVECTOR",
"family": "jdbc",
"connectTimeoutMs": 5000,
"requestTimeoutMs": 30000,
"jdbcUrl": "jdbc:postgresql://db.internal:5432/vectors",
"jdbcUsername": "apinizer",
"jdbcPasswordSet": true,
"poolMinimumIdle": 2,
"poolMaximumPoolSize": 5,
"poolConnectionTimeoutMs": 30000,
"poolIdleTimeoutMs": 600000,
"poolMaxLifetimeMs": 1800000,
"defaultCollectionName": "documents",
"embeddingDimension": 1536,
"distanceMetric": "COSINE",
"maxBatchSize": 100,
"builtIn": false
},
{
"id": "6634f1a2b8c1e2f3a4b5c6e8",
"projectId": "6634aaaa0000000000000001",
"projectName": "MyProject",
"name": "qdrant-cloud",
"description": "Qdrant Cloud cluster",
"enabled": true,
"dbType": "QDRANT",
"family": "http",
"connectTimeoutMs": 5000,
"requestTimeoutMs": 30000,
"endpoint": "https://xyz.eu-central.aws.cloud.qdrant.io:6333",
"apiVersion": "v1",
"authScheme": "API_KEY_HEADER",
"authHeaderName": "api-key",
"apiKeySet": true,
"apiSecretSet": false,
"regionCode": "eu-central",
"defaultCollectionName": "documents",
"embeddingDimension": 1536,
"distanceMetric": "COSINE",
"maxBatchSize": 100,
"builtIn": false
}
],
"resultCount": 2
}

Response Fields

FieldTypeDescription
statusstringResponse status: SUCCESS or FAILURE
resultListarrayList of Vector DB connection objects
resultCountintegerTotal number of connections returned

Vector DB Connection Object Fields

The object is a flattened view of the connection: common fields, then the transport fields for the connection's family. Fields not belonging to the active family are omitted.

FieldTypeDescription
idstringConnection id (read-only)
projectIdstringOwning project id
projectNamestringOwning project name
namestringConnection name (unique within the project)
descriptionstringFree-text description
enabledbooleanWhether the connection is enabled
dbTypeenumVector store type: PGVECTOR, QDRANT, WEAVIATE, MILVUS, CHROMA, PINECONE, REDIS, OTHER
familystringTransport family selected by dbType: jdbc, http or redis
connectTimeoutMsintegerTransport connect timeout (ms)
requestTimeoutMsintegerTransport request/command timeout (ms)
jdbcUrlstring(family jdbc) JDBC URL, e.g. jdbc:postgresql://host:port/db
jdbcUsernamestring(family jdbc) Database username
jdbcPasswordSetboolean(family jdbc) true if a password is stored — the plaintext is never returned
poolMinimumIdleinteger(family jdbc) HikariCP minimum idle connections
poolMaximumPoolSizeinteger(family jdbc) HikariCP maximum pool size
poolConnectionTimeoutMsinteger(family jdbc) HikariCP connection timeout (ms)
poolIdleTimeoutMsinteger(family jdbc) HikariCP idle timeout (ms)
poolMaxLifetimeMsinteger(family jdbc) HikariCP max lifetime (ms)
endpointstring(family http) REST endpoint URL
apiVersionstring(family http) Vendor API version
authSchemeenum(family http) Auth scheme: BEARER, API_KEY_HEADER, BASIC, NONE, CUSTOM
authHeaderNamestring(family http) Header name for API-key auth
apiKeySetboolean(family http) true if an apiKey is stored — plaintext never returned
apiSecretSetboolean(family http) true if an apiSecret is stored — plaintext never returned
regionCodestring(family http) Vendor region code (e.g. Pinecone)
redisUristring(family redis) Redis URI (redis:// / rediss://)
redisUsernamestring(family redis) Redis ACL username
redisPasswordSetboolean(family redis) true if a password is stored — plaintext never returned
defaultCollectionNamestringDefault collection / index / table name
embeddingDimensionintegerEmbedding vector dimension (e.g. 1536)
distanceMetricenumDistance metric: COSINE, EUCLIDEAN, DOT_PRODUCT
maxBatchSizeintegerMaximum upsert/query batch size
builtInbooleantrue for system-provided built-in templates, false for user-created connections.

EnumStatus

  • SUCCESS - Operation successful
  • FAILURE - Operation failed

Error Response (400 Bad Request)

{
"status": "FAILURE",
"resultMessage": "Project (name: MyProject) was not found!"
}

Error Response (401 Unauthorized)

{
"status": "FAILURE",
"resultMessage": "Token is not valid!"
}

cURL Example

curl -X GET \
"https://demo.apinizer.com/apiops/projects/MyProject/vector-dbs/" \
-H "Authorization: Bearer YOUR_TOKEN"

Notes and Warnings

  • Masked Secrets: The JDBC password, HTTP apiKey/apiSecret and Redis password are never returned. The response only exposes boolean presence flags (jdbcPasswordSet, apiKeySet, apiSecretSet, redisPasswordSet).
  • Flattened Transport: The family field tells you which transport block is active; fields from the other two families are omitted for that object.
  • Empty List: If the project has no Vector DB connections, an empty resultList is returned with resultCount: 0.
  • Built-in Templates: Objects with builtIn: true are system-provided starting templates — clone and edit them to fill real endpoints and credentials.