Learn R Programming

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

Civis Data Science API 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 Data Science 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

420

Version

2.1.0

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Patrick Miller

Last Published

September 7th, 2019

Functions in civis (2.1.0)

CIVIS_ML_REGRESSORS

List of civis_ml regression models.
civis_ml_gradient_boosting_classifier

CivisML Gradient Boosting Classifier
civis_ml_gradient_boosting_regressor

CivisML Gradient Boosting Regressor
apps_delete_instances_shares_users

Revoke the permissions a user has on this object
apps_get

List details of a Decision Application
aliases_delete_shares_groups

Revoke the permissions a group has on this object
clusters_list_kubernetes

List Kubernetes Clusters
clusters_get_workers

Describe a Worker Cluster
apps_list

List apps
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
apps_list_releases

List the releases of a particular Decision Application
aliases_put_shares_groups

Set the permissions groups has on this object
aliases_put_shares_users

Set the permissions users have on this object
CivisFuture

Evaluate an expression in Civis Platform
aliases_delete

Delete an alias
announcements_list

List announcements
apps_put_instances_projects

Add an App Instance to a project
civis_file

A file in the Civis Platform
apps_list_instances_shares

List users and groups permissioned on this object
cancel

Cancel the evaluation of a CivisFuture.
apps_list_instances_projects

List the projects an App Instance belongs to
apps_put_instances_shares_groups

Set the permissions groups has on this object
civis_ml_extra_trees_classifier

CivisML Extra Trees Classifier
civis_ml_extra_trees_regressor

CivisML Extra Trees Regressor
apps_list_instances

List the instances of a Decision Application
civis_script

Civis Script
civis_table

A table in the Civis Platform
aliases_get

Get an Alias
apps_delete_instances_projects

Remove an App Instance from a project
aliases_get_object_type

Get details about an alias within an FCO type
clusters_list_kubernetes_partitions

List Cluster Partitions for given cluster
clusters_list_workers

List Worker Clusters
clusters_patch_kubernetes_partitions

Update a Cluster Partition
codes_delete

Delete a code
clusters_post_kubernetes_partitions

Create a Cluster Partition for given cluster
apps_delete_instances_shares_groups

Revoke the permissions a group has on this object
clusters_list_kubernetes_deployments

List the deployments associated with a Kubernetes Cluster
clusters_list_kubernetes_deployment_stats

Get stats about deployments associated with a Kubernetes Cluster
apps_get_releases

Return a given app release
apps_get_instances

Return a given app instance
codes_get

Show basic code info
credentials_delete_shares_users

Revoke the permissions a user has on this object
clusters_list_workers_active_jobs

List Active Jobs for a Worker Cluster
clusters_list_workers_queued_jobs

List Queued Jobs for a Worker Cluster
aliases_list_shares

List users and groups permissioned on this object
aliases_list

List Aliases
apps_put_instances_shares_users

Set the permissions users have on this object
await

Call a function repeatedly until a status is reached.
credentials_post

Create a credential
credentials_post_authenticate

Authenticate against a remote host
databases_list_schemas

List schemas in this database
credentials_put_shares_groups

Set the permissions groups has on this object
databases_list_tables

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

Get a Table Deduplication Enhancement
enhancements_get_table_deduplication_runs

Check status of a run
aliases_patch

Update some attributes of this Alias
enhancements_list_field_mapping

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

List the projects a Geocode Enhancement belongs to
databases_list_tables_search

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

List whitelisted IPs for the specified database
credentials_get

Get a credential
credentials_put_shares_users

Set the permissions users have on this object
aliases_post

Create an Alias
download_civis

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

The current user's default credential.
apps_post_instances

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

Update the archive status of this object
enhancements_get_cass_ncoa

Get a CASS/NCOA Enhancement
civis_ml_random_forest_classifier

CivisML Random Forest Classifier
civis_ml_random_forest_regressor

CivisML Random Forest Regressor
enhancements_get_cass_ncoa_runs

Check status of a run
enhancements_get_data_unification

Get a Data Unification Enhancement
enhancements_get_data_unification_runs

Check status of a run
enhancements_list_geocode_runs

List runs for the given geocode
enhancements_list_geocode_runs_logs

Get the logs for a run
civis_ml_sparse_linear_regressor

CivisML Sparse Linear Regression
civis_ml_sparse_logistic

CivisML Sparse Logistic
enhancements_delete_cass_ncoa_runs

Cancel a run
codes_post

Create a new code
civis_ml

Interface for modeling in the Civis Platform
civis_file_manifest

A manifest file in the Civis Platform
enhancements_list_table_deduplication_runs_logs

Get the logs for a run
enhancements_list_table_deduplication_runs

List runs for the given table_deduplication
enhancements_post_civis_data_match_runs

Start a run
clusters_get_kubernetes

Describe a Kubernetes Cluster
enhancements_patch_table_deduplication

Update some attributes of this Table Deduplication Enhancement
codes_list

List codes
clusters_get_kubernetes_partitions

