Skip to main content

Overview

Initializing the client with Client$new() returns a client object you can use to log predictions and actuals.You need only call Client$new() once to initialize a session. Sessions are tied to a specific space, however, you can log records for any model in your space.

Keyword arguments:

ArgumentInput TypeDescriptionRequiredDefault Value
api_keycharacterthe Arize-AI api keyRequiredN/A
organization_keycharacterthe Arize-AI organization keyRequiredN/A

Initializing Client Examples

ORGANIZATION_KEY <- 'ORGANIZATION_KEY'
API_KEY <- 'API_KEY'
arize_client <- Client$new(
    organization_key = ORGANIZATION_KEY, 
    api_key = API_KEY)

Retrieving Space and API Keys

Questions? Email us at support@arize.com or Slack us in the #arize-support channel