Skip to main content

List the agents a chat may pick.

GET/api/v1/oliver-agent-choicesoliver:read

The legacy agents the caller may chat with and, for a caller the Portal admits to progressive agents, the progressive ones, each with is_available and the Portal's diagnostic_code when a chat cannot use it now. Needs View Oliver Agent Configs.

Scopeoliver:read (sensitive)
AsynchronousNo
MCP toollist_oliver_agent_choices
Portal permissionsview_oliver_agent_configs
Pagingkeyset
Default orderoliver_agent_id
Sort fieldsoliver_agent_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 OliverAgentChoiceRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

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

Schemas​

OliverAgentChoice​

FieldTypeRequiredDescription
diagnostic_codestring or nullRequiredWhy it is not available, as the Portal's profile check names it.
execution_profilestring or nullRequiredA progressive agent's pinned profile UUID; null for a legacy one.
is_availablebooleanRequiredWhether a chat may use it now.
namestringRequired
oliver_agent_idstringRequiredThe agent configuration's ID: oliver_agent_id for a legacy agent, oliver_progressive_agent_id for a progressive one.
orchestration_modestringRequiredlegacy or single_loop_v1. Open.
profile_revisioninteger or nullRequired