Skip to main content

List the Oliver models.

GET/api/v1/oliver-modelsoliver:read

The models an Oliver agent can be given: id, label, provider and lifecycle. Only active models are offered; a deprecated one still runs and a retired one cannot be saved. provider_has_key says whether the company holds a key for the provider; the key itself is never returned. Needs View Oliver Agent Configs.

Scopeoliver:read (sensitive)
AsynchronousNo
MCP toollist_oliver_models
Portal permissionsview_oliver_agent_configs
Pagingkeyset
Default orderoliver_model_id
Sort fieldsoliver_model_id

Parameters​

NameInTypeRequiredDescription
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of OliverModelRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

OliverModel​

FieldTypeRequiredDescription
labelstringRequired
offeredbooleanRequiredWhether the model picker offers it (active only).
oliver_model_idstringRequiredThe model id: what an agent's model takes.
providerstringRequired
provider_has_keybooleanRequiredWhether the company holds a key for the model's provider. The key is never returned.
replacement_oliver_model_idstring or nullRequiredThe model to move to, when this one is deprecated or retired.
shutdown_datestring (date) or nullRequiredThe day the provider shuts the model down, when it has one.
statusstringRequiredactive | deprecated | retired (open).