Describe a Cluster Partition
codes_patch

Update a code
enhancements_post_data_unification

Create a Data Unification Enhancement
credentials_list

List credentials
enhancements_delete_cass_ncoa_shares_groups

Revoke the permissions a group has on this object
files_delete_shares_users

Revoke the permissions a user has on this object
enhancements_post_geocode

Create a Geocode Enhancement
enhancements_post_geocode_cancel

Cancel a run
fetch_output_file_ids

Return output from a civis_script.
enhancements_post_cass_ncoa

Create a CASS/NCOA Enhancement
credentials_list_shares

List users and groups permissioned on this object
codes_put

Update a code
databases_list

List databases
databases_get_whitelist_ips

View details about a whitelisted IP
enhancements_delete_cass_ncoa_projects

Remove a CASS/NCOA Enhancement from a project
endpoints_list

List API endpoints
civis_ml_sparse_ridge_regressor

CivisML Sparse Ridge Regression
civis_platform

Evaluate an expression in Civis Platform
credentials_put

Update an existing credential
credentials_post_temporary

Generate a temporary credential for accessing S3
get_database_id

Return the database id for a given database name
enhancements_delete_geocode_shares_users

Revoke the permissions a user has on this object
enhancements_list_civis_data_match_runs_outputs

List the outputs for a run
enhancements_delete_table_deduplication_runs

Cancel a run
files_delete_shares_groups

Revoke the permissions a group has on this object
reports_list

List Reports
fetch_predictions

Retrieve predictions from a CivisML prediction job
civis_to_multifile_csv

Split a Redshift table into multiple CSV parts on S3
imports_list_runs_logs

Get the logs for a run
databases_post_schemas_scan

Creates and enqueues a schema scanner job
jobs_delete_shares_users

Revoke the permissions a user has on this object
get_error

Get error data from civis_errors
git_repos_list

List bookmarked git repositories
files_list_shares

List users and groups permissioned on this object
enhancements_post_table_deduplication_cancel

Cancel a run
notebooks_post_clone

Clone this Notebook
enhancements_post_table_deduplication_runs

Start a run
enhancements_put_geocode_archive

Update the archive status of this object
enhancements_get_geocode

Get a Geocode Enhancement
clusters_delete_kubernetes_partitions

Delete a Cluster Partition
coef.civis_ml

Get civis_ml model coefficients
enhancements_get_geocode_runs

Check status of a run
imports_delete_projects

Remove an Import from a project
jobs_get

Show basic job info
media_patch_ratecards

Update some attributes of this Ratecard
imports_list_runs

Get the run history of this import
imports_delete_files_runs

Cancel a run
json_values_put_shares_users

Set the permissions users have on this object
jobs_list_runs_logs

Get the logs for a run
credentials_delete_shares_groups

Revoke the permissions a group has on this object
media_delete_optimizations_shares_groups

Revoke the permissions a group has on this object
enhancements_put_geocode_projects

Add a Geocode Enhancement to a project
databases_get

Show database information
enhancements_delete_civis_data_match_runs

Cancel a run
databases_delete_whitelist_ips

Remove a whitelisted IP address
enhancements_delete_cass_ncoa_shares_users

Revoke the permissions a user has on this object
enhancements_delete_geocode_runs

Cancel a run
enhancements_put_cass_ncoa_archive

Update the archive status of this object
databases_post_whitelist_ips

Whitelist an IP address
enhancements_delete_geocode_projects

Remove a Geocode Enhancement from a project
enhancements_delete_data_unification_runs

Cancel a run
enhancements_list_cass_ncoa_runs

List runs for the given cass_ncoa
fetch_logs

Fetch job logs from the Civis Platform
fetch_oos_scores

Retrieve out of sample/fold predictions
enhancements_list_data_unification_runs_logs

Get the logs for a run
enhancements_list_cass_ncoa_runs_logs

Get the logs for a run
get_status

Get the status from results of await
jobs_list_runs_outputs

List the outputs for a run
enhancements_list

List Enhancements
enhancements_get_civis_data_match_runs

Check status of a run
enhancements_list_cass_ncoa_projects

List the projects a CASS/NCOA Enhancement belongs to
enhancements_get_civis_data_match

Get a Civis Data Match Enhancement
scripts_get

Get details about a script
files_post

Initiate an upload of a file into the platform
enhancements_list_data_unification_runs

List runs for the given data_unification
enhancements_list_data_unification_runs_outputs

List the outputs for a run
enhancements_delete_geocode_shares_groups

Revoke the permissions a group has on this object
enhancements_list_types

List available enhancement types
enhancements_list_table_deduplication_runs_outputs

List the outputs for a run
enhancements_put_cass_ncoa

Replace all attributes of this CASS/NCOA Enhancement
enhancements_list_civis_data_match_runs

List runs for the given civis_data_match
enhancements_post_cass_ncoa_cancel

Cancel a run
json_values_delete_shares_users

Revoke the permissions a user has on this object
json_values_get

Get details about a JSON Value
media_patch_optimizations

