ai_agents_preset_model_ai_endpoints_providers
Creates, updates, deletes, gets or lists an ai_agents_preset_model_ai_endpoints_providers resource.
Overview​
| Name | ai_agents_preset_model_ai_endpoints_providers |
| Type | Resource |
| Id | ovh.public_cloud.ai_agents_preset_model_ai_endpoints_providers |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
api_base | string | OpenAI-compatible base URL, published so a client can list models from its /models sub-path (wire: apiBase) |
default_model | string | Model seeded when the caller states none. Empty when this deployment states no default. (wire: defaultModel) |
enabled | boolean | Whether the OVHcloud AI Endpoints provider preset is available on this deployment |
integrated_auth | boolean | Whether OVHcloud provisions the AI Endpoints credential for the agent, so the caller does not have to supply one (wire: integratedAuth) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | project_id | States whether the OVHcloud AI Endpoints provider preset can be selected, whether OVHcloud provisions its credential so the caller need not supply one, the base URL whose /models sub-path lists the models available, and the model used when the caller names none. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
project_id | string | The Public Cloud project ID. Resolved from OVH_CLOUD_PROJECT_SERVICE when set. |
SELECT examples​
- get
States whether the OVHcloud AI Endpoints provider preset can be selected, whether OVHcloud provisions its credential so the caller need not supply one, the base URL whose /models sub-path lists the models available, and the model used when the caller names none.
SELECT
api_base,
default_model,
enabled,
integrated_auth
FROM ovh.public_cloud.ai_agents_preset_model_ai_endpoints_providers
WHERE project_id = '{{ project_id }}' -- required unless OVH_CLOUD_PROJECT_SERVICE is set
;