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
  5a7cd87e_c81d_d14f_9fe9_f7d132af1c73["ModelListParams"]
  ca950aaa_83b1_926d_8017_c8fd3c813295["model_list_params.py"]
  5a7cd87e_c81d_d14f_9fe9_f7d132af1c73 -->|defined in| ca950aaa_83b1_926d_8017_c8fd3c813295

Relationship Graph

Source Code

src/anthropic/types/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/model_list_params.py.
Where is ModelListParams defined?
ModelListParams is defined in src/anthropic/types/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