Get resolved default models
curl --request GET \
--url https://{host}/v2/workspaces/slug:llm-gateway/webhooks/v1/defaults \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:llm-gateway/webhooks/v1/defaults', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v2/workspaces/slug:llm-gateway/webhooks/v1/defaults"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"completions": {
"model_id": "<string>"
},
"embeddings": {
"model_id": "<string>",
"dimensions": 123,
"supported_dimensions": [
123
]
},
"image_generation": {
"model_id": "<string>"
},
"file_parsing": {
"image": {
"model_id": "<string>"
},
"audio": {
"model_id": "<string>"
},
"document": {
"model_id": "<string>"
}
}
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"details": {},
"status": 123,
"retryAfter": 123,
"provider": "<string>",
"model": "<string>",
"provider_error_type": "<string>"
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"details": {},
"status": 123,
"retryAfter": 123,
"provider": "<string>",
"model": "<string>",
"provider_error_type": "<string>"
}Defaults
Get resolved default models
Returns the resolved default models for the calling org, merging
platform defaults (config.defaults.*) with the org’s governance
overrides. The embedding default is enriched with dimensions and
supported_dimensions looked up from the model catalogue.
GET
/
v1
/
defaults
Get resolved default models
curl --request GET \
--url https://{host}/v2/workspaces/slug:llm-gateway/webhooks/v1/defaults \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v2/workspaces/slug:llm-gateway/webhooks/v1/defaults', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v2/workspaces/slug:llm-gateway/webhooks/v1/defaults"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"completions": {
"model_id": "<string>"
},
"embeddings": {
"model_id": "<string>",
"dimensions": 123,
"supported_dimensions": [
123
]
},
"image_generation": {
"model_id": "<string>"
},
"file_parsing": {
"image": {
"model_id": "<string>"
},
"audio": {
"model_id": "<string>"
},
"document": {
"model_id": "<string>"
}
}
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"details": {},
"status": 123,
"retryAfter": 123,
"provider": "<string>",
"model": "<string>",
"provider_error_type": "<string>"
}{
"error": "<string>",
"message": "<string>",
"code": "<string>",
"details": {},
"status": 123,
"retryAfter": 123,
"provider": "<string>",
"model": "<string>",
"provider_error_type": "<string>"
}Authorizations
BearerAuthOrgApiKeyAuth
User-bound credential carrying an identity: either a session JWT
or a user access token (at:*) generated from the user settings UI.
Send as Authorization: Bearer <token>.
Org API keys (iak_*) are not accepted here - they carry
no user identity. Use the x-prismeai-api-key header instead
(see OrgApiKeyAuth).
Response
Resolved defaults.
Resolved default models per concern.
Per-input-kind defaults for file-parsing flows.
Was this page helpful?