Models

class Models(session_kwargs, client, return_type='raw')

Civis API /models endpoint.

Methods

delete_builds(id, build_id)

Cancel a build

delete_projects(id, project_id)

Remove a Model from a project

delete_shares_groups(id, group_id)

Revoke the permissions a group has on this object

delete_shares_users(id, user_id)

Revoke the permissions a user has on this object

get(id)

Retrieve model configuration

get_builds(id, build_id)

Check status of a build

get_schedules(id)

Show the model build schedule

list(*[, model_name, training_table_name, ...])

List

list_builds(id, *[, limit, page_num, order, ...])

List builds for the given Model job

list_builds_logs(id, build_id, *[, last_id, ...])

Get the logs for a build

list_dependencies(id, *[, user_id])

List dependent objects for this object

list_projects(id, *[, hidden])

List the projects a Model belongs to

list_schedules(id)

Show the model build schedule

list_shares(id)

List users and groups permissioned on this object

list_types()

List all available model types

put_archive(id, status)

Update the archive status of this object

put_projects(id, project_id)

Add a Model to a project

put_shares_groups(id, group_ids, ...[, ...])

Set the permissions groups has on this object

put_shares_users(id, user_ids, ...[, ...])

Set the permissions users have on this object

put_transfer(id, user_id, ...[, email_body, ...])

Transfer ownership of this object to another user