Learn R Programming

⚠️There's a newer version (3.1.2) of this package.Take me there.

Civis Platform API R Client

Introduction

civis is an R package that helps analysts and developers interact with the Civis Platform. The package includes a set of tools around common workflows as well as a convenient interface to make requests directly to the Civis Platform API.

Documentation

The full documentation is hosted here. The fastest way to get started is with the getting started guide.

API Keys

Installing and using civis requires an API key. Instructions for creating an API key can be found here. All API keys have a set expiration date and so a new key will need to be created at least every 30 days.

Once you have created an API key, you will then need to add it to your .Renviron so the civis package can access it.

Linux/MacOS

touch ~/.Renviron
open -t ~/.Renviron

Then add the following line replacing the fake key sadf8sadf9jasdf with the API key from your Civis Platform Profile:

CIVIS_API_KEY=sadf8sadf9jasdf

After saving the .Renviron file, you'll need to restart R/Rstudio.

Windows

A .Renviron file can be created in the R user home directory, Sys.getenv("R_USER"). Typically this is "C:/username/Documents". Open or create .Renviron with notepad and add the key as above. Save with type all files, not .txt. Restart R/Rstudio.

:heavy_exclamation_mark: You must keep your API key secret. If you use version control tools, ensure you do not commit .Renviron or any scripts in which you have hard-coded an API key.

Install

# Default install
install.packages("civis")

# All features (including CivisML)
install.packages("civis", depends = TRUE)

Updating

The civis package can automatically generate R functions and documentation to interact with the Civis Platform when the package installs.

From time to time, new API functions are added. These can be obtained immediately by installing the package from source:

install.packages('civis', depends = TRUE, type = 'source')

Usage

civis includes functionality for both

  1. Making single calls to accomplish a specific task (which may involve

making multiple calls to the API) 2. Making direct calls to the API

Many useful tasks will require making multiple direct calls to the API. civis includes a number of wrapper functions to make common tasks like IO and modeling easier. For example, reading data from a table in Platform is as easy as

library(civis)

# Read an entire table in to memory
my_table <- "schema.tablename"
df <- read_civis(my_table, database="my_database")

# Run a query and read the results into memory
query <- sql("SELECT a, b, c FROM schema.tablename WHERE b > 42")
df2 <- read_civis(query, database="my_database")

civis includes many more functions for tasks like writing data to tables and files as well as for creating reports. For more detailed documentation, see the included vignettes:

browseVignettes('civis')

Direct calls to API

Functions which make direct calls to the API are prefixed with the name of the resource that the function accesses. For example, the users resource encapsulates all the functionality of Platform regarding users. We can make various calls to the users resource to get information about ourselves and our team.

# Data about me
civis::users_list_me()

<civis_api>
List of 14
 $ id                      : int 971
 $ name                    : chr "A User"
 $ email                   : chr "a_user@example.com"
 $ username                : chr "a_user"
 $ initials                : chr "AU"
# ...
# Data about my team
my_team <- civis::users_list()
team_members <- sapply(my_team, function(x) x$name)
print(team_members)

[1] "Jean-Luc Picard"      "Beverly Crusher"     "Q"

API Documentation

https://platform.civisanalytics.com/api

Contributing

Contributions to the code are very welcome! Issues and bug reports can filed through the standard Github issue interface.

git-flow

  1. Fork the repo, make changes in your branch.
  2. Unit tests must pass, and can be run with devtools::test() or cmd-shift-t in Rstudio.
  3. New code must be backed with tests, mocking all API calls.
  4. R CMD check must pass, i.e. using devtools::check().
  5. Make a pull request from the fork to the master branch of the main repo. In your pull request, link to the issue the pull request addresses.
  6. Tag a maintainer for review. Once it has been approved, squash and merge!

Adding the environment variable R_CLIENT_DEV = "TRUE" to .Renviron will prevent new API functions and documentation from being generated based on your API Key. The default generated API functions included in the package are only updated when this package releases to CRAN.

Integration tests

For major, potentially breaking changes, integration tests should be run with

cd tools/integration_tests
Rscript smoke_test.R

Note, integration tests require a valid API key to run, and my be slow.

Authorship

All contributors of code should include themselves in DESCRIPTION by adding the following object in the Authors@R section:

person("FirstName", "LastName", email = "email@email.com", role = "ctb")

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Copy Link

Version

Install

install.packages('civis')

Monthly Downloads

472

Version

3.0.0

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Patrick Miller

Last Published

June 22nd, 2020

Functions in civis (3.0.0)

CivisFuture

Evaluate an expression in Civis Platform
admin_delete_announcements

Delete an announcement
aliases_get_object_type

Get details about an alias within an FCO type
apps_delete_instances_shares_users

Revoke the permissions a user has on this object
aliases_get

Get an Alias
apps_delete_releases_shares_groups

Revoke the permissions a group has on this object
apps_list_instances_projects

List the projects an App Instance belongs to
apps_list_instances_shares

List users and groups permissioned on this object
apps_post_instances

Create a new instance of an application of the given slug
apps_post_releases

Create a new Decision Application release
admin_list_organizations

List organizations
admin_patch_announcements

Edit an announcement
aliases_post

Create an Alias
apps_get

List details of a Decision Application
apps_delete_releases_shares_users

Revoke the permissions a user has on this object
aliases_patch

Update some attributes of this Alias
civis_ml_extra_trees_regressor

CivisML Extra Trees Regressor
CIVIS_ML_CLASSIFIERS

List of classification models.
aliases_delete_shares_groups

Revoke the permissions a group has on this object
CIVIS_ML_REGRESSORS

List of civis_ml regression models.
apps_delete_instances_shares_groups

Revoke the permissions a group has on this object
apps_delete_instances_projects

Remove an App Instance from a project
aliases_delete_shares_users

Revoke the permissions a user has on this object
apps_patch_instances

Update a given app instance
aliases_put

Replace all attributes of this Alias
aliases_put_shares_groups

Set the permissions groups has on this object
credentials_list

