agents

Return the cached model picker for one agent, discovering it on first use

Changed on
get/api/v1/agents/{agent}/models

Request

  • Base URL
    http://127.0.0.1:3001
  • URL
    http://127.0.0.1:3001/api/v1/agents/{agent}/models
  • Auth
    none declared

Path parameters

agentstring required

Agent adapter identifier.

Query parameters

catalogOnlyboolean

Return catalog facts without reading session history for model recency. Cached catalogs are served while discovery refreshes in the background.

projectIdstring

Optional cloud credential scope. Any other value, including a project identifier, is ignored: model catalogs are cached per device, not per project.

Response

OK

agentIdstring required
allowCustomboolean required
binaryVersionstring
configuredProvidersstring[]
customModelEntry'none' | 'direct' | 'configured' required
fetchedAtstring date-time required
inputFingerprintstring
lastSuccessAtstring date-time nullable
metadataobject
providersstring[]
refreshErrorstring
refreshRecommendedboolean
refreshState'idle' | 'queued' | 'refreshing' | 'error'
retryAtstring date-time nullable
runnableModelsstring[]
selectionMode'catalog' | 'text' | 'mode' required
sourcestring required
staleboolean required
validatedAtstring date-time
warningstring
warningCode'auth_required' | 'auth_expired'

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property to the response with the status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      added the new optional query request parameter catalogOnly

    • info

      added the optional property to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property to the response with the status