Edit an existing optimization
imports_list_files_runs

List runs for the given import
media_delete_optimizations_shares_users

Revoke the permissions a user has on this object
enhancements_list_civis_data_match_runs_logs

Get the logs for a run
files_put_shares_users

Set the permissions users have on this object
get_script_fun

Get a script function matching a job type.
enhancements_post_civis_data_match

Create a Civis Data Match Enhancement
enhancements_post_civis_data_match_cancel

Cancel a run
enhancements_put_cass_ncoa_shares_users

Set the permissions users have on this object
enhancements_list_geocode_runs_outputs

List the outputs for a run
imports_post_files_csv

Create a CSV Import
generate_client

Generate a client
imports_list_batches

List batch imports
enhancements_list_geocode_shares

List users and groups permissioned on this object
fetch_all

Retrieve all results from a paginated endpoint
enhancements_put_civis_data_match

Replace all attributes of this Civis Data Match Enhancement
imports_get_batches

Get details about a batch import
predictions_put_schedules

Schedule the prediction
enhancements_patch_data_unification

Update some attributes of this Data Unification Enhancement
imports_delete_syncs

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

Check status of a job
jobs_list_projects

List the projects a Job belongs to
media_put_ratecards_shares_users

Set the permissions users have on this object
media_put_ratecards_shares_groups

Set the permissions groups has on this object
enhancements_post_data_unification_runs

Start a run
git_repos_get

Get a bookmarked git repository
enhancements_post_geocode_runs

Start a run
enhancements_patch_geocode

Update some attributes of this Geocode Enhancement
files_post_multipart

Initiate a multipart upload
files_delete_projects

Remove a File from a project
enhancements_list_cass_ncoa_runs_outputs

List the outputs for a run
enhancements_list_cass_ncoa_shares

List users and groups permissioned on this object
enhancements_put_geocode_shares_groups

Set the permissions groups has on this object
enhancements_post_table_deduplication

Create a Table Deduplication Enhancement
media_get_optimizations

Show a single optimization
imports_post_files_runs

Start a run
jobs_delete_runs

Cancel a run
models_delete_shares_users

Revoke the permissions a user has on this object
fetch_until

Retrieve some results from a paginated endpoint
imports_post_runs

Run an import
notebooks_list_projects

List the projects a Notebook belongs to
media_get_optimizations_runs

Check status of a run
imports_post_syncs

Create a sync
enhancements_put_geocode

Replace all attributes of this Geocode Enhancement
enhancements_put_data_unification

Replace all attributes of this Data Unification Enhancement
enhancements_patch_cass_ncoa

Update some attributes of this CASS/NCOA Enhancement
enhancements_post_data_unification_cancel

Cancel a run
enhancements_patch_civis_data_match

Update some attributes of this Civis Data Match Enhancement
fetch_and_generate_client

Fetches and generates the client in generated_client.R
imports_delete_files_csv

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

List users and groups permissioned on this object
hist.civis_ml

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

Update the archive status of this object
media_put_ratecards

Replace all attributes of this Ratecard
files_post_multipart_complete

Complete a multipart upload
get_feature_importance

Get model feature importance
media_list_optimizations_runs_logs

Get the logs for a run
imports_put_files_csv

Replace all attributes of this CSV Import
imports_post_batches

Upload multiple files to Civis
enhancements_post_cass_ncoa_runs

Start a run
enhancements_put_geocode_shares_users

Set the permissions users have on this object
imports_get_files_runs

Check status of a run
media_delete_ratecards_shares_users

Revoke the permissions a user has on this object
jobs_delete_shares_groups

Revoke the permissions a group has on this object
get_metric

Get model metrics
enhancements_put_cass_ncoa_projects

Add a CASS/NCOA Enhancement to a project
jobs_post_runs

Run a job
get_table_id

Return the table id for a given table
git_repos_post

Bookmark a git repository
imports_patch_files_csv

Update some attributes of this CSV Import
groups_list

List Groups
notebooks_list_shares

List users and groups permissioned on this object
notebooks_delete_shares_users

Revoke the permissions a user has on this object
reports_put_services_shares_groups

Set the permissions groups has on this object
notebooks_delete_shares_groups

Revoke the permissions a group has on this object
results_put_archive

Update the archive status of this object
plot.civis_ml_classifier

Decile plot for classification with civis_ml
notebooks_put

Replace all attributes of this Notebook
imports_get_files_csv

Get a CSV Import
reports_list_shares

List users and groups permissioned on this object
files_put_projects

Add a File to a project
files_put_shares_groups

Set the permissions groups has on this object
media_post_optimizations_runs

Start a run
imports_post

Create a new import configuration
git_repos_delete

Remove the bookmark on a git repository
match_targets_get

Show Match Target info
enhancements_put_table_deduplication

Replace all attributes of this Table Deduplication Enhancement
enhancements_put_cass_ncoa_shares_groups

Set the permissions groups has on this object
media_list_spot_orders

List all spot orders
imports_post_files