List credentials
apps_get_instances

Return a given app instance
apps_patch_releases

Update an existing Decision Application release
civis_ml_gradient_boosting_classifier

CivisML Gradient Boosting Classifier
enhancements_delete_civis_data_match_shares_groups

Revoke the permissions a group has on this object
admin_patch_themes

Edit a theme
civis_ml_random_forest_classifier

CivisML Random Forest Classifier
apps_get_releases

Return a given app release
clusters_list_kubernetes_instance_configs_user_statistics

Get statistics about the current users of an Instance Config
admin_post_announcements

Post an announcement
civis_ml_gradient_boosting_regressor

CivisML Gradient Boosting Regressor
apps_put_features

Update the Decision Application features for a given organization
databases_post_schemas_scan

Creates and enqueues a schema scanner job
credentials_list_shares

List users and groups permissioned on this object
apps_list_releases

List the releases of a particular Decision Application
enhancements_list_geocode_shares

List users and groups permissioned on this object
enhancements_list_civis_data_match_runs_outputs

List the outputs for a run
apps_list_releases_shares

List users and groups permissioned on this object
apps_put_instances_archive

Update the archive status of this object
civis_ml_sparse_logistic

CivisML Sparse Logistic
clusters_list_kubernetes_partitions

List Cluster Partitions for given cluster
databases_get_whitelist_ips

View details about a whitelisted IP
civis_file

A file in the Civis Platform
apps_put_instances_shares_users

Set the permissions users have on this object
apps_put_releases_archive

Update the archive status of this object
enhancements_delete_cass_ncoa_runs

Cancel a run
admin_post_themes

Create a theme
databases_list_advanced_settings

Get the advanced settings for this database
civis_ml_sparse_ridge_regressor

CivisML Sparse Ridge Regression
enhancements_delete_civis_data_match_runs

Cancel a run
civis_ml

Interface for modeling in the Civis Platform
enhancements_delete_cass_ncoa_projects

Remove a CASS/NCOA Enhancement from a project
databases_list

List databases
aliases_delete

Delete an alias
admin_list_announcements

List announcements
admin_get_announcements

Get a particular announcement
enhancements_list_civis_data_match_runs_logs

Get the logs for a run
credentials_delete_shares_groups

Revoke the permissions a group has on this object
databases_post_whitelist_ips

Whitelist an IP address
imports_post_syncs

Create a sync
enhancements_patch_cass_ncoa

Update some attributes of this CASS/NCOA Enhancement
enhancements_get_cass_ncoa_runs

Check status of a run
clusters_list_kubernetes_deployment_stats

Get stats about deployments associated with a Kubernetes Cluster
clusters_list_kubernetes

List Kubernetes Clusters
civis_ml_extra_trees_classifier

CivisML Extra Trees Classifier
databases_list_schemas

List schemas in this database
coef.civis_ml

Get civis_ml model coefficients
download_civis

Download a table or a file from the Civis Platform to local disk
endpoints_list

List API endpoints
civis_file_manifest

A manifest file in the Civis Platform
aliases_list

List Aliases
civis_platform

Evaluate an expression in Civis Platform
aliases_list_shares

List users and groups permissioned on this object
announcements_list

List announcements
aliases_put_shares_users

Set the permissions users have on this object
enhancements_put_geocode_projects

Add a Geocode Enhancement to a project
apps_put_instances_projects

Add an App Instance to a project
clusters_post_kubernetes

Create a Kubernetes Cluster
enhancements_delete_civis_data_match_projects

Remove a Civis Data Match Enhancement from a project
civis_script

Civis Script
clusters_list_kubernetes_deployments

List the deployments associated with a Kubernetes Cluster
enhancements_post_cass_ncoa_runs

Start a run
fetch_all

Retrieve all results from a paginated endpoint
enhancements_post_civis_data_match_cancel

Cancel a run
enhancements_post_civis_data_match

Create a Civis Data Match Enhancement
databases_patch_advanced_settings

Update the advanced settings for this database
apps_list

List apps
apps_put_instances_shares_groups

Set the permissions groups has on this object
apps_list_instances

List the instances of a Decision Application
enhancements_list_civis_data_match_shares

List users and groups permissioned on this object
clusters_list_kubernetes_instance_configs_historical_graphs

Get graphs of historical resource usage in an Instance Config
clusters_post_kubernetes_partitions

Create a Cluster Partition for given cluster
enhancements_put_cass_ncoa

Replace all attributes of this CASS/NCOA Enhancement
files_patch

Update details about a file
enhancements_put_geocode

Replace all attributes of this Geocode Enhancement
apps_put_releases_shares_groups

Set the permissions groups has on this object
enhancements_post_geocode_runs

Start a run
enhancements_put_geocode_archive

Update the archive status of this object
enhancements_list_types

List available enhancement types
enhancements_put_civis_data_match_shares_users

Set the permissions users have on this object
civis_ml_random_forest_regressor

CivisML Random Forest Regressor
enhancements_patch_geocode

Update some attributes of this Geocode Enhancement
enhancements_get_civis_data_match

Get a Civis Data Match Enhancement
credentials_post_temporary

Generate a temporary credential for accessing S3
enhancements_delete_civis_data_match_shares_users

Revoke the permissions a user has on this object
enhancements_get_cass_ncoa

Get a CASS/NCOA Enhancement
enhancements_list_field_mapping

List the fields in a field mapping for Civis Data Match, Data Unification, and Table Deduplication jobs
credentials_put

Update an existing credential
enhancements_list_geocode_runs_logs

Get the logs for a run
enhancements_get_geocode

Get a Geocode Enhancement
files_list_shares

List users and groups permissioned on this object
files_list_projects

List the projects a File belongs to
credentials_post

Create a credential
enhancements_list_cass_ncoa_runs

List runs for the given cass_ncoa
credentials_put_shares_groups

Set the permissions groups has on this object
databases_list_whitelist_ips

List whitelisted IPs for the specified database
civis_ml_sparse_linear_regressor

CivisML Sparse Linear Regression
fetch_logs

