implementation 'ai.whylabs.WhyLabs:Songbird:1.0.0'
package hello.world;
import ai.whylabs.WhyLabs.Songbird;
import ai.whylabs.WhyLabs.models.operations.PostMonitorConfigValidationJobResponse;
import ai.whylabs.WhyLabs.models.operations.PostMonitorConfigValidationJobSecurity;
public class Application {
public static void main(String[] args) {
try {
Songbird sdk = Songbird.builder()
.build();
PostMonitorConfigValidationJobResponse res = sdk.admin.postMonitorConfigValidationJob(new PostMonitorConfigValidationJobSecurity("corrupti") {{
apiKeyAuth = "YOUR_API_KEY_HERE";
}});
if (res.statusCode == 200) {
// handle response
}
} catch (Exception e) {
// handle exception
}
}
}
- postMonitorConfigValidationJob - Create a monitor config validation job for all configs
- createApiKey - Generate an API key for a user.
- getApiKey - Get an api key by its id
- listApiKeys - List API key metadata for a given organization and user
- revokeApiKey - Revoke the given API Key, removing its ability to access WhyLabs systems
- getConnection - Get the connection metadata for a given org
- listJobs - List all of the jobs in a workspace.
- refreshConnection - Refresh metadata for a workspace connection.
- runJob - Run an existing job in a given databricks workspace.
- updateConnection - Update the connection metadata for a given org
- deleteDatasetMetadata - Delete dataset metadata for the specified dataset
- getDatasetMetadata - Get dataset metadata for the specified dataset
- putDatasetMetadata - Put dataset metadata for the specified dataset
- createReferenceProfile - Returns data needed to uploading the reference profile
- deleteAnalyzerResults - Deletes a set of analyzer results
- deleteDatasetProfiles - Deletes a set of dataset profiles
- deleteReferenceProfile - Delete a single reference profile
- getReferenceProfile - Returns a single reference profile
- listReferenceProfiles - Returns a list for reference profiles
- listSegments - Returns a list of segments
- getColumnWeights - Get column weights for the specified dataset
- putColumnWeights - Put column weights for the specified dataset
- getFeatureFlags - Get feature flags for the specified user/org
- createMembership - Create a membership for a user, making them apart of an organization. Uses the user's current email address.
- createOrganization - Create an organization
- createUser - Create a user.
- deleteOrganization - Delete an org
- getAWSMarketplaceMetadata - Get marketplace metadata for an org if any exists.
- getApiKey - Get an api key by its id
- getConnection - Get the connection metadata for a given org
- getDefaultMembershipForEmail - Get the default membership for a user.
- getFeatureFlags - Get feature flags for the specified user/org
- getMemberships - Get memberships for a user.
- getMembershipsByEmail - Get memberships for a user given that user's email address.
- getMembershipsByOrg - Get memberships for an org.
- getMonitorConfigV3Version - Get the monitor config document version for a given dataset.
- getNotificationSettings - Get notification settings for an org
- getOrganization - Get the metadata about an organization.
- getUser - Get a user by their id.
- getUserByEmail - Get a user by their email.
- listApiKeys - List API key metadata for a given organization and user
- listJobs - List all of the jobs in a workspace.
- listMonitorConfigV3Versions - List the monitor config document versions for a given dataset.
- listOrganizations - Get a list of all of the organization ids.
- listSegments - Returns a list of segments
partiallyUpdateOrg- Update some fields of an organization to non-null values⚠️ Deprecated- partiallyUpdateOrganization - Update some fields of an organization to non-null values
- postMonitorConfigValidationJob - Create a monitor config validation job for all configs
- provisionAWSMarketplaceNewUser - Create resources for a new user coming from AWS Marketplace
- provisionDatabricksConnection - Create resources for a new user coming from Databricks
- provisionNewUser - Create the resources that a new user needs to use WhyLabs via the website.
- putRequestMonitorRunConfig - Put the RequestMonitorRun config into S3.
- refreshConnection - Refresh metadata for a workspace connection.
- registerDatabricksConnection - Register databricks metadata, temporarily storing it against a UUID so that it can be used to provision a databricks connection after email authentication
- removeMembershipByEmail - Removes membership in a given org from a user, using the user's email address.
- runJob - Run an existing job in a given databricks workspace.
- setDefaultMembership - Sets the organization that should be used when logging a user in
- stripePaymentEndpoint - Endpoint for Stripe payment webhooks
- updateConnection - Update the connection metadata for a given org
- updateMembershipByEmail - Updates the role in an membership
- updateNotificationSettings - Update notification settings for an org
updateOrg- Update an existing organization⚠️ Deprecated- updateOrganization - Update an existing organization
- updateUser - Update a user.
- whyLabsSearch - WhyLabs Search
- whyLabsSearchIndexing - WhyLabs Search Indexing
- logAsync - 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.
- logReference - Returns a presigned URL for uploading the reference profile to.
- createMembership - Create a membership for a user, making them apart of an organization. Uses the user's current email address.
- createOrganizationMembership - Create a membership for a user, making them apart of an organization. Uses the user's current email address.
- getDefaultMembershipForEmail - Get the default membership for a user.
- getMemberships - Get memberships for a user.
- getMembershipsByEmail - Get memberships for a user given that user's email address.
- getMembershipsByOrg - Get memberships for an org.
- listOrganizationMemberships - List organization memberships
- removeMembershipByEmail - Removes membership in a given org from a user, using the user's email address.
- removeOrganizationMembership - Removes membership in a given org from a user, using the user's email address.
- setDefaultMembership - Sets the organization that should be used when logging a user in
- updateMembershipByEmail - Updates the role in an membership
- updateOrganizationMembership - Updates the role in an membership
- createModel - Create a model with a given name and a time period
- deactivateModel - Mark a model as inactive
- deleteEntitySchema - Delete the entity schema config for a given dataset.
- deleteEntitySchemaColumn - Delete the entity schema of a single column for a given dataset.
- deleteEntitySchemaMetric - Delete the schema of a single metric for a given dataset.
- getEntitySchema - Get the entity schema config for a given dataset.
- getEntitySchemaColumn - Get the entity schema of a single column for a given dataset.
- getModel - Get a model metadata
- listModels - Get a list of all of the model ids for an organization.
- putEntitySchema - Save the entity schema config for a given dataset.
- putEntitySchemaColumn - Save the entity schema of a single column for a given dataset.
- putEntitySchemaMetric - Save the schema of a single metric for a given dataset.
- updateModel - Update a model's metadata
- deleteAnalyzer - Delete the analyzer config for a given dataset.
- deleteMonitor - Delete the monitor for a given dataset.
- getAnalyzer - Get the analyzer config for a given dataset.
- getMonitor - Get the monitor config for a given dataset.
- getMonitorConfigV3 - Get the monitor config document for a given dataset.
- getMonitorConfigV3Version - Get the monitor config document version for a given dataset.
- listMonitorConfigV3Versions - List the monitor config document versions for a given dataset.
- patchMonitorConfigV3 - Patch an updated monitor config document for a given dataset.
- putAnalyzer - Save the analyzer config for a given dataset.
- putMonitor - Save the monitor for a given dataset.
- putMonitorConfigV3 - Save the monitor config document for a given dataset.
- putRequestMonitorRunConfig - Put the RequestMonitorRun config into S3.
- validateMonitorConfigV3 - Validate the monitor config document for a given dataset.
- addNotificationAction - Add new notification action
- deleteNotificationAction - Delete notification action
- disableNotificationAction - Disable notification action
- enableNotificationAction - Enable notification action
- getNotificationAction - Get notification action for id
- getNotificationSettings - Get notification settings for an org
- listNotificationActions - List notification actions for an org
- putNotificationAction - Add new notification action
- testNotificationAction - Test a notification action
- updateNotificationAction - Update notification action
- updateNotificationSettings - Update notification settings for an org
- getEmailNotificationActionPayload - Get dummy notification action payload
- getPagerDutyNotificationActionPayload - Get dummy notification action payload
- getSlackNotificationActionPayload - Get dummy notification action payload
- createOrganization - Create an organization
- deleteOrganization - Delete an org
- getAWSMarketplaceMetadata - Get marketplace metadata for an org if any exists.
- getOrganization - Get the metadata about an organization.
- listOrganizations - Get a list of all of the organization ids.
partiallyUpdateOrg- Update some fields of an organization to non-null values⚠️ Deprecated- partiallyUpdateOrganization - Update some fields of an organization to non-null values
updateOrg- Update an existing organization⚠️ Deprecated- updateOrganization - Update an existing organization
- stripePaymentEndpoint - Endpoint for Stripe payment webhooks
- provisionAWSMarketplaceNewUser - Create resources for a new user coming from AWS Marketplace
- provisionDatabricksConnection - Create resources for a new user coming from Databricks
- provisionNewUser - Create the resources that a new user needs to use WhyLabs via the website.
- registerDatabricksConnection - Register databricks metadata, temporarily storing it against a UUID so that it can be used to provision a databricks connection after email authentication
- getMonitorConfigSchema - Get the current supported schema of the monitor configuration
- whyLabsSearch - WhyLabs Search
- whyLabsSearchIndexing - WhyLabs Search Indexing
- batchCreateReferenceProfileUpload - Create multiple reference profile uploads for a given session.
- claimGuestSession - Claim a guest session, copying its model data into another org and expiring the session.
- createDatasetProfileUpload - Create an upload for a given session.
- createReferenceProfileUpload - Create a reference profile upload for a given session.
- createSession - Create a new session that can be used to upload dataset profiles from whylogs for display in whylabs.
- getSession - Get information about a session.
- createUser - Create a user.
- getUser - Get a user by their id.
- getUserByEmail - Get a user by their email.
- updateUser - 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 !