pub async fn get_api_key(
client: &Client,
api_key: &str,
hash: &str,
) -> Result<ApiKey, OpenRouterError>
Expand description
Returns details about a specific API key. Requires a Provisioning API key.
§Arguments
client
- The HTTP client to use for the request.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.