Initate an import of a tabular file into the platform
media_delete_ratecards_shares_groups

Revoke the permissions a group has on this object
imports_get

Get details about an import
imports_put_files_csv_archive

Update the archive status of this object
jobs_list_runs

List runs for the given job
imports_put_shares_groups

Set the permissions groups has on this object
imports_put_syncs_archive

Update the archive status of this sync
media_put_spot_orders_shares_groups

Set the permissions groups has on this object
imports_put_projects

Add an Import to a project
jobs_list_shares

List users and groups permissioned on this object
jobs_delete_projects

Remove a Job from a project
jobs_list_workflows

List the workflows a job belongs to
media_delete_spot_orders_shares_groups

Revoke the permissions a group has on this object
media_delete_spot_orders_shares_users

Revoke the permissions a user has on this object
json_values_post

Create a JSON Value
json_values_put_shares_groups

Set the permissions groups has on this object
scripts_delete_containers

Archive a container (deprecated, use archive endpoints)
exports_list

List
imports_list_files_runs_logs

Get the logs for a run
media_list_optimizations_runs

List runs for the given optimization
models_list_schedules

Show the model build schedule
notebooks_put_projects

Add a Notebook to a project
notebooks_put_shares_users

Set the permissions users have on this object
notebooks_list_deployments_logs

Get the logs for a Notebook deployment
media_put_spot_orders_shares_users

Set the permissions users have on this object
models_list_shares

List users and groups permissioned on this object
json_values_list_shares

List users and groups permissioned on this object
projects_list_shares

List users and groups permissioned on this object
models_put_shares_users

Set the permissions users have on this object
notebooks_put_git

Attach an item to a file in a git repo
models_put_shares_groups

Set the permissions groups has on this object
plot.civis_ml_regressor

Y-yhat plot for regression with civis_ml
predictions_post_runs

Start a run
notebooks_delete_deployments

Delete a Notebook deployment
models_delete_shares_groups

Revoke the permissions a group has on this object
json_values_patch

Update some attributes of this JSON Value
models_put_schedules

Schedule the model build
notebooks_list_deployments

List deployments for a Notebook
jobs_list

List Jobs
media_list_dmas

List all Designated Market Areas
jobs_put_projects

Add a Job to a project
imports_put_shares_users

Set the permissions users have on this object
imports_list

List Imports
imports_put_syncs

Update a sync
files_get

Get details about a file
match_targets_patch

Update a match target
media_post_optimizations

Create a new optimization
reports_delete_grants

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

Update a report
reports_delete_services_projects

Remove a Service Report from a project
remote_hosts_post_authenticate

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

List the projects a File belongs to
notebooks_put_shares_groups

Set the permissions groups has on this object
imports_list_projects

List the projects an Import belongs to
models_get_builds

Check status of a build
reports_list_git

Get the git metadata attached to an item
results_list_services_shares

List users and groups permissioned on this object
reports_delete_projects

Remove a Report from a project
reports_put_services_projects

Add a Service Report to a project
scripts_delete_sql_runs

Cancel a run
scripts_delete_python3

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

List users and groups permissioned on this object
queries_post_runs

Start a run
media_list_optimizations_shares

List users and groups permissioned on this object
imports_delete_shares_groups

Revoke the permissions a group has on this object
media_put_optimizations_archive

Update the archive status of this object
media_delete_optimizations_runs

Cancel a run
imports_post_cancel

Cancel a run
imports_delete_shares_users

Revoke the permissions a user has on this object
media_list_targets

List all Media Targets
models_post

Create new configuration for a model
multipart_upload

Upload to files endpoint in parts.
match_targets_list

List match targets
models_get

Retrieve model configuration
jobs_put_shares_groups

Set the permissions groups has on this object
media_put_spot_orders

Edit the specified spot order
media_list_optimizations

List all optimizations
scripts_delete_custom_projects

Remove a Custom Script from a project
projects_post

Create a project
queries_put_scripts

Update the query's associated script
reports_put_services_shares_users

Set the permissions users have on this object
results_delete_projects

Remove a Report from a project
remote_hosts_post

Create a new remote host
reports_post

Create a report
reports_patch_services

Update some attributes of this service report
notebooks_get

Get a Notebook
models_delete_builds

Cancel a build
models_delete_projects

Remove a Model from a project
media_put_spot_orders_archive

Update the archive status of this object
models_put_projects

Add a Model to a project
media_post_optimizations_clone

Clone an existing optimization
models_put_predictions

Add a table on which to apply the predictive model
media_post_ratecards

Create a Ratecard
jobs_post_trigger_email

Generate and retrieve trigger email address
imports_put_archive

Update the archive status of this object
jobs_list_children

Show nested tree of children that this job triggers
imports_put

Update an import
reports_get_git_commits

Get file contents at commit_hash
media_get_spot_orders

Show a single spot order
media_get_ratecards

Get a Ratecard
results_put_git

Attach an item to a file in a git repo
scripts_delete_r_shares_groups

Revoke the permissions a group has on this object
reports_put_shares_groups

