Models (AI Data Plane)
Get Model Connection String
Changed onFetches the connection string to connect to the model.
Use this connection string as the base URL in your Model Service API inference requests. For more information, see Make an API Call with the Model Service API.
In order to access this endpoint, the provided API key must have at least one of the following roles:
- Organization Member
To learn more, see Organization, Project, and Database Access Overview.
get/v4/organizations/{organizationId}/aiServices/models/{modelId}/connectionString
Request
- Base URLhttps://cloudapi.cloud.couchbase.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successfully fetched the connectionString.
Example response
{
"connectionString": "https://abcdefgh.ai.com"
}Changes
- info
api tag
Models (AI Data Plane)added - info
api tag
Models (AI Services)removed
- info