supported_endpoints
list_endpoints
Get a list of available endpoint, either in total or for a specific model or provider.
Arguments:
model
- If specified, returns the list of endpoint supporting this model.provider
- If specified, returns the list of endpoint supporting this provider.api_key
- If specified, unify API key to be used. Defaults to the value in the
Returns:
A list of endpoint names if successful, otherwise an empty list. Raises: BadRequestError: If there was an HTTP error. ValueError: If there was an error parsing the JSON response.
BadRequestError
- If there was an HTTP error.ValueError
- If there was an error parsing the JSON response.