Set the permissions groups has on this object
results_post_grants

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

Get the git metadata attached to an item
results_list_git_commits

Get the git commits for an item
results_delete_services_projects

Remove a Service Report from a project
reports_delete_services_shares_groups

Revoke the permissions a group has on this object
scripts_delete_python3_projects

Remove a Python Script from a project
jobs_list_parents

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

Create a new match target
scripts_delete_containers_projects

Remove a Container Script from a project
scripts_post_javascript_git_commits

Commit and push a new version of the file
scripts_delete_javascript_shares_users

Revoke the permissions a user has on this object
results_list_shares

List users and groups permissioned on this object
notebooks_post_deployments

Deploy a Notebook
jobs_put_shares_users

Set the permissions users have on this object
scripts_put_r_shares_groups

Set the permissions groups has on this object
scripts_delete_sql_projects

Remove a SQL script from a project
scripts_list_python3_runs

List runs for the given python
media_put_ratecards_archive

Update the archive status of this object
models_put_archive

Update the archive status of this object
queries_get

Get details about a query
results_post_services

Create a service report
media_put_optimizations_shares_groups

Set the permissions groups has on this object
notebooks_delete

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

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

Update a prediction
predictions_delete_runs

Cancel a run
projects_put_shares_users

Set the permissions users have on this object
models_list_projects

List the projects a Model belongs to
models_list_builds_logs

Get the logs for a build
notebooks_list_update_links

Get URLs to update notebook
media_put_optimizations_shares_users

Set the permissions users have on this object
notebooks_get_deployments

Get details about a Notebook deployment
results_patch_services

Update some attributes of this service report
scripts_delete_r_runs

Cancel a run
json_values_delete_shares_groups

Revoke the permissions a group has on this object
publish_addin

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

Receive a stream of notifications as they come in
notebooks_post

Create a Notebook
scripts_delete_custom_runs

Cancel a run
scripts_list_python3_runs_logs

Get the logs for a run
scripts_get_custom_runs

Check status of a run
scripts_delete_python3_runs

Cancel a run
models_post_builds

Start a build
queries_list_runs_logs

Get the logs for a run
predictions_get

Show the specified prediction
ontology_list

List the ontology of column names Civis uses
notebooks_delete_projects

Remove a Notebook from a project
models_list

List
media_post_spot_orders

Create a spot order
media_list_ratecards_shares

List users and groups permissioned on this object
media_list_ratecards

List all ratecards
predictions_list_schedules

Show the prediction schedule
queries_list

List
predictions_list_runs

List runs for the given prediction
publish_html

Publish HTML to Platform Reports
predictions_list_runs_logs

Get the logs for a run
remote_hosts_list

List the remote hosts
notebooks_list_git_commits

Get the git commits for an item
projects_list

List projects
predictions_get_runs

Check status of a run
reports_delete_shares_users

Revoke the permissions a user has on this object
scripts_list_r_git

Get the git metadata attached to an item
projects_put

Update a project
scripts_delete_containers_shares_users

Revoke the permissions a user has on this object
queries_get_runs

Check status of a run
results_patch

Update a report
projects_put_archive

Update the archive status of this object
scripts_get_r

Get an R Script
notebooks_list_git

Get the git metadata attached to an item
scripts_list_containers_runs_logs

Get the logs for a run
notebooks_get_git_commits

Get file contents at commit_hash
notebooks_list

List Notebooks
models_patch

Update model configuration
models_list_builds

List builds for the given model
models_list_types

List all available model types
scripts_list_containers_runs

List runs for the given container
scripts_get_javascript

Get a JavaScript Script
read_civis

Read tables and files from Civis Platform
reports_list_services_shares

List users and groups permissioned on this object
scripts_put_custom_projects

Add a Custom Script to a project
scripts_list_containers_runs_outputs

List the outputs for a run
scripts_patch_python3

Update some attributes of this Python Script
refresh_table

Refresh a table
results_get_services

Show a single service report
scripts_delete_python3_shares_groups

Revoke the permissions a group has on this object
notebooks_patch

Update some attributes of this Notebook
reports_delete_shares_groups

Revoke the permissions a group has on this object
print.civis_api

Print results from a Civis API call
queries_post

Execute a query
projects_put_shares_groups

Set the permissions groups has on this object
reports_delete_services_shares_users

Revoke the permissions a user has on this object
saml_service_providers_put_shares_users

Set the permissions users have on this object
run_civis

Evaluate an R expression in a Civis Platform container
reports_post_git_commits

Commit and push a new version of the file
results_list

List Reports
scripts_post_python3_runs_outputs

Add an output for a run
scripts_list_r_git_commits

Get the git commits for an item
results_delete_services_shares_users

Revoke the permissions a user has on this object
results_delete_services_shares_groups

Revoke the permissions a group has on this object
scripts_patch_custom

Update some attributes of this Custom Script
scripts_get_python3_runs

Check status of a run
scripts_list_r_runs

List runs for the given r
scripts_list_javascript_git

