arthurai.client.helper.get_current_org#

arthurai.client.helper.get_current_org(api_http_host, api_prefix, access_key, verify_ssl=True)#

Get the current organization for the provided access key

Parameters
  • api_http_host (str) – base url of the host to connect to, including protocol (e.g. “https://app.arthur.ai”)

  • api_prefix (str) – prefix of the API to connect to (e.g. “/api/v3”)

  • access_key (str) – API Key to pass to the API

  • verify_ssl (bool) – Boolean for whether requests should verify that the SSL certificate is valid and not self-signed

Return type

Optional[str]

Returns

the organization ID associated with the provided access key, None if no such organization exists