Home / Function/ get_api_list() — anthropic-sdk-python Function Reference

get_api_list() — anthropic-sdk-python Function Reference

Architecture documentation for the get_api_list() function in _base_client.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  6a04a9a3_665a_b4ac_5fcf_8eaa429b5f9d["get_api_list()"]
  3224f719_8046_78c8_59e1_47301a46ddd4["AsyncAPIClient"]
  6a04a9a3_665a_b4ac_5fcf_8eaa429b5f9d -->|defined in| 3224f719_8046_78c8_59e1_47301a46ddd4
  29ba82c2_84c4_d715_dbaa_89eef1782535["get_api_list()"]
  29ba82c2_84c4_d715_dbaa_89eef1782535 -->|calls| 6a04a9a3_665a_b4ac_5fcf_8eaa429b5f9d
  c43c8185_35e3_c567_7514_4d3de7e9bbd3["_request_api_list()"]
  6a04a9a3_665a_b4ac_5fcf_8eaa429b5f9d -->|calls| c43c8185_35e3_c567_7514_4d3de7e9bbd3
  29ba82c2_84c4_d715_dbaa_89eef1782535["get_api_list()"]
  6a04a9a3_665a_b4ac_5fcf_8eaa429b5f9d -->|calls| 29ba82c2_84c4_d715_dbaa_89eef1782535
  57e8da7b_af31_35a8_78f7_c274f7fbb350["construct()"]
  6a04a9a3_665a_b4ac_5fcf_8eaa429b5f9d -->|calls| 57e8da7b_af31_35a8_78f7_c274f7fbb350
  style 6a04a9a3_665a_b4ac_5fcf_8eaa429b5f9d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/_base_client.py lines 2072–2083

    def get_api_list(
        self,
        path: str,
        *,
        model: Type[_T],
        page: Type[AsyncPageT],
        body: Body | None = None,
        options: RequestOptions = {},
        method: str = "get",
    ) -> AsyncPaginator[_T, AsyncPageT]:
        opts = FinalRequestOptions.construct(method=method, url=path, json_data=body, **options)
        return self._request_api_list(model, page, opts)

Subdomains

Called By

Frequently Asked Questions

What does get_api_list() do?
get_api_list() is a function in the anthropic-sdk-python codebase, defined in src/anthropic/_base_client.py.
Where is get_api_list() defined?
get_api_list() is defined in src/anthropic/_base_client.py at line 2072.
What does get_api_list() call?
get_api_list() calls 3 function(s): _request_api_list, construct, get_api_list.
What calls get_api_list()?
get_api_list() is called by 1 function(s): get_api_list.

Analyze Your Own Codebase

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

Try Supermodel Free