dots.v2.vectorDatabases.byId().credentials.get()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.vectorDatabases.byId(id).credentials.get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | VectordbGetVectorDBAdminCredentialsResponse>Description
To retrieve the admin credentials for a vector database, send a GET request to /v2/vector-databases/{id}/credentials. The response body contains the user_id and api_token for the admin user provisioned on the cluster.
Parameters
idstring requiredExample:
"example string"ID of the vector database.
Request Sample
Response Example
More Information
See /v2/vector-databases/{id}/credentials in the API reference for additional detail on responses, headers, parameters, and more.