Fetch job logs from the Civis Platform
credentials_post_authenticate

Authenticate against a remote host
databases_list_tables_search

List tables in the specified database, deprecated use "GET /tables" instead
imports_get_batches

Get details about a batch import
enhancements_put_geocode_shares_groups

Set the permissions groups has on this object
clusters_delete_kubernetes_partitions

Delete a Cluster Partition
files_delete_preprocess_csv

Archive a Preprocess CSV (deprecated, use archiving endpoints instead)
enhancements_patch_civis_data_match

Update some attributes of this Civis Data Match Enhancement
fetch_oos_scores

Retrieve out of sample/fold predictions
files_get_preprocess_csv

Get a Preprocess CSV
groups_post

Create a Group
databases_list_tables

List tables in the specified database, deprecated use "GET /tables" instead
enhancements_get_geocode_runs

Check status of a run
enhancements_post_cass_ncoa_cancel

Cancel a run
imports_delete_syncs

Archive a sync (deprecated, use the /archive endpoint instead)
clusters_get_kubernetes

Describe a Kubernetes Cluster
credentials_put_shares_users

Set the permissions users have on this object
enhancements_list_geocode_runs_outputs

List the outputs for a run
enhancements_list_cass_ncoa_runs_logs

Get the logs for a run
git_repos_delete

Remove the bookmark on a git repository
enhancements_delete_cass_ncoa_shares_groups

Revoke the permissions a group has on this object
exports_put_files_csv_archive

Update the archive status of this object
enhancements_delete_geocode_shares_groups

Revoke the permissions a group has on this object
git_repos_post

Bookmark a git repository
clusters_patch_kubernetes

Update a Kubernetes Cluster
feature_flags_delete_users

Deactivate a feature for a user
fetch_output_file_ids

Return output from a civis_script.
enhancements_put_cass_ncoa_archive

Update the archive status of this object
imports_put_syncs_archive

Update the archive status of this sync
apps_put_releases_shares_users

Set the permissions users have on this object
files_put_preprocess_csv

Replace all attributes of this Preprocess CSV
enhancements_put_cass_ncoa_projects

Add a CASS/NCOA Enhancement to a project
clusters_patch_kubernetes_partitions

Update a Cluster Partition
git_repos_list

List bookmarked git repositories
groups_put

Replace all attributes of this Group
fetch_predictions

Retrieve predictions from a CivisML prediction job
enhancements_get_civis_data_match_runs

Check status of a run
civis_table

A table in the Civis Platform
enhancements_post_cass_ncoa

Create a CASS/NCOA Enhancement
imports_list_runs_logs

Get the logs for a run
imports_delete_shares_users

Revoke the permissions a user has on this object
await

Call a function repeatedly until a status is reached.
cancel

Cancel the evaluation of a CivisFuture.
enhancements_post_civis_data_match_clone

Clone this Civis Data Match Enhancement
enhancements_post_civis_data_match_runs

Start a run
enhancements_put_cass_ncoa_shares_users

Set the permissions users have on this object
exports_patch_files_csv

Update some attributes of this CSV Export
civis_to_multifile_csv

Split a Redshift table into multiple CSV parts on S3
enhancements_delete_geocode_runs

Cancel a run
exports_put_files_csv

Replace all attributes of this CSV Export
media_list_optimizations_runs

List runs for the given optimization
media_delete_spot_orders_shares_groups

Revoke the permissions a group has on this object
imports_get_files_csv

Get a CSV Import
jobs_list

List Jobs
imports_get_files_runs

Check status of a run
jobs_list_children

Show nested tree of children that this job triggers
models_delete_shares_users

Revoke the permissions a user has on this object
fetch_until

Retrieve some results from a paginated endpoint
get_database_id

Return the database id for a given database name
exports_post_files_csv

Create a CSV Export
fetch_and_generate_client

Fetches and generates the client in generated_client.R
files_post

Initiate an upload of a file into the platform
jobs_delete_projects

Remove a Job from a project
enhancements_put_cass_ncoa_shares_groups

Set the permissions groups has on this object
feature_flags_get

Show a feature flag
groups_put_shares_groups

Set the permissions groups has on this object
groups_delete_members

Remove a user from a group
credentials_delete_shares_users

Revoke the permissions a user has on this object
get_error

Get error data from civis_errors
imports_post_files_runs

Start a run
imports_post_runs

Run an import
feature_flags_list

List feature flags
databases_put_advanced_settings

Edit the advanced settings for this database
imports_post_cancel

Cancel a run
get_status

Get the status from results of await
files_delete_shares_users

Revoke the permissions a user has on this object
enhancements_delete_cass_ncoa_shares_users

Revoke the permissions a user has on this object
imports_put_shares_groups

Set the permissions groups has on this object
files_get

Get details about a file
get_feature_importance

Get model feature importance
files_put_preprocess_csv_archive

Update the archive status of this object
models_put_projects

Add a Model to a project
files_patch_preprocess_csv

Update some attributes of this Preprocess CSV
files_post_multipart

Initiate a multipart upload
enhancements_delete_geocode_shares_users

Revoke the permissions a user has on this object
match_targets_put_archive

Update the archive status of this object
groups_delete

Delete a Group (deprecated)
get_job_type_version

Derive the job type and version from the given alias.
enhancements_list_cass_ncoa_shares

List users and groups permissioned on this object
clusters_get_kubernetes_instance_configs

Describe an Instance Config
enhancements_list_cass_ncoa_runs_outputs

List the outputs for a run
enhancements_list_civis_data_match_projects

List the projects a Civis Data Match Enhancement belongs to
imports_put_shares_users

Set the permissions users have on this object
enhancements_post_geocode

Create a Geocode Enhancement
jobs_list_runs_logs

Get the logs for a run
enhancements_post_geocode_cancel

Cancel a run
get_script_fun

Get a script function matching a job type.
get_metric

Get model metrics
credentials_get

Get a credential
projects_delete_parent_projects

Remove an item from a Parent Project
git_repos_get

Get a bookmarked git repository
imports_put_projects

Add an Import to a project
get_table_id

Return the table id for a given table
imports_post_batches

Upload multiple files to Civis
clusters_get_kubernetes_partitions

Describe a Cluster Partition
reports_patch

Update a report
imports_list_batches

List batch imports
groups_put_members

Add a user to a group
enhancements_put_civis_data_match

Replace all attributes of this Civis Data Match Enhancement
feature_flags_put_groups

Activate a feature for a group
databases_delete_whitelist_ips

Remove a whitelisted IP address
enhancements_delete_geocode_projects

Remove a Geocode Enhancement from a project
databases_get

Show database information
match_targets_delete_shares_users

Revoke the permissions a user has on this object
media_delete_spot_orders_shares_users

Revoke the permissions a user has on this object
enhancements_put_civis_data_match_archive

Update the archive status of this object
imports_put_files_csv

Replace all attributes of this CSV Import
enhancements_put_geocode_shares_users

Set the permissions users have on this object
storage_hosts_list

List the storage hosts
media_put_ratecards

Replace all attributes of this Ratecard
scripts_get_containers_runs

Check status of a run
media_post_optimizations_runs

Start a run
projects_put_archive

Update the archive status of this object
imports_list_runs

Get the run history of this import
media_list_optimizations_runs_logs

Get the logs for a run
match_targets_get

Show Match Target info
models_delete_shares_groups

Revoke the permissions a group has on this object
default_credential

The current user's default credential.
feature_flags_delete_groups

Deactivate a feature for a group
enhancements_list_geocode_projects

List the projects a Geocode Enhancement belongs to
media_post_ratecards

Create a Ratecard
imports_get

Get details about an import
imports_list

List Imports
files_delete_projects

Remove a File from a project
groups_list

List Groups
files_put_projects

Add a File to a project
notebooks_list_deployments_logs

Get the logs for a Notebook deployment
json_values_delete_shares_groups

Revoke the permissions a group has on this object
files_delete_shares_groups

Revoke the permissions a group has on this object
jobs_delete_runs

Cancel a run
jobs_put_shares_groups

Set the permissions groups has on this object
groups_get

Get a Group
groups_put_shares_users

Set the permissions users have on this object
files_post_multipart_complete

Complete a multipart upload
enhancements_list

List Enhancements
imports_list_shares

List users and groups permissioned on this object
generate_client

Generate a client
files_put_shares_users

Set the permissions users have on this object
imports_delete_files_csv

Archive a CSV Import (deprecated, use archiving endpoints instead)
files_put_shares_groups

Set the permissions groups has on this object
enhancements_put_civis_data_match_projects

Add a Civis Data Match Enhancement to a project
enhancements_list_civis_data_match_runs

List runs for the given civis_data_match
enhancements_list_cass_ncoa_projects

List the projects a CASS/NCOA Enhancement belongs to
enhancements_list_geocode_runs

List runs for the given geocode
models_list_types

List all available model types
match_targets_put_shares_groups

Set the permissions groups has on this object
groups_delete_shares_groups

Revoke the permissions a group has on this object
projects_put_shares_users

Set the permissions users have on this object
media_post_optimizations

Create a new optimization
jobs_delete_shares_groups

Revoke the permissions a group has on this object
json_values_get

Get details about a JSON Value
groups_delete_shares_users

Revoke the permissions a user has on this object
plot.civis_ml_classifier

Decile plot for classification with civis_ml
notebooks_post_clone

Clone this Notebook
jobs_get

Show basic job info
imports_put_files_csv_archive

Update the archive status of this object
media_get_optimizations

Show a single optimization
notebooks_delete

Archive a Notebook (deprecated, use archiving endpoints instead)
json_values_list_shares

List users and groups permissioned on this object
exports_get_files_csv

Get a CSV Export
jobs_list_parents

Show chain of parents as a list that this job triggers from
jobs_get_runs

Check status of a job
jobs_put_shares_users

Set the permissions users have on this object
models_put_archive

Update the archive status of this object
imports_list_files_runs

List runs for the given import
models_get_builds

Check status of a build
notebooks_delete_deployments

Delete a Notebook deployment
enhancements_put_civis_data_match_shares_groups

Set the permissions groups has on this object
reports_list_projects

List the projects a Report belongs to
models_get

Retrieve model configuration
imports_list_projects

List the projects an Import belongs to
json_values_patch

Update some attributes of this JSON Value
projects_list

List projects
hist.civis_ml

Plot a histogram of the predicted scores or probabilities for a CivisML object
publish_addin

Add in to Publish an R Markdown file to Platform Reports from RStudio
tables_post_enhancements_cass_ncoa

Standardize addresses in a table
models_put_shares_users

Set the permissions users have on this object
media_put_ratecards_shares_users

Set the permissions users have on this object
imports_delete_files_runs

Cancel a run
scripts_delete_custom

Archive a Custom Script (deprecated, use archiving endpoints instead)
media_put_ratecards_shares_groups

Set the permissions groups has on this object
media_put_ratecards_archive

Update the archive status of this object
media_get_optimizations_runs

Check status of a run
scripts_list_r_runs

List runs for the given r
projects_put_shares_groups

Set the permissions groups has on this object
multipart_upload

Upload to files endpoint in parts.
refresh_table

Refresh a table
ontology_list

List the ontology of column names Civis uses
files_post_preprocess_csv

Create a Preprocess CSV
get_train_template_id

Get training template IDs for the specified CivisML version
feature_flags_put_users

Activate a feature for a user
exports_list

List
imports_post

Create a new import configuration
imports_list_files_runs_logs

Get the logs for a run
notebooks_list_deployments

List deployments for a Notebook
reports_put_services_shares_groups

Set the permissions groups has on this object
reports_delete_services_shares_groups

Revoke the permissions a group has on this object
notebooks_list

List Notebooks
notebooks_put_archive

Update the archive status of this object
files_put

Update details about a file
notebooks_put_git

Attach an item to a file in a git repo
models_list_projects

List the projects a Model belongs to
scripts_patch_python3

Update some attributes of this Python Script
projects_put_parent_projects

Add an item to a Parent Project
jobs_list_runs_outputs

List the outputs for a run
notebooks_list_git

Get the git metadata attached to an item
jobs_list_shares

List users and groups permissioned on this object
imports_put_syncs

Update a sync
scripts_delete_containers_shares_users

Revoke the permissions a user has on this object
jobs_delete_shares_users

Revoke the permissions a user has on this object
scripts_delete_custom_shares_users

Revoke the permissions a user has on this object
notebooks_post_deployments

Deploy a Notebook
projects_put

Update a project
queries_post

Execute a query
scripts_delete

Archive a script (deprecated, use archive endpoints instead)
saml_service_providers_delete_shares_users

Revoke the permissions a user has on this object
scripts_list_containers_runs_outputs

List the outputs for a run
queries_post_runs

Start a run
scripts_get_containers

View a container
media_list_spot_orders

List all spot orders
models_list_builds_logs

Get the logs for a build
media_list_dmas

List all Designated Market Areas
jobs_list_runs

List runs for the given job
imports_put

Update an import
json_values_delete_shares_users

Revoke the permissions a user has on this object
scripts_delete_containers_shares_groups

Revoke the permissions a group has on this object
projects_list_parent_projects

List the Parent Projects an item belongs to
reports_list_shares

List users and groups permissioned on this object
jobs_put_projects

Add a Job to a project
match_targets_put_shares_users

Set the permissions users have on this object
media_delete_optimizations_runs

Cancel a run
media_list_spot_orders_shares

List users and groups permissioned on this object
projects_delete

Archive a project (deprecated, use the /archive endpoint instead)
models_delete_builds

Cancel a build
scripts_post_javascript_clone

Clone this JavaScript Script
json_values_put_shares_users

Set the permissions users have on this object
queries_list_runs_logs

Get the logs for a run
reports_post_refresh

Refresh the data in this Tableau report
reports_delete_services_shares_users

Revoke the permissions a user has on this object
remote_hosts_list

List the remote hosts
groups_list_shares

List users and groups permissioned on this object
scripts_delete_python3

Archive a Python Script (deprecated, use archiving endpoints instead)
imports_post_files

Initate an import of a tabular file into the platform
get_template_ids_all_versions

Get template IDs for all accessible CivisML versions.
reports_list_services_projects

List the projects a Service Report belongs to
match_targets_list

List match targets
media_post_spot_orders

Create a spot order
scripts_post_python3_runs_outputs

Add an output for a run
match_targets_list_shares

List users and groups permissioned on this object
models_delete_projects

Remove a Model from a project
notebooks_get_deployments

Get details about a Notebook deployment
media_list_targets

List all Media Targets
queries_list

List
match_targets_delete_shares_groups

Revoke the permissions a group has on this object
queries_get_runs

Check status of a run
scripts_list_r_runs_outputs

List the outputs for a run
imports_patch_files_csv

Update some attributes of this CSV Import
reports_patch_services

Update some attributes of this service report
imports_put_archive

Update the archive status of this object
media_list_ratecards_shares

List users and groups permissioned on this object
scripts_list_r_git

Get the git metadata attached to an item
scripts_delete_sql_projects

Remove a SQL script from a project
media_post_optimizations_clone

Clone an existing optimization
scripts_delete_r_shares_groups

Revoke the permissions a group has on this object
media_delete_ratecards_shares_users

Revoke the permissions a user has on this object
imports_delete_projects

Remove an Import from a project
reports_list_services_shares

List users and groups permissioned on this object
saml_service_providers_list_shares

List users and groups permissioned on this object
scripts_delete_r_projects

Remove an R Script from a project
print.civis_api

Print results from a Civis API call
reports_post_grants

Grant this report the ability to perform Civis platform API operations on your behalf
reports_put_services_projects

Add a Service Report to a project
scripts_delete_custom_projects

Remove a Custom Script from a project
media_put_spot_orders

Edit the specified spot order
jobs_list_workflows

List the workflows a job belongs to
reports_list

List Reports
media_delete_optimizations_shares_groups

Revoke the permissions a group has on this object
media_patch_optimizations

Edit an existing optimization
notebooks_get_git_commits

Get file contents at commit_hash
scripts_get_sql

Get a SQL script
media_list_optimizations

List all optimizations
reports_put_services_shares_users

Set the permissions users have on this object
scripts_delete_sql_runs

Cancel a run
scripts_list_containers_projects

List the projects a Container Script belongs to
media_delete_ratecards_shares_groups

Revoke the permissions a group has on this object
jobs_post_runs

Run a job
jobs_list_projects

List the projects a Job belongs to
projects_post

Create a project
scripts_delete_r_runs

Cancel a run
scripts_delete_containers

Archive a container (deprecated, use archive endpoints)
queries_list_runs

List runs for the given query
scripts_list_r_shares

List users and groups permissioned on this object
scripts_list_javascript_git

Get the git metadata attached to an item
reports_list_git

Get the git metadata attached to an item
notebooks_put_shares_users

Set the permissions users have on this object
reports_post_services

Create a service report
scripts_delete_sql_shares_users

Revoke the permissions a user has on this object
media_put_optimizations_archive

Update the archive status of this object
scripts_delete_javascript

Archive a JavaScript Script (deprecated, use archiving endpoints instead)
scripts_list_containers_shares

List users and groups permissioned on this object
plot.civis_ml_regressor

Y-yhat plot for regression with civis_ml
groups_patch

Update some attributes of this Group
scripts_delete_python3_shares_groups

Revoke the permissions a group has on this object
remote_hosts_post_authenticate

Authenticate against a remote host using either a credential or a user name and password
reports_list_git_commits

Get the git commits for an item
notebooks_list_shares

List users and groups permissioned on this object
models_list

List
media_delete_optimizations_shares_users

Revoke the permissions a user has on this object
imports_post_files_csv

Create a CSV Import
media_patch_ratecards

Update some attributes of this Ratecard
scripts_delete_sql_shares_groups

Revoke the permissions a group has on this object
scripts_delete_python3_runs

Cancel a run
storage_hosts_put_shares_users

Set the permissions users have on this object
reports_delete_grants

Revoke permission for this report to perform Civis platform API operations on your behalf
notebooks_get

Get a Notebook
imports_delete_shares_groups

Revoke the permissions a group has on this object
scripts_get_python3_git_commits

Get file contents at commit_hash
users_delete_me_favorites

Unfavorite an item
scripts_get_custom_runs

Check status of a run
scripts_list_python3_git_commits

Get the git commits for an item
scripts_patch

Update a script
notebooks_put_projects

Add a Notebook to a project
models_list_builds

List builds for the given model
notebooks_delete_shares_users

Revoke the permissions a user has on this object
models_put_shares_groups

Set the permissions groups has on this object
notebooks_delete_shares_groups

Revoke the permissions a group has on this object
media_put_optimizations_shares_groups

Set the permissions groups has on this object
jobs_put_archive

Update the archive status of this object
scripts_patch_containers

Update a container
scripts_delete_python3_projects

Remove a Python Script from a project
scripts_delete_sql

Archive a SQL script (deprecated, use archiving endpoints instead)
scripts_patch_r

Update some attributes of this R Script
media_put_spot_orders_archive

Update the archive status of this object
query_civis_file

Export results from a query to S3 and return a file id.
scripts_post_sql_git_commits

Commit and push a new version of the file
predictions_list_schedules

Show the prediction schedule
notebooks_put

Replace all attributes of this Notebook
notebooks_list_update_links

Get URLs to update notebook
scripts_delete_custom_runs

Cancel a run
notebooks_post_git_commits

Commit and push a new version of the file
projects_list_shares

List users and groups permissioned on this object
predictions_list

List predictions
scripts_list_custom_projects

List the projects a Custom Script belongs to
scripts_get_custom

Get a Custom Script
scripts_list_custom

List Custom Scripts
match_targets_patch

Update a match target
scripts_list_python3_git

Get the git metadata attached to an item
tables_get

Show basic table info
scripts_list_python3_runs_logs

Get the logs for a run
scripts_list_custom_runs

List runs for the given custom
scripts_get_javascript_runs

Check status of a run
scripts_list_javascript_git_commits

Get the git commits for an item
scripts_get_python3

Get a Python Script
scripts_list_javascript_runs

List runs for the given javascript
scripts_post_sql

Create a SQL script
reports_get_services

Show a single service report
reports_post_git_commits

Commit and push a new version of the file
scripts_get_r_runs

Check status of a run
storage_hosts_delete_shares_groups

Revoke the permissions a group has on this object
storage_hosts_put_shares_groups

Set the permissions groups has on this object
scripts_list_custom_runs_logs

Get the logs for a run
scripts_list_javascript_projects

List the projects a JavaScript Script belongs to
queries_get

Get details about a query
scripts_get_sql_git_commits

Get file contents at commit_hash
scripts_get_sql_runs

Check status of a run
scripts_post_r

Create an R Script
scripts_list_python3_shares

List users and groups permissioned on this object
notebooks_put_shares_groups

Set the permissions groups has on this object
scripts_list_python3_runs_outputs

List the outputs for a run
scripts_post_javascript

Create a JavaScript Script
scripts_list_sql_shares

List users and groups permissioned on this object
queries_delete_runs

Cancel a run
reports_delete_projects

Remove a Report from a project
tables_list

List tables
scripts_post_containers_runs

Start a run
scripts_list_history

Get the run history and outputs of this script
scripts_list_javascript_runs_logs

Get the logs for a run
scripts_post_containers_clone

Clone this Container Script
scripts_post_javascript_runs

Start a run
scripts_list_r_projects

List the projects an R Script belongs to
scripts_list_r_runs_logs

Get the logs for a run
services_list_deployments

List deployments for a Service
workflows_post_executions_cancel

Cancel a workflow execution
scripts_post_javascript_git_commits

Commit and push a new version of the file
scripts_post_python3_clone

Clone this Python Script
scripts_list_sql_projects

List the projects a SQL script belongs to
reports_delete_services_projects

Remove a Service Report from a project
saml_service_providers_delete_shares_groups

Revoke the permissions a group has on this object
read_civis

Read tables and files from Civis Platform
scripts_delete_python3_shares_users

Revoke the permissions a user has on this object
templates_put_scripts_projects

Add a Script Template to a project
scripts_put_sql

Replace all attributes of this SQL script
users_list_me_favorites

List Favorites
scripts_put_sql_archive

Update the archive status of this object
scripts_list_types

List available script types
templates_put_scripts_shares_groups

Set the permissions groups has on this object
scripts_post_sql_clone

Clone this SQL script
notifications_list

Receive a stream of notifications as they come in
scripts_patch_custom

Update some attributes of this Custom Script
scripts_get

Get details about a script
media_get_ratecards

Get a Ratecard
services_put

Replace all attributes of this Service
services_delete_deployments

Delete a Service deployment
services_delete

Archive a Service (deprecated, use archiving endpoints instead)
templates_post_scripts_review

Review a template for security vulnerability and correctness (admin-only)
scripts_put_containers_shares_users

Set the permissions users have on this object
tables_patch

Update a table
storage_hosts_delete_shares_users

Revoke the permissions a user has on this object
tables_list_projects

List the projects a Table belongs to
workflows_delete_shares_users

Revoke the permissions a user has on this object
queries_put_scripts

Update the query's associated script
scripts_post_python3_runs

Start a run
scripts_post_custom

Create a Custom Script
jobs_post_trigger_email

Generate and retrieve trigger email address
templates_put_reports

Replace all attributes of this Report Template
workflows_get

Get a Workflow
scripts_delete_containers_runs

Cancel a run
run_template

Run a template script
scripts_put_javascript

Replace all attributes of this JavaScript Script
reports_post

Create a report
templates_put_scripts_shares_users

Set the permissions users have on this object
scripts_put_python3_git

Attach an item to a file in a git repo
scripts_delete_javascript_projects

Remove a JavaScript Script from a project
templates_post_reports

Create a Report Template
remote_hosts_list_data_sets

List data sets available from a remote host
query_civis

Run a Query on Platform
projects_delete_shares_groups

Revoke the permissions a group has on this object
remote_hosts_post

Create a new remote host
scripts_post_custom_clone

Clone this Custom Script
reports_put_archive

Update the archive status of this object
scripts_post_r_clone

Clone this R Script
services_put_archive

Update the archive status of this object
scripts_delete_containers_projects

Remove a Container Script from a project
saml_service_providers_put_shares_users

Set the permissions users have on this object
saml_service_providers_put_shares_groups

Set the permissions groups has on this object
reports_put_shares_groups

Set the permissions groups has on this object
scripts_put_python3_shares_groups

Set the permissions groups has on this object
scripts_put_r

Replace all attributes of this R Script
scripts_put_custom_shares_users

Set the permissions users have on this object
media_put_spot_orders_shares_groups

Set the permissions groups has on this object
scripts_delete_custom_shares_groups

Revoke the permissions a group has on this object
scripts_put_r_shares_groups

Set the permissions groups has on this object
scripts_list_sql_runs_logs

Get the logs for a run
json_values_post

Create a JSON Value
scripts_put_r_shares_users

Set the permissions users have on this object
scripts_list_containers_runs

List runs for the given container
users_list_me_ui

UI configuration for logged-in user
workflows_post_clone

Clone this Workflow
scripts_put_javascript_git

Attach an item to a file in a git repo
scripts_put_r_archive

Update the archive status of this object
scripts_put_custom_shares_groups

Set the permissions groups has on this object
workflows_post

Create a Workflow
scripts_post_r_runs

Start a run
storage_hosts_get

Get a storage host
scripts_post_r_git_commits

Commit and push a new version of the file
scripts_put_r_git

Attach an item to a file in a git repo
services_list

List Services
scripts_put_custom

Replace all attributes of this Custom Script
users_list_me

Show info about the logged-in user
scripts_put_javascript_projects

Add a JavaScript Script to a project
scripts_delete_r_shares_users

Revoke the permissions a user has on this object
json_values_put_shares_groups

Set the permissions groups has on this object
media_list_optimizations_shares

List users and groups permissioned on this object
models_list_shares

List users and groups permissioned on this object
match_targets_post

Create a new match target
scripts_list_javascript_runs_outputs

List the outputs for a run
scripts_list_r_git_commits

Get the git commits for an item
scripts_list_javascript_shares

List users and groups permissioned on this object
services_list_deployments_logs

Get the logs for a Service deployment
scripts_put_python3_projects

Add a Python Script to a project
scripts_put_custom_projects

Add a Custom Script to a project
notebooks_list_git_commits

Get the git commits for an item
media_get_spot_orders

Show a single spot order
services_patch

Update some attributes of this Service
scripts_put_r_projects

Add an R Script to a project
scripts_get_javascript_git_commits

Get file contents at commit_hash
media_put_spot_orders_shares_users

Set the permissions users have on this object
media_list_ratecards

List all ratecards
tables_list_columns

List columns in the specified table
templates_post_reports_review

Review a template for security vulnerability and correctness (admin-only)
scripts_delete_javascript_runs

Cancel a run
scripts_delete_r

Archive an R Script (deprecated, use archiving endpoints instead)
scripts_get_r_git_commits

Get file contents at commit_hash
media_put_optimizations_shares_users

Set the permissions users have on this object
services_post

Create a Service
tables_delete_projects

Remove a Table from a project
templates_delete_reports_shares_groups

Revoke the permissions a group has on this object
templates_post_scripts

Create a Script Template
scripts_post_containers

Create a container
templates_list_reports

List Report Templates
scripts_get_r

Get an R Script
notebooks_post

Create a Notebook
notebooks_delete_projects

Remove a Notebook from a project
notebooks_patch

Update some attributes of this Notebook
publish_html

Publish HTML to Platform Reports
models_list_schedules

Show the model build schedule
predictions_get

Show the specified prediction
scripts_put_sql_projects

Add a SQL script to a project
publish_rmd

Publish an R Markdown file to Platform Reports
scripts_put_sql_git

Attach an item to a file in a git repo
scripts_list_containers_runs_logs

Get the logs for a run
tables_post_refresh

Request a refresh for column and table statistics
scripts_list

List Scripts
notebooks_list_projects

List the projects a Notebook belongs to
templates_delete_scripts

Archive a Script Template (deprecated, use archiving endpoints instead)
scripts_post_containers_runs_logs

Add log messages
services_delete_shares_users

Revoke the permissions a user has on this object
scripts_list_sql_runs

List runs for the given sql
scripts_put_containers_projects

Add a Container Script to a project
templates_get_reports

Get a Report Template
scripts_put_python3

Replace all attributes of this Python Script
scripts_post_cancel

Cancel a run
scripts_list_sql_git_commits

Get the git commits for an item
scripts_list_sql_git

Get the git metadata attached to an item
scripts_post_containers_runs_outputs

Add an output for a run
workflows_put_shares_users

Set the permissions users have on this object
reports_put_git

Attach an item to a file in a git repo
projects_delete_shares_users

Revoke the permissions a user has on this object
templates_list_scripts

List Script Templates
templates_delete_reports_shares_users

Revoke the permissions a user has on this object
reports_delete_shares_groups

Revoke the permissions a group has on this object
run_civis

Evaluate an R expression in a Civis Platform container
scripts_put_python3_archive

Update the archive status of this object
scripts_patch_javascript

Update some attributes of this JavaScript Script
scripts_put_custom_archive

Update the archive status of this object
storage_hosts_list_shares

List users and groups permissioned on this object
services_list_projects

List the projects a Service belongs to
tables_get_enhancements_cass_ncoa

