pub async fn list_model_endpoints(
base_url: &str,
api_key: &str,
author: &str,
slug: &str,
) -> Result<EndpointData, OpenRouterError>
Expand description
Returns details about the endpoints for a specific model
§Arguments
base_url
- The base URL of the OpenRouter API.api_key
- The API key for authentication.author
- The author of the model.slug
- The slug identifier for the model.
§Returns
Result<EndpointData, OpenRouterError>
- The endpoint data or an error.