Home / Class/ ModelListParams Class — anthropic-sdk-python Architecture

ModelListParams Class — anthropic-sdk-python Architecture

Architecture documentation for the ModelListParams class in model_list_params.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  3c4ecdf7_29ef_3246_20cd_6a853cb45697["ModelListParams"]
  077a5f62_ef73_3797_d14a_98e4d1452e36["model_list_params.py"]
  3c4ecdf7_29ef_3246_20cd_6a853cb45697 -->|defined in| 077a5f62_ef73_3797_d14a_98e4d1452e36

Relationship Graph

Source Code

src/anthropic/types/beta/model_list_params.py lines 14–34

class ModelListParams(TypedDict, total=False):
    after_id: str
    """ID of the object to use as a cursor for pagination.

    When provided, returns the page of results immediately after this object.
    """

    before_id: str
    """ID of the object to use as a cursor for pagination.

    When provided, returns the page of results immediately before this object.
    """

    limit: int
    """Number of items to return per page.

    Defaults to `20`. Ranges from `1` to `1000`.
    """

    betas: Annotated[List[AnthropicBetaParam], PropertyInfo(alias="anthropic-beta")]
    """Optional header to specify the beta version(s) you want to use."""

Frequently Asked Questions

What is the ModelListParams class?
ModelListParams is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/beta/model_list_params.py.
Where is ModelListParams defined?
ModelListParams is defined in src/anthropic/types/beta/model_list_params.py at line 14.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free