Skip to main content

list_api_keys

Function list_api_keys 

Source
pub async fn list_api_keys(
    client: &HttpClient,
) -> Result<ListApiKeyResponse, HttpError>
Expand description

Lists all API keys for the authenticated user.

§Arguments

  • client - The HTTP client to use for the request.

§Returns

A list of all API keys with their metadata and accumulated costs.

§Errors

Returns an HttpError if the request fails or the server returns an error.