v65

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0796168190.2 KB
agents

Refresh and cache the model picker for one agent

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

Path parameters

agentstring required

Agent adapter identifier.

Agent adapter identifier.

Query parameters

projectIdstring

Optional project identifier used as the model-catalog cache scope.

Optional project identifier used as the model-catalog cache scope.

revalidateboolean

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

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

Response

OK

agentIdstring required
allowCustomboolean required
binaryVersionstring
fetchedAtstring date-time required
refreshRecommendedboolean
selectionMode'catalog' | 'text' | 'mode' required
sourcestring required
staleboolean required
validatedAtstring date-time
warningstring