Get the git metadata attached to an item
scripts_list_containers_projects

List the projects a Container Script belongs to
scripts_list_r_projects

List the projects an R Script belongs to
scripts_patch_containers

Update a container
reports_post_grants

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

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

Add a Report to a project
scripts_list_javascript_git_commits

Get the git commits for an item
scripts_list_types

List available script types
services_get

Get a Service
results_get_git_commits

Get file contents at commit_hash
reports_put_git

Attach an item to a file in a git repo
run_template

Run a template script
scripts_post_javascript_clone

Clone this JavaScript Script
scripts_patch

Update a script
queries_list_runs

List runs for the given query
workflows_post_executions_cancel

Cancel a workflow execution
results_put_shares_groups

Set the permissions groups has on this object
scripts_list_javascript_runs

List runs for the given javascript
scripts_get_sql

Get a SQL script
scripts_list_custom_runs

List runs for the given custom
scripts_post_containers_clone

Clone this Container Script
results_put_shares_users

Set the permissions users have on this object
query_civis

Run a Query on Platform
results_delete_shares_users

Revoke the permissions a user has on this object
scripts_delete_custom

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

Show a single report
results_put_services_shares_groups

Set the permissions groups has on this object
remote_hosts_list_data_sets

List data sets available from a remote host
reports_list_services_projects

List the projects a Service Report belongs to
predictions_list

List predictions
scripts_post_r_git_commits

Commit and push a new version of the file
scripts_put_python3_git

Attach an item to a file in a git repo
results_put_projects

Add a Report to a project
scripts_get_python3

Get a Python Script
scripts_put_containers_projects

Add a Container Script to a project
reports_put_shares_users

Set the permissions users have on this object
scripts_list_custom_projects

List the projects a Custom Script belongs to
notebooks_post_git_commits

Commit and push a new version of the file
projects_delete_shares_users

Revoke the permissions a user has on this object
projects_delete_shares_groups

Revoke the permissions a group has on this object
publish_rmd

Publish an R Markdown file to Platform Reports
scripts_patch_javascript

Update some attributes of this JavaScript Script
scripts_post_sql

Create a SQL script
scripts_get_python3_git_commits

Get file contents at commit_hash
scripts_delete_javascript_runs

Cancel a run
results_put_services_projects

Add a Service Report to a project
scripts_delete_containers_runs

Cancel a run
scripts_post_javascript_runs

Start a run
scripts_post_r_clone

Clone this R Script
scripts_put_containers_archive

Update the archive status of this object
scripts_put_r_projects

Add an R Script to a project
projects_get

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

Update the archive status of this object
scripts_delete_sql

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

Cancel a run
services_list_shares

List users and groups permissioned on this object
scripts_list_javascript_projects

List the projects a JavaScript Script belongs to
results_delete_grants

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

Revoke the permissions a user has on this object
services_post

Create a Service
scripts_get_sql_git_commits

Get file contents at commit_hash
scripts_post_containers

Create a container
results_get

Show a single report
templates_put_scripts_shares_users

Set the permissions users have on this object
services_delete_tokens

Revoke a token by id
scripts_delete_sql_shares_groups

Revoke the permissions a group has on this object
scripts_delete_python3_shares_users

Revoke the permissions a user has on this object
scripts_list_containers_shares

List users and groups permissioned on this object
scripts_delete_containers_shares_groups

Revoke the permissions a group has on this object
query_civis_file

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

Update the archive status of this object
reports_list_git_commits

Get the git commits for an item
saml_service_providers_list_shares

List users and groups permissioned on this object
results_post_git_commits

Commit and push a new version of the file
saml_service_providers_put_shares_groups

Set the permissions groups has on this object
results_post

Create a report
scripts_put_custom_shares_groups

Set the permissions groups has on this object
users_post_api_keys

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

Add a Script Template to a project
templates_put_scripts_shares_groups

Set the permissions groups has on this object
reports_list_projects

List the projects a Report belongs to
results_list_projects

List the projects a Report belongs to
reports_get_services

Show a single service report
results_put_services_shares_users

Set the permissions users have on this object
reports_post_services

Create a service report
scripts_list_r_shares

List users and groups permissioned on this object
scripts_post_r_runs_outputs

Add an output for a run
scripts_delete_javascript_shares_groups

Revoke the permissions a group has on this object
storage_hosts_delete

Delete a storage host (deprecated)
scripts_list_r_runs_logs

Get the logs for a run
scripts_list_javascript_shares

List users and groups permissioned on this object
scripts_delete_javascript

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

Remove a JavaScript Script from a project
storage_hosts_put_shares_groups

Set the permissions groups has on this object
scripts_get_containers_runs

Check status of a run
scripts_get_containers

View a container
scripts_get_custom

Get a Custom Script
tables_delete_projects

Remove a Table from a project
scripts_delete_sql_shares_users

Revoke the permissions a user has on this object
scripts_post_r

Create an R Script
services_post_deployments

Deploy a Service
scripts_get_sql_runs

