pip install git+https://github.com/andyndang/demo-python.git
import songbird
from songbird.models import operations
s = songbird.Songbird()
res = s.admin.post_monitor_config_validation_job(operations.PostMonitorConfigValidationJobSecurity(
api_key_auth="YOUR_API_KEY_HERE",
))
if res.status_code == 200:
# handle response
- post_monitor_config_validation_job - Create a monitor config validation job for all configs
- create_api_key - Generate an API key for a user.
- get_api_key - Get an api key by its id
- list_api_keys - List API key metadata for a given organization and user
- revoke_api_key - Revoke the given API Key, removing its ability to access WhyLabs systems
- get_connection - Get the connection metadata for a given org
- list_jobs - List all of the jobs in a workspace.
- refresh_connection - Refresh metadata for a workspace connection.
- run_job - Run an existing job in a given databricks workspace.
- update_connection - Update the connection metadata for a given org
- delete_dataset_metadata - Delete dataset metadata for the specified dataset
- get_dataset_metadata - Get dataset metadata for the specified dataset
- put_dataset_metadata - Put dataset metadata for the specified dataset
- create_reference_profile - Returns data needed to uploading the reference profile
- delete_analyzer_results - Deletes a set of analyzer results
- delete_dataset_profiles - Deletes a set of dataset profiles
- delete_reference_profile - Delete a single reference profile
- get_reference_profile - Returns a single reference profile
- list_reference_profiles - Returns a list for reference profiles
- list_segments - Returns a list of segments
- get_column_weights - Get column weights for the specified dataset
- put_column_weights - Put column weights for the specified dataset
- get_feature_flags - Get feature flags for the specified user/org
- create_membership - Create a membership for a user, making them apart of an organization. Uses the user's current email address.
- create_organization - Create an organization
- create_user - Create a user.
- delete_organization - Delete an org
- get_aws_marketplace_metadata - Get marketplace metadata for an org if any exists.
- get_api_key - Get an api key by its id
- get_connection - Get the connection metadata for a given org
- get_default_membership_for_email - Get the default membership for a user.
- get_feature_flags - Get feature flags for the specified user/org
- get_memberships - Get memberships for a user.
- get_memberships_by_email - Get memberships for a user given that user's email address.
- get_memberships_by_org - Get memberships for an org.
- get_monitor_config_v3_version - Get the monitor config document version for a given dataset.
- get_notification_settings - Get notification settings for an org
- get_organization - Get the metadata about an organization.
- get_user - Get a user by their id.
- get_user_by_email - Get a user by their email.
- list_api_keys - List API key metadata for a given organization and user
- list_jobs - List all of the jobs in a workspace.
- list_monitor_config_v3_versions - List the monitor config document versions for a given dataset.
- list_organizations - Get a list of all of the organization ids.
- list_segments - Returns a list of segments
partially_update_org- Update some fields of an organization to non-null values⚠️ Deprecated- partially_update_organization - Update some fields of an organization to non-null values
- post_monitor_config_validation_job - Create a monitor config validation job for all configs
- provision_aws_marketplace_new_user - Create resources for a new user coming from AWS Marketplace
- provision_databricks_connection - Create resources for a new user coming from Databricks
- provision_new_user - Create the resources that a new user needs to use WhyLabs via the website.
- put_request_monitor_run_config - Put the RequestMonitorRun config into S3.
- refresh_connection - Refresh metadata for a workspace connection.
- register_databricks_connection - Register databricks metadata, temporarily storing it against a UUID so that it can be used to provision a databricks connection after email authentication
- remove_membership_by_email - Removes membership in a given org from a user, using the user's email address.
- run_job - Run an existing job in a given databricks workspace.
- set_default_membership - Sets the organization that should be used when logging a user in
- stripe_payment_endpoint - Endpoint for Stripe payment webhooks
- update_connection - Update the connection metadata for a given org
- update_membership_by_email - Updates the role in an membership
- update_notification_settings - Update notification settings for an org
update_org- Update an existing organization⚠️ Deprecated- update_organization - Update an existing organization
- update_user - Update a user.
- why_labs_search - WhyLabs Search
- why_labs_search_indexing - WhyLabs Search Indexing
- log_async - Like /log, except this api doesn't take the actual profile content. It returns an upload link that can be used to upload the profile to.
- log_reference - Returns a presigned URL for uploading the reference profile to.
- create_membership - Create a membership for a user, making them apart of an organization. Uses the user's current email address.
- create_organization_membership - Create a membership for a user, making them apart of an organization. Uses the user's current email address.
- get_default_membership_for_email - Get the default membership for a user.
- get_memberships - Get memberships for a user.
- get_memberships_by_email - Get memberships for a user given that user's email address.
- get_memberships_by_org - Get memberships for an org.
- list_organization_memberships - List organization memberships
- remove_membership_by_email - Removes membership in a given org from a user, using the user's email address.
- remove_organization_membership - Removes membership in a given org from a user, using the user's email address.
- set_default_membership - Sets the organization that should be used when logging a user in
- update_membership_by_email - Updates the role in an membership
- update_organization_membership - Updates the role in an membership
- create_model - Create a model with a given name and a time period
- deactivate_model - Mark a model as inactive
- delete_entity_schema - Delete the entity schema config for a given dataset.
- delete_entity_schema_column - Delete the entity schema of a single column for a given dataset.
- delete_entity_schema_metric - Delete the schema of a single metric for a given dataset.
- get_entity_schema - Get the entity schema config for a given dataset.
- get_entity_schema_column - Get the entity schema of a single column for a given dataset.
- get_model - Get a model metadata
- list_models - Get a list of all of the model ids for an organization.
- put_entity_schema - Save the entity schema config for a given dataset.
- put_entity_schema_column - Save the entity schema of a single column for a given dataset.
- put_entity_schema_metric - Save the schema of a single metric for a given dataset.
- update_model - Update a model's metadata
- delete_analyzer - Delete the analyzer config for a given dataset.
- delete_monitor - Delete the monitor for a given dataset.
- get_analyzer - Get the analyzer config for a given dataset.
- get_monitor - Get the monitor config for a given dataset.
- get_monitor_config_v3 - Get the monitor config document for a given dataset.
- get_monitor_config_v3_version - Get the monitor config document version for a given dataset.
- list_monitor_config_v3_versions - List the monitor config document versions for a given dataset.
- patch_monitor_config_v3 - Patch an updated monitor config document for a given dataset.
- put_analyzer - Save the analyzer config for a given dataset.
- put_monitor - Save the monitor for a given dataset.
- put_monitor_config_v3 - Save the monitor config document for a given dataset.
- put_request_monitor_run_config - Put the RequestMonitorRun config into S3.
- validate_monitor_config_v3 - Validate the monitor config document for a given dataset.
- add_notification_action - Add new notification action
- delete_notification_action - Delete notification action
- disable_notification_action - Disable notification action
- enable_notification_action - Enable notification action
- get_notification_action - Get notification action for id
- get_notification_settings - Get notification settings for an org
- list_notification_actions - List notification actions for an org
- put_notification_action - Add new notification action
- test_notification_action - Test a notification action
- update_notification_action - Update notification action
- update_notification_settings - Update notification settings for an org
- get_email_notification_action_payload - Get dummy notification action payload
- get_pager_duty_notification_action_payload - Get dummy notification action payload
- get_slack_notification_action_payload - Get dummy notification action payload
- create_organization - Create an organization
- delete_organization - Delete an org
- get_aws_marketplace_metadata - Get marketplace metadata for an org if any exists.
- get_organization - Get the metadata about an organization.
- list_organizations - Get a list of all of the organization ids.
partially_update_org- Update some fields of an organization to non-null values⚠️ Deprecated- partially_update_organization - Update some fields of an organization to non-null values
update_org- Update an existing organization⚠️ Deprecated- update_organization - Update an existing organization
- stripe_payment_endpoint - Endpoint for Stripe payment webhooks
- provision_aws_marketplace_new_user - Create resources for a new user coming from AWS Marketplace
- provision_databricks_connection - Create resources for a new user coming from Databricks
- provision_new_user - Create the resources that a new user needs to use WhyLabs via the website.
- register_databricks_connection - Register databricks metadata, temporarily storing it against a UUID so that it can be used to provision a databricks connection after email authentication
- get_monitor_config_schema - Get the current supported schema of the monitor configuration
- why_labs_search - WhyLabs Search
- why_labs_search_indexing - WhyLabs Search Indexing
- batch_create_reference_profile_upload - Create multiple reference profile uploads for a given session.
- claim_guest_session - Claim a guest session, copying its model data into another org and expiring the session.
- create_dataset_profile_upload - Create an upload for a given session.
- create_reference_profile_upload - Create a reference profile upload for a given session.
- create_session - Create a new session that can be used to upload dataset profiles from whylogs for display in whylabs.
- get_session - Get information about a session.
- create_user - Create a user.
- get_user - Get a user by their id.
- get_user_by_email - Get a user by their email.
- update_user - Update a user.
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.
While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !