Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.56 KB

File metadata and controls

46 lines (28 loc) · 1.56 KB

Beta.Users

Overview

Available Operations

get_identity

Get Identity

Example Usage

from mistralai.client import Mistral
import os


with Mistral(
    api_key=os.getenv("MISTRAL_API_KEY", ""),
) as mistral:

    res = mistral.beta.users.get_identity()

    # Handle response
    print(res)

Parameters

Parameter Type Required Description
retries Optional[utils.RetryConfig] Configuration to override the default retry behavior of the client.

Response

models.UserIdentity

Errors

Error Type Status Code Content Type
errors.SDKError 4XX, 5XX */*