Class AnthropicModelsListResponse

java.lang.Object
dev.langchain4j.model.anthropic.internal.api.AnthropicModelsListResponse

public class AnthropicModelsListResponse extends Object
Response object from the Anthropic Models List API.

Contains a paginated list of available models and pagination metadata.

  • Field Details

    • data

      public List<AnthropicModelInfo> data
      The list of model information objects.
    • firstId

      public String firstId
      The ID of the first model in the list (for pagination).
    • lastId

      public String lastId
      The ID of the last model in the list (for pagination).
    • hasMore

      public Boolean hasMore
      Whether there are more models available beyond this page.
  • Constructor Details

    • AnthropicModelsListResponse

      public AnthropicModelsListResponse()
  • Method Details