root.client

Classes

RootSignals

Root Signals API Python client.

Module Contents

class root.client.RootSignals(api_key: str | None = None, *, base_url: str | None = None, run_async: bool = False, _api_client: Awaitable[root.generated.openapi_aclient.ApiClient] | None | root.generated.openapi_client.ApiClient | None = None)

Root Signals API Python client.

The API key must be provided via one of the following methods - the code uses the first one that is found:

  1. as an argument to RootSignals constructor ,

  2. environment variable ROOTSIGNALS_API_KEY, or

  3. .env file containing ROOTSIGNALS_API_KEY=

Parameters:
  • api_key (Optional[str]) – Root Signals API Key (if not provided from environment)

  • base_url (Optional[str]) – Root Signals base URL to use (default is fine)

  • run_async (bool)

  • _api_client (Union[Optional[Awaitable[root.generated.openapi_aclient.ApiClient]], Optional[root.generated.openapi_client.ApiClient]])

api_key
base_url
property datasets: root.datasets.DataSets

Get DataSets API

Return type:

root.datasets.DataSets

property evaluators: root.skills.Evaluators

Get Evaluators API

Return type:

root.skills.Evaluators

property execution_logs: root.execution_logs.ExecutionLogs

Get Execution Logs API

Return type:

root.execution_logs.ExecutionLogs

property get_api_client: root.generated.openapi_client.ApiClient | root.generated.openapi_aclient.ApiClient
Return type:

Union[root.generated.openapi_client.ApiClient, root.generated.openapi_aclient.ApiClient]

property models: root.models.Models

Get Models API

Return type:

root.models.Models

property objectives: root.objectives.Objectives

Get Objectives API

Return type:

root.objectives.Objectives

run_async
property skills: root.skills.Skills

Get Skills API

Return type:

root.skills.Skills