View the status of a CASS / NCOA table enhancement
scripts_post_sql_runs

Start a run
tables_get_enhancements_geocodings

View the status of a geocoding table enhancement
scripts_put_javascript_archive

Update the archive status of this object
projects_get

Get a detailed view of a project and the objects in it
scripts_post_python3_git_commits

Commit and push a new version of the file
scripts_put_containers_shares_groups

Set the permissions groups has on this object
reports_get

Show a single report
reports_put_shares_users

Set the permissions users have on this object
tables_post_scan

Creates and enqueues a single table scanner job on a new table
scripts_delete_javascript_shares_users

Revoke the permissions a user has on this object
scripts_get_python3_runs

Check status of a run
reports_delete_shares_users

Revoke the permissions a user has on this object
users_get

Show info about a user
scripts_put_python3_shares_users

Set the permissions users have on this object
services_put_shares_groups

Set the permissions groups has on this object
services_delete_shares_groups

Revoke the permissions a group has on this object
sql

SQL escaping
services_delete_projects

Remove a Service from a project
workflows_put_git

Attach an item to a file in a git repo
templates_get_scripts

Get a Script Template
users_list_api_keys

Show API keys belonging to the specified user
workflows_post_executions_retry

Retry a failed task, or all failed tasks in an execution
templates_put_scripts

Replace all attributes of this Script Template
workflows_post_executions_resume

Resume a paused workflow execution
workflows_put_archive

Update the archive status of this object
scripts_put_sql_shares_users

Set the permissions users have on this object
scripts_put_sql_shares_groups

Set the permissions groups has on this object
services_get

Get a Service
storage_hosts_patch

Update some attributes of this storage host
templates_patch_reports

Update some attributes of this Report Template
templates_list_scripts_shares

List users and groups permissioned on this object
services_post_redeploy

Redeploy a Service
templates_list_reports_shares

List users and groups permissioned on this object
workflows_list_git

Get the git metadata attached to an item
services_get_deployments

Get details about a Service deployment
services_post_tokens

Create a new long-lived service token
services_delete_tokens

Revoke a token by id
tables_post_enhancements_geocodings

Geocode a table
services_put_projects

Add a Service to a project
templates_put_reports_shares_groups

Set the permissions groups has on this object
reports_get_git_commits

Get file contents at commit_hash
storage_hosts_post

Create a new storage host
reports_put_projects

Add a Report to a project
scripts_delete_javascript_shares_groups

Revoke the permissions a group has on this object
services_put_shares_users

Set the permissions users have on this object
workflows_list_shares

List users and groups permissioned on this object
templates_list_scripts_projects

List the projects a Script Template belongs to
workflows_list_executions

List workflow executions
templates_delete_scripts_projects

Remove a Script Template from a project
scripts_get_javascript

Get a JavaScript Script
scripts_list_custom_runs_outputs

List the outputs for a run
services_list_shares

List users and groups permissioned on this object
scripts_post_custom_runs

Start a run
users_post

Create a new user (must be an admin or client user admin)
workflows_list

List Workflows
scripts_list_python3_runs

List runs for the given python
scripts_list_custom_shares

List users and groups permissioned on this object
search_list_types

List available search types
scripts_list_python3_projects

List the projects a Python Script belongs to
write_job_output

Add a file as a run output if called from a container job
workflows_put

Replace all attributes of this Workflow
workflows_delete_projects

Remove a Workflow from a project
users_patch

Update info about a user (must be an admin or client user admin)
users_get_api_keys

Show the specified API key
templates_put_reports_shares_users

Set the permissions users have on this object
users_patch_me

Update info about the logged-in user
users_post_api_keys

Create a new API key belonging to the logged-in user
users_list

List users
scripts_post_javascript_runs_outputs

Add an output for a run
scripts_post_r_runs_outputs

Add an output for a run
scripts_list_sql_runs_outputs

List the outputs for a run
workflows_get_git_commits

Get file contents at commit_hash
scripts_post_python3

Create a Python Script
scripts_post

Create a script
scripts_patch_sql

Update some attributes of this SQL script
templates_patch_scripts

Update some attributes of this Script Template
search_list

Perform a search
scripts_post_custom_runs_outputs

Add an output for a run
write_chunks

Split a file into chunks of a given chunk size, returning a list of file names.
workflows_post_executions

Execute a workflow
workflows_patch

Update some attributes of this Workflow
scripts_put_containers_archive

Update the archive status of this object
scripts_post_run

Run a script
workflows_put_shares_groups

Set the permissions groups has on this object
workflows_put_projects

Add a Workflow to a project
scripts_put_containers

Edit a container
templates_delete_reports

Archive a Report Template (deprecated, use archiving endpoints instead)
tables_put_projects

Add a Table to a project
services_post_clone

Clone this Service
workflows_delete_shares_groups

Revoke the permissions a group has on this object
scripts_put_javascript_shares_groups

Set the permissions groups has on this object
services_post_deployments

Deploy a Service
scripts_put_javascript_shares_users

Set the permissions users have on this object
storage_hosts_delete

Delete a storage host (deprecated)
with_tempfile

Call a function with a temporary file.
stash_local_dataframe

Stash a data frame in feather or csv format, depending on CivisML version.
services_list_tokens

List tokens
workflows_post_git_commits

Commit and push a new version of the file
workflows_list_git_commits

Get the git commits for an item
write_civis

Upload a local data frame or csv file to the Civis Platform (Redshift)
transfer_table

Transfer a table from one location to another.
templates_delete_scripts_shares_groups

Revoke the permissions a group has on this object
storage_hosts_put

Replace all attributes of this storage host
users_delete_api_keys

Revoke the specified API key
templates_delete_scripts_shares_users

Revoke the permissions a user has on this object
users_post_me_favorites

Favorite an item
workflows_get_executions

Get a workflow execution
workflows_list_projects

List the projects a Workflow belongs to
workflows_get_executions_tasks

Get a task of a workflow execution
write_civis_file

Upload a R object or file to Civis Platform (Files endpoint)