Function get_api_key
Source pub async fn get_api_key(
base_url: &str,
api_key: &str,
hash: &str,
) -> Result<ApiKey, OpenRouterError>
Expand description
Returns details about a specific API key. Requires a Provisioning API key.
§Arguments
base_url
- The base URL of the OpenRouter API.
api_key
- The API key for authentication.
hash
- The hash of the API key to retrieve.
§Returns
Result<ApiKey, OpenRouterError>
- The details of the specified API key.