---
search:
  tags:
    - agents
    - POST
seo:
  description: >-
    Lists Claude models using the agent configured Anthropic key,… Reference for
    the POST /agents/{id}/claude/models/refresh endpoint in the Leadtime Public
    API.
sidebar:
  label: Refresh Claude model choices for an agent
  badge: POST
title: Refresh Claude model choices for an agent
type: openapi-operation
---
Lists Claude models using the agent configured Anthropic key, or an optional providerApiKeyId/anthropicApiKey in the request body. When using a saved key, the agent model cache is updated so the UI and agents can select config.managedAgent.modelId from the same list.

`POST /agents/{id}/claude/models/refresh`