Check status of a run
scripts_list_sql_git

Get the git metadata attached to an item
scripts_list_custom

List Custom Scripts
scripts_delete_r_shares_users

Revoke the permissions a user has on this object
scripts_list_r_runs_outputs

List the outputs for a run
scripts_list_python3_projects

List the projects a Python Script belongs to
scripts_put_sql_projects

Add a SQL script to a project
tables_list_columns

List columns in the specified table
scripts_post_run

Run a script
scripts_list_javascript_runs_logs

Get the logs for a run
results_delete_shares_groups

Revoke the permissions a group has on this object
scripts_delete_custom_shares_groups

Revoke the permissions a group has on this object
results_list_services_projects

List the projects a Service Report belongs to
workflows_list_git

Get the git metadata attached to an item
scripts_put_javascript_shares_users

Set the permissions users have on this object
services_post_redeploy

Redeploy a Service
scripts_put_sql_shares_groups

Set the permissions groups has on this object
tables_post_enhance

Run an enhancement on a table, deprecated use "POST /tables/:source_table_id/enhancements/<enhancement-type>" instead
services_list_projects

List the projects a Service belongs to
stash_local_dataframe

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

Replace all attributes of this Python Script
templates_delete_scripts_shares_groups

Revoke the permissions a group has on this object
scripts_list_python3_git_commits

Get the git commits for an item
tables_post_enhancements_prepared_matchings

Match person records against a dynamo table prepared by Civis
storage_hosts_delete_shares_groups

Revoke the permissions a group has on this object
workflows_list_executions

List workflow executions
users_list_api_keys

Show API keys belonging to the specified user
storage_hosts_put

Replace all attributes of this storage host
users_list

List users
templates_put_scripts

Replace all attributes of this Script Template
scripts_post_cancel

Cancel a run
sql

SQL escaping
scripts_get_javascript_git_commits

Get file contents at commit_hash
scripts_list_custom_shares

List users and groups permissioned on this object
scripts_list_sql_shares

List users and groups permissioned on this object
scripts_delete_r

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

Update some attributes of this SQL script
scripts_delete_custom_shares_users

Revoke the permissions a user has on this object
saml_service_providers_delete_shares_groups

Revoke the permissions a group has on this object
scripts_post_containers_runs_logs

Add log messages
scripts_post_javascript_runs_outputs

Add an output for a run
scripts_list_sql_runs_outputs

List the outputs for a run
tables_list_projects

List the projects a Table belongs to
scripts_post_custom_clone

Clone this Custom Script
scripts_list_custom_runs_logs

Get the logs for a run
scripts_list

List Scripts
scripts_list_custom_runs_outputs

List the outputs for a run
templates_post_scripts

Create a Script Template
tables_patch

Update a table
scripts_delete_r_projects

Remove an R Script from a project
scripts_put_containers

Edit a container
transfer_table

Transfer a table from one location to another.
scripts_post_sql_runs

Start a run
scripts_put_javascript

Replace all attributes of this JavaScript Script
scripts_post_custom_runs

Start a run
services_delete_shares_groups

Revoke the permissions a group has on this object
storage_hosts_put_shares_users

Set the permissions users have on this object
workflows_post_clone

Clone this Workflow
scripts_put_r_git

Attach an item to a file in a git repo
storage_hosts_delete_shares_users

Revoke the permissions a user has on this object
scripts_put_custom_shares_users

Set the permissions users have on this object
scripts_list_sql_git_commits

Get the git commits for an item
scripts_list_python3_git

Get the git metadata attached to an item
scripts_get_r_runs

Check status of a run
scripts_get_javascript_runs

Check status of a run
tables_post_enhancements_table_matchings

Match person records against an arbitrary Redshift table
templates_delete_scripts_shares_users

Revoke the permissions a user has on this object
tables_get_enhancements_cass_ncoa

View the status of a CASS / NCOA table enhancement
services_post_clone

Clone this Service
templates_patch_scripts

Update some attributes of this Script Template
templates_delete_reports

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

List users and groups permissioned on this object
templates_post_reports

Create a Report Template
scripts_list_javascript_runs_outputs

List the outputs for a run
scripts_get_r_git_commits

Get file contents at commit_hash
scripts_list_history

Get the run history and outputs of this script
scripts_put_containers_shares_groups

Set the permissions groups has on this object
scripts_patch_r

Update some attributes of this R Script
scripts_post_python3

Create a Python Script
search_list

Perform a search
scripts_put_containers_shares_users

Set the permissions users have on this object
scripts_post_containers_runs

Start a run
services_put_archive

Update the archive status of this object
services_delete_deployments

Delete a Service deployment
scripts_list_sql_projects

List the projects a SQL script belongs to
scripts_list_sql_runs

List runs for the given sql
tables_list

List tables
scripts_put_r_archive

Update the archive status of this object
tables_put_projects

Add a Table to a project
templates_list_reports

List Report Templates
tables_get

Show basic table info
templates_delete_reports_shares_groups

Revoke the permissions a group has on this object
scripts_put_sql_shares_users

