def get_custom_api_key(name: str, api_key: Optional[str] = None) -> Dict[str, Any]:

source code

Get the value of a custom API key.

Arguments:

  • name - Name of the API key to get the value for.
  • api_key - If specified, unify API key to be used. Defaults

Returns:

A dictionary containing the custom API key information.

Raises:

  • requests.HTTPError: If the request fails.