agents

Refresh and cache the model picker for one agent

Changed on
post/api/v1/agents/{agent}/models/refresh

Request

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

Path parameters

agentstring required

Agent adapter identifier.

Query parameters

catalogOnlyboolean

Refresh the Harness Settings browsing catalog without session-history enrichment; FX includes all connections in a separate cache.

projectIdstring

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

revalidateboolean

When true, compare executable and config metadata before running discovery.

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