Set the permissions users have on this object
scripts_post_python3_clone

Clone this Python Script
workflows_get_executions_tasks

Get a task of a workflow execution
storage_hosts_get

Get a storage host
services_post_tokens

Create a new long-lived service token
services_delete_shares_users

Revoke the permissions a user has on this object
scripts_list_python3_runs_outputs

List the outputs for a run
scripts_post

Create a script
scripts_put_python3_projects

Add a Python Script to a project
workflows_put_projects

Add a Workflow to a project
with_tempfile

Call a function with a temporary file.
scripts_post_javascript

Create a JavaScript Script
scripts_list_sql_runs_logs

Get the logs for a run
scripts_list_python3_shares

List users and groups permissioned on this object
scripts_put_javascript_archive

Update the archive status of this object
scripts_post_custom_runs_outputs

Add an output for a run
services_put

Replace all attributes of this Service
tables_get_enhancements_table_matchings

View a table matching enhancement
templates_put_reports

Replace all attributes of this Report Template
workflows_post_git_commits

Commit and push a new version of the file
workflows_post

Create a Workflow
services_patch

Update some attributes of this Service
users_get

Show info about a user
workflows_put_shares_groups

Set the permissions groups has on this object
write_job_output

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

Revoke the permissions a user has on this object
users_delete_api_keys

Revoke the specified API key
workflows_put_shares_users

Set the permissions users have on this object
scripts_post_python3_git_commits

Commit and push a new version of the file
tables_post_enhancements_cass_ncoa

Standardize addresses in a table
workflows_delete_projects

Remove a Workflow from a project
services_delete_projects

Remove a Service from a project
scripts_put_javascript_projects

Add a JavaScript Script to a project
services_list_deployments

List deployments for a Service
workflows_put_git

Attach an item to a file in a git repo
scripts_put_javascript_shares_groups

Set the permissions groups has on this object
scripts_put_python3_shares_groups

Set the permissions groups has on this object
services_list_tokens

List tokens
scripts_put_custom

Replace all attributes of this Custom Script
services_put_projects

Add a Service to a project
workflows_list_git_commits

Get the git commits for an item
templates_list_scripts

List Script Templates
storage_hosts_list_shares

List users and groups permissioned on this object
storage_hosts_list

List the storage hosts
templates_list_scripts_projects

List the projects a Script Template belongs to
workflows_post_executions

Execute a workflow
workflows_delete_shares_groups

Revoke the permissions a group has on this object
workflows_put

Replace all attributes of this Workflow
scripts_post_python3_runs

Start a run
scripts_put_sql_git

Attach an item to a file in a git repo
scripts_post_sql_clone

Clone this SQL script
scripts_put_javascript_git

Attach an item to a file in a git repo
scripts_put_sql_archive

Update the archive status of this object
users_get_api_keys

Show the specified API key
workflows_put_archive

Update the archive status of this object
write_civis

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

Get a workflow execution
write_civis_file

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

List the projects a Workflow belongs to
search_list_types

List available search types
scripts_post_r_runs

Start a run
scripts_post_containers_runs_outputs

Add an output for a run
workflows_get_git_commits

Get file contents at commit_hash
scripts_post_sql_git_commits

Commit and push a new version of the file
scripts_put_r

Replace all attributes of this R Script
scripts_post_custom

Create a Custom Script
services_delete

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

Update some attributes of this Report Template
tables_post_enhancements_geocodings

Geocode a table
templates_delete_scripts

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

Create a new storage host
templates_list_scripts_shares

List users and groups permissioned on this object
templates_delete_scripts_projects

Remove a Script Template from a project
workflows_delete_shares_users

Revoke the permissions a user has on this object
templates_get_reports

Get a Report Template
services_put_shares_users

Set the permissions users have on this object
scripts_put_custom_archive

Update the archive status of this object
scripts_put_r_shares_users

Set the permissions users have on this object
workflows_list

List Workflows
write_chunks

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

Set the permissions users have on this object
services_list

List Services
services_get_deployments

Get details about a Service deployment
storage_hosts_patch

Update some attributes of this storage host
scripts_put_sql

Replace all attributes of this SQL script
tables_get_enhancements_geocodings

View the status of a geocoding table enhancement
services_list_deployments_logs

Get the logs for a Service deployment
tables_post_scan

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

Request a refresh for column and table statistics
services_put_shares_groups

Set the permissions groups has on this object
templates_put_reports_shares_groups

Set the permissions groups has on this object
users_list_me

Show info about the logged-in user
templates_get_scripts

Get a Script Template
tables_get_enhancements_prepared_matchings

View a prepared matching enhancement
templates_put_reports_shares_users

Set the permissions users have on this object
workflows_get

Get a Workflow
workflows_patch

Update some attributes of this Workflow
users_patch_me

Update info about the logged-in user
workflows_post_executions_resume

Resume a paused workflow execution
workflows_list_shares

List users and groups permissioned on this object
workflows_post_executions_retry

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

List of classification models.