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

420

Version

2.1.2

License

BSD_3_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Patrick Miller

Last Published

February 24th, 2020

Functions in civis (2.1.2)

admin_delete_announcements

Delete an announcement
CivisFuture

Evaluate an expression in Civis Platform
admin_post_announcements

Post an announcement
admin_patch_themes

Edit a theme
admin_list_organizations

List organizations
admin_patch_announcements

Edit an announcement
aliases_patch

Update some attributes of this Alias
admin_get_announcements

Get a particular announcement
admin_list_announcements

List announcements
aliases_post

Create an Alias
admin_post_themes

Create a theme
CIVIS_ML_CLASSIFIERS

List of classification models.
aliases_delete

Delete an alias
aliases_put_shares_groups

Set the permissions groups has on this object
apps_get_releases

Return a given app release
aliases_delete_shares_users

Revoke the permissions a user has on this object
aliases_delete_shares_groups

Revoke the permissions a group has on this object
aliases_put

Replace all attributes of this Alias
apps_get_instances

Return a given app instance
apps_put_instances_shares_users

Set the permissions users have on this object
CIVIS_ML_REGRESSORS

List of civis_ml regression models.
apps_put_releases_archive

Update the archive status of this object
aliases_list

List Aliases
apps_put_releases_shares_users

Set the permissions users have on this object
apps_list

List apps
announcements_list

List announcements
apps_list_instances

List the instances of a Decision Application
aliases_put_shares_users

Set the permissions users have on this object
apps_delete_releases_shares_users

Revoke the permissions a user has on this object
await

Call a function repeatedly until a status is reached.
apps_put_releases_shares_groups

Set the permissions groups has on this object
apps_get

List details of a Decision Application
aliases_get

Get an Alias
apps_delete_instances_projects

Remove an App Instance from a project
apps_delete_instances_shares_groups

Revoke the permissions a group has on this object
aliases_get_object_type

Get details about an alias within an FCO type
civis_ml_gradient_boosting_regressor

CivisML Gradient Boosting Regressor
apps_list_releases

List the releases of a particular Decision Application
aliases_list_shares

List users and groups permissioned on this object
civis_ml_random_forest_classifier

CivisML Random Forest Classifier
cancel

Cancel the evaluation of a CivisFuture.
civis_platform

Evaluate an expression in Civis Platform
apps_delete_releases_shares_groups

Revoke the permissions a group has on this object
apps_patch_releases

Update an existing Decision Application release
apps_patch_instances

Update a given app instance
apps_delete_instances_shares_users

Revoke the permissions a user has on this object
apps_put_features

Update the Decision Application features for a given organization
apps_list_instances_projects

List the projects an App Instance belongs to
civis_ml_extra_trees_classifier

CivisML Extra Trees Classifier
apps_put_instances_archive

Update the archive status of this object
civis_table

A table in the Civis Platform
apps_list_instances_shares

List users and groups permissioned on this object
civis_ml

Interface for modeling in the Civis Platform
clusters_delete_kubernetes_partitions

Delete a Cluster Partition
apps_post_instances

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

List users and groups permissioned on this object
apps_put_instances_projects

Add an App Instance to a project
clusters_get_kubernetes

Describe a Kubernetes Cluster
apps_post_releases

Create a new Decision Application release
civis_script

Civis Script
apps_put_instances_shares_groups

Set the permissions groups has on this object
clusters_patch_kubernetes

Update a Kubernetes Cluster
clusters_list_kubernetes_partitions

List Cluster Partitions for given cluster
clusters_list_kubernetes_deployment_stats

Get stats about deployments associated with a Kubernetes Cluster
civis_ml_extra_trees_regressor

CivisML Extra Trees Regressor
civis_ml_gradient_boosting_classifier

CivisML Gradient Boosting Classifier
civis_ml_sparse_linear_regressor

CivisML Sparse Linear Regression
clusters_patch_kubernetes_partitions

Update a Cluster Partition
civis_ml_random_forest_regressor

CivisML Random Forest Regressor
credentials_list_shares

List users and groups permissioned on this object
clusters_list_kubernetes_deployments

List the deployments associated with a Kubernetes Cluster
credentials_post_authenticate

Authenticate against a remote host
civis_file

A file in the Civis Platform
credentials_post

Create a credential
credentials_post_temporary

Generate a temporary credential for accessing S3
civis_file_manifest

A manifest file in the Civis Platform
credentials_put

Update an existing credential
credentials_put_shares_users

Set the permissions users have on this object
enhancements_delete_cass_ncoa_runs

Cancel a run
credentials_put_shares_groups

Set the permissions groups has on this object
databases_post_schemas_scan

Creates and enqueues a schema scanner job
databases_list_whitelist_ips

List whitelisted IPs for the specified database
enhancements_delete_cass_ncoa_projects

Remove a CASS/NCOA Enhancement from a project
clusters_post_kubernetes

Create a Kubernetes Cluster
databases_list

List databases
databases_list_schemas

List schemas in this database
enhancements_delete_civis_data_match_shares_groups

Revoke the permissions a group has on this object
enhancements_delete_civis_data_match_shares_users

Revoke the permissions a user has on this object
civis_ml_sparse_logistic

CivisML Sparse Logistic
clusters_post_kubernetes_partitions

Create a Cluster Partition for given cluster
civis_ml_sparse_ridge_regressor

CivisML Sparse Ridge Regression
credentials_delete_shares_users

Revoke the permissions a user has on this object
databases_get_whitelist_ips

View details about a whitelisted IP
coef.civis_ml

Get civis_ml model coefficients
credentials_delete_shares_groups

Revoke the permissions a group has on this object
enhancements_delete_cass_ncoa_shares_groups

Revoke the permissions a group has on this object
databases_get

Show database information
enhancements_delete_cass_ncoa_shares_users

Revoke the permissions a user has on this object
enhancements_get_civis_data_match_runs

Check status of a run
enhancements_get_civis_data_match

Get a Civis Data Match Enhancement
databases_delete_whitelist_ips

Remove a whitelisted IP address
enhancements_delete_data_unification_runs

Cancel a run
enhancements_delete_civis_data_match_projects

Remove a Civis Data Match Enhancement from a project
civis_to_multifile_csv

Split a Redshift table into multiple CSV parts on S3
enhancements_delete_geocode_shares_users

Revoke the permissions a user has on this object
enhancements_delete_civis_data_match_runs

Cancel a run
enhancements_list_cass_ncoa_runs_outputs

List the outputs for a run
enhancements_delete_table_deduplication_runs

Cancel a run
enhancements_list_cass_ncoa_shares

List users and groups permissioned on this object
enhancements_get_data_unification

Get a Data Unification Enhancement
clusters_get_kubernetes_partitions

Describe a Cluster Partition
enhancements_get_data_unification_runs

Check status of a run
enhancements_list_data_unification_runs_logs

Get the logs for a run
enhancements_list_civis_data_match_runs_outputs

List the outputs for a run
enhancements_list_data_unification_runs_outputs

List the outputs for a run
enhancements_list_civis_data_match_runs_logs

Get the logs for a run
credentials_get

Get a credential
enhancements_list_field_mapping

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

List Kubernetes Clusters
credentials_list

List credentials
enhancements_patch_table_deduplication

Update some attributes of this Table Deduplication Enhancement
databases_list_tables

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

Remove a Geocode Enhancement from a project
databases_list_tables_search

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

Create a CASS/NCOA Enhancement
enhancements_list_table_deduplication_runs

List runs for the given table_deduplication
enhancements_list_civis_data_match_projects

List the projects a Civis Data Match Enhancement belongs to
enhancements_delete_geocode_shares_groups

Revoke the permissions a group has on this object
endpoints_list

List API endpoints
download_civis

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

List runs for the given civis_data_match
enhancements_list

List Enhancements
enhancements_delete_geocode_runs

Cancel a run
enhancements_list_table_deduplication_runs_logs

Get the logs for a run
enhancements_list_cass_ncoa_projects

List the projects a CASS/NCOA Enhancement belongs to
enhancements_get_table_deduplication

Get a Table Deduplication Enhancement
enhancements_post_civis_data_match_clone

Clone this Civis Data Match Enhancement
enhancements_list_geocode_projects

List the projects a Geocode Enhancement belongs to
enhancements_list_types

List available enhancement types
enhancements_list_table_deduplication_runs_outputs

List the outputs for a run
enhancements_list_geocode_shares

List users and groups permissioned on this object
enhancements_list_cass_ncoa_runs

List runs for the given cass_ncoa
enhancements_get_table_deduplication_runs

Check status of a run
enhancements_list_cass_ncoa_runs_logs

Get the logs for a run
enhancements_list_geocode_runs_outputs

List the outputs for a run
enhancements_patch_cass_ncoa

Update some attributes of this CASS/NCOA Enhancement
enhancements_post_civis_data_match

Create a Civis Data Match Enhancement
enhancements_put_civis_data_match

Replace all attributes of this Civis Data Match Enhancement
enhancements_post_geocode_runs

Start a run
enhancements_post_geocode_cancel

Cancel a run
enhancements_put_civis_data_match_archive

Update the archive status of this object
feature_flags_delete_users

Deactivate a feature for a user
enhancements_put_geocode_archive

Update the archive status of this object
feature_flags_get

Show a feature flag
enhancements_put_geocode

Replace all attributes of this Geocode Enhancement
enhancements_patch_civis_data_match

Update some attributes of this Civis Data Match Enhancement
enhancements_post_civis_data_match_cancel

Cancel a run
enhancements_post_cass_ncoa_cancel

Cancel a run
enhancements_post_civis_data_match_runs

Start a run
enhancements_put_cass_ncoa_shares_groups

Set the permissions groups has on this object
enhancements_put_cass_ncoa_archive

Update the archive status of this object
enhancements_get_cass_ncoa_runs

Check status of a run
default_credential

The current user's default credential.
enhancements_get_cass_ncoa

Get a CASS/NCOA Enhancement
databases_post_whitelist_ips

Whitelist an IP address
enhancements_get_geocode

Get a Geocode Enhancement
enhancements_post_cass_ncoa_runs

Start a run
enhancements_put_cass_ncoa_shares_users

Set the permissions users have on this object
enhancements_put_geocode_projects

Add a Geocode Enhancement to a project
enhancements_put_geocode_shares_groups

Set the permissions groups has on this object
files_delete_preprocess_csv

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

Fetches and generates the client in generated_client.R
enhancements_patch_geocode

Update some attributes of this Geocode Enhancement
enhancements_patch_data_unification

Update some attributes of this Data Unification Enhancement
enhancements_get_geocode_runs

Check status of a run
enhancements_list_data_unification_runs

List runs for the given data_unification
enhancements_post_data_unification_runs

Start a run
enhancements_list_geocode_runs_logs

Get the logs for a run
enhancements_list_civis_data_match_shares

List users and groups permissioned on this object
enhancements_list_geocode_runs

List runs for the given geocode
enhancements_post_geocode

Create a Geocode Enhancement
enhancements_post_table_deduplication_runs

Start a run
files_list_projects

List the projects a File belongs to
fetch_until

Retrieve some results from a paginated endpoint
fetch_predictions

Retrieve predictions from a CivisML prediction job
enhancements_put_civis_data_match_shares_users

Set the permissions users have on this object
exports_list

List
fetch_logs

Fetch job logs from the Civis Platform
enhancements_put_cass_ncoa

Replace all attributes of this CASS/NCOA Enhancement
files_delete_projects

Remove a File from a project
files_list_shares

List users and groups permissioned on this object
enhancements_put_data_unification

Replace all attributes of this Data Unification Enhancement
enhancements_put_cass_ncoa_projects

Add a CASS/NCOA Enhancement to a project
enhancements_put_table_deduplication

Replace all attributes of this Table Deduplication Enhancement
enhancements_put_geocode_shares_users

Set the permissions users have on this object
feature_flags_list

List feature flags
feature_flags_put_groups

Activate a feature for a group
enhancements_post_data_unification

Create a Data Unification Enhancement
files_get

Get details about a file
files_put_shares_groups

Set the permissions groups has on this object
files_post_preprocess_csv

Create a Preprocess CSV
files_put_shares_users

Set the permissions users have on this object
files_delete_shares_groups

Revoke the permissions a group has on this object
feature_flags_delete_groups

Deactivate a feature for a group
files_put_preprocess_csv_archive

Update the archive status of this object
files_delete_shares_users

Revoke the permissions a user has on this object
files_get_preprocess_csv

Get a Preprocess CSV
files_patch_preprocess_csv

Update some attributes of this Preprocess CSV
files_post

Initiate an upload of a file into the platform
git_repos_get

Get a bookmarked git repository
enhancements_post_data_unification_cancel

Cancel a run
files_put_preprocess_csv

Replace all attributes of this Preprocess CSV
enhancements_post_table_deduplication

Create a Table Deduplication Enhancement
generate_client

Generate a client
get_error

Get error data from civis_errors
get_database_id

Return the database id for a given database name
groups_delete_shares_users

Revoke the permissions a user has on this object
get_table_id

Return the table id for a given table
get_template_ids_all_versions

Get template IDs for all accessible CivisML versions.
git_repos_list

List bookmarked git repositories
groups_patch

Update some attributes of this Group
get_feature_importance

Get model feature importance
files_put_projects

Add a File to a project
git_repos_post

Bookmark a git repository
get_job_type_version

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

Replace all attributes of this Group
get_train_template_id

Get training template IDs for the specified CivisML version
git_repos_delete

Remove the bookmark on a git repository
groups_put_members

Add a user to a group
groups_put_shares_groups

Set the permissions groups has on this object
groups_delete

Delete a Group (deprecated)
imports_get

Get details about an import
get_metric

Get model metrics
imports_delete_syncs

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

Create a Group
feature_flags_put_users

Activate a feature for a user
fetch_oos_scores

Retrieve out of sample/fold predictions
imports_get_batches

Get details about a batch import
imports_get_files_csv

Get a CSV Import
groups_get

Get a Group
enhancements_put_civis_data_match_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
fetch_all

Retrieve all results from a paginated endpoint
enhancements_post_table_deduplication_cancel

Cancel a run
fetch_output_file_ids

Return output from a civis_script.
files_post_multipart_complete

Complete a multipart upload
files_post_multipart

Initiate a multipart upload
imports_list_files_runs

List runs for the given import
imports_list_batches

List batch imports
imports_post_runs

Run an import
groups_put_shares_users

Set the permissions users have on this object
imports_post_syncs

Create a sync
get_status

Get the status from results of await
groups_delete_members

Remove a user from a group
get_script_fun

Get a script function matching a job type.
groups_delete_shares_groups

Revoke the permissions a group has on this object
imports_put_files_csv

Replace all attributes of this CSV Import
imports_list_runs

Get the run history of this import
imports_list_projects

List the projects an Import belongs to
imports_list_files_runs_logs

Get the logs for a run
imports_put_files_csv_archive

Update the archive status of this object
imports_list_runs_logs

Get the logs for a run
groups_list

List Groups
imports_delete_shares_groups

Revoke the permissions a group has on this object
imports_delete_shares_users

Revoke the permissions a user has on this object
jobs_list_children

Show nested tree of children that this job triggers
groups_list_shares

List users and groups permissioned on this object
imports_post_files_csv

Create a CSV Import
imports_delete_files_runs

Cancel a run
hist.civis_ml

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

Remove an Import from a project
imports_post

Create a new import configuration
imports_post_batches

Upload multiple files to Civis
jobs_list_parents

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

Update a sync
imports_list

List Imports
imports_put_archive

Update the archive status of this object
jobs_get

Show basic job info
imports_put

Update an import
imports_put_shares_users

Set the permissions users have on this object
imports_get_files_runs

Check status of a run
jobs_delete_shares_users

Revoke the permissions a user has on this object
jobs_delete_runs

Cancel a run
jobs_list_shares

List users and groups permissioned on this object
jobs_list_workflows

List the workflows a job belongs to
imports_patch_files_csv

Update some attributes of this CSV Import
imports_post_files

Initate an import of a tabular file into the platform
jobs_put_shares_groups

Set the permissions groups has on this object
imports_delete_files_csv

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

Remove a Job from a project
imports_put_syncs_archive

Update the archive status of this sync
imports_post_cancel

Cancel a run
imports_list_shares

List users and groups permissioned on this object
jobs_list_runs_logs

Get the logs for a run
jobs_delete_shares_groups

Revoke the permissions a group has on this object
jobs_put_shares_users

Set the permissions users have on this object
match_targets_post

Create a new match target
json_values_get

Get details about a JSON Value
json_values_list_shares

List users and groups permissioned on this object
jobs_get_runs

Check status of a job
jobs_list

List Jobs
media_delete_spot_orders_shares_users

Revoke the permissions a user has on this object
match_targets_put_archive

Update the archive status of this object
imports_post_files_runs

Start a run
imports_put_projects

Add an Import to a project
imports_put_shares_groups

Set the permissions groups has on this object
match_targets_delete_shares_groups

Revoke the permissions a group has on this object
jobs_list_runs_outputs

List the outputs for a run
jobs_list_projects

List the projects a Job belongs to
media_delete_optimizations_runs

Cancel a run
media_get_optimizations

Show a single optimization
jobs_post_runs

Run a job
json_values_delete_shares_groups

Revoke the permissions a group has on this object
media_list_spot_orders

List all spot orders
match_targets_delete_shares_users

Revoke the permissions a user has on this object
media_list_spot_orders_shares

List users and groups permissioned on this object
jobs_post_trigger_email

Generate and retrieve trigger email address
json_values_patch

Update some attributes of this JSON Value
jobs_put_archive

Update the archive status of this object
json_values_delete_shares_users

Revoke the permissions a user has on this object
match_targets_get

Show Match Target info
jobs_put_projects

Add a Job to a project
jobs_list_runs

List runs for the given job
media_post_optimizations_clone

Clone an existing optimization
media_delete_optimizations_shares_users

Revoke the permissions a user has on this object
match_targets_list_shares

List users and groups permissioned on this object
match_targets_list

List match targets
json_values_put_shares_groups

Set the permissions groups has on this object
json_values_post

Create a JSON Value
json_values_put_shares_users

Set the permissions users have on this object
media_patch_ratecards

Update some attributes of this Ratecard
media_get_optimizations_runs

Check status of a run
media_get_ratecards

Get a Ratecard
media_delete_optimizations_shares_groups

Revoke the permissions a group has on this object
match_targets_patch

Update a match target
media_post_optimizations

Create a new optimization
media_list_optimizations

List all optimizations
media_list_optimizations_runs

List runs for the given optimization
media_delete_ratecards_shares_groups

Revoke the permissions a group has on this object
media_post_optimizations_runs

Start a run
media_put_ratecards_archive

Update the archive status of this object
models_get

Retrieve model configuration
media_put_ratecards_shares_groups

Set the permissions groups has on this object
models_delete_shares_users

Revoke the permissions a user has on this object
media_list_optimizations_runs_logs

Get the logs for a run
media_list_optimizations_shares

List users and groups permissioned on this object
match_targets_put_shares_users

Set the permissions users have on this object
match_targets_put_shares_groups

Set the permissions groups has on this object
media_delete_ratecards_shares_users

Revoke the permissions a user has on this object
media_delete_spot_orders_shares_groups

Revoke the permissions a group has on this object
media_list_ratecards

List all ratecards
media_put_optimizations_archive

Update the archive status of this object
media_list_targets

List all Media Targets
media_post_ratecards

Create a Ratecard
media_patch_optimizations

Edit an existing optimization
media_list_ratecards_shares

List users and groups permissioned on this object
media_list_dmas

List all Designated Market Areas
media_put_spot_orders_archive

Update the archive status of this object
media_post_spot_orders

Create a spot order
media_put_optimizations_shares_groups

Set the permissions groups has on this object
media_get_spot_orders

Show a single spot order
media_put_optimizations_shares_users

Set the permissions users have on this object
media_put_ratecards

Replace all attributes of this Ratecard
models_delete_projects

Remove a Model from a project
models_list_projects

List the projects a Model belongs to
models_get_builds

Check status of a build
media_put_spot_orders_shares_groups

Set the permissions groups has on this object
models_list_schedules

Show the model build schedule
media_put_ratecards_shares_users

Set the permissions users have on this object
models_patch

Update model configuration
media_put_spot_orders

Edit the specified spot order
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
models_list_types

List all available model types
models_delete_builds

Cancel a build
models_post

Create new configuration for a model
models_delete_shares_groups

Revoke the permissions a group has on this object
models_put_shares_users

Set the permissions users have on this object
models_list

List
multipart_upload

Upload to files endpoint in parts.
models_post_builds

Start a build
predictions_put_schedules

Schedule the prediction
predictions_delete_runs

Cancel a run
notebooks_list_deployments

List deployments for a Notebook
notebooks_post_clone

Clone this Notebook
notebooks_post_deployments

Deploy a Notebook
models_put_archive

Update the archive status of this object
notebooks_list

List Notebooks
plot.civis_ml_regressor

Y-yhat plot for regression with civis_ml
models_put_schedules

Schedule the model build
models_put_predictions

Add a table on which to apply the predictive model
notebooks_list_shares

List users and groups permissioned on this object
predictions_patch

Update a prediction
notebooks_put_archive

Update the archive status of this object
notebooks_get_deployments

Get details about a Notebook deployment
models_put_projects

Add a Model to a project
predictions_post_runs

Start a run
notebooks_get_git_commits

Get file contents at commit_hash
notebooks_put_git

Attach an item to a file in a git repo
notebooks_list_update_links

Get URLs to update notebook
models_list_builds

List builds for the given model
notebooks_list_git

Get the git metadata attached to an item
print.civis_api

Print results from a Civis API call
notebooks_list_deployments_logs

Get the logs for a Notebook deployment
models_list_builds_logs

Get the logs for a build
notebooks_delete_deployments

Delete a Notebook deployment
notebooks_delete

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

Create a project
projects_delete

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

Remove an item from a Parent Project
notebooks_patch

Update some attributes of this Notebook
notebooks_post

Create a Notebook
projects_put

Update a project
notebooks_put_shares_users

Set the permissions users have on this object
notifications_list

Receive a stream of notifications as they come in
predictions_get

Show the specified prediction
predictions_get_runs

Check status of a run
remote_hosts_list

List the remote hosts
queries_post

Execute a query
projects_list_shares

List users and groups permissioned on this object
queries_list_runs_logs

Get the logs for a run
projects_put_shares_users

Set the permissions users have on this object
publish_rmd

Publish an R Markdown file to Platform Reports
projects_list_parent_projects

List the Parent Projects an item belongs to
projects_put_shares_groups

Set the permissions groups has on this object
projects_put_archive

Update the archive status of this object
projects_put_parent_projects

Add an item to a Parent Project
queries_list

List
models_put_shares_groups

Set the permissions groups has on this object
scripts_put_r_git

Attach an item to a file in a git repo
queries_list_runs

List runs for the given query
reports_list

List Reports
notebooks_delete_projects

Remove a Notebook from a project
notebooks_post_git_commits

Commit and push a new version of the file
notebooks_delete_shares_groups

Revoke the permissions a group has on this object
notebooks_put

Replace all attributes of this Notebook
notebooks_put_projects

Add a Notebook to a project
predictions_list_runs_logs

Get the logs for a run
predictions_list_schedules

Show the prediction schedule
projects_delete_shares_groups

Revoke the permissions a group has on this object
notebooks_put_shares_groups

Set the permissions groups has on this object
notebooks_delete_shares_users

Revoke the permissions a user has on this object
notebooks_get

Get a Notebook
reports_delete_services_shares_users

Revoke the permissions a user has on this object
notebooks_list_projects

List the projects a Notebook belongs to
projects_list

List projects
predictions_list_runs

List runs for the given prediction
predictions_list

List predictions
projects_get

Get a detailed view of a project and the objects in it
plot.civis_ml_classifier

Decile plot for classification with civis_ml
ontology_list

List the ontology of column names Civis uses
notebooks_list_git_commits

Get the git commits for an item
queries_delete_runs

Cancel a run
reports_get_git_commits

Get file contents at commit_hash
run_civis

Evaluate an R expression in a Civis Platform container
queries_get

Get details about a query
reports_post

Create a report
reports_delete_shares_groups

Revoke the permissions a group has on this object
reports_patch_services

Update some attributes of this service report
scripts_list_javascript_runs_outputs

List the outputs for a run
scripts_get_sql_git_commits

Get file contents at commit_hash
reports_list_git

Get the git metadata attached to an item
projects_delete_shares_users

Revoke the permissions a user has on this object
remote_hosts_post

Create a new remote host
run_template

Run a template script
queries_get_runs

Check status of a run
reports_delete_projects

Remove a Report from a project
publish_html

Publish HTML to Platform Reports
reports_put_projects

Add a Report to a project
queries_post_runs

Start a run
queries_put_scripts

Update the query's associated script
publish_addin

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

Read tables and files from Civis Platform
query_civis_file

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

Remove a Service Report from a project
query_civis

Run a Query on Platform
scripts_list_containers_shares

List users and groups permissioned on this object
scripts_get_javascript_git_commits

Get file contents at commit_hash
remote_hosts_post_authenticate

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

List the projects a Service Report belongs to
scripts_delete_javascript_projects

Remove a JavaScript Script from a project
scripts_delete_python3_shares_groups

Revoke the permissions a group has on this object
reports_delete_services_shares_groups

Revoke the permissions a group has on this object
refresh_table

Refresh a table
reports_post_services

Create a service report
reports_delete_grants

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

Revoke the permissions a user has on this object
remote_hosts_list_data_sets

List data sets available from a remote host
saml_service_providers_delete_shares_users

Revoke the permissions a user has on this object
scripts_list_r_shares

List users and groups permissioned on this object
scripts_delete_r_runs

Cancel a run
reports_put_services_shares_groups

Set the permissions groups has on this object
scripts_delete_r

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

Get the git commits for an item
reports_put_archive

Update the archive status of this object
reports_put_git

Attach an item to a file in a git repo
scripts_delete_javascript_runs

Cancel a run
saml_service_providers_list_shares

List users and groups permissioned on this object
scripts_get

Get details about a script
reports_list_projects

List the projects a Report belongs to
saml_service_providers_put_shares_users

Set the permissions users have on this object
reports_post_grants

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

List users and groups permissioned on this object
reports_list_shares

List users and groups permissioned on this object
reports_get_services

Show a single service report
reports_patch

Update a report
reports_post_git_commits

Commit and push a new version of the file
scripts_get_r_git_commits

Get file contents at commit_hash
reports_get

Show a single report
reports_put_services_projects

Add a Service Report to a project
scripts_list_python3_git_commits

Get the git commits for an item
scripts_delete

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

Remove a Python Script from a project
scripts_delete_javascript_shares_groups

Revoke the permissions a group has on this object
scripts_delete_custom_projects

Remove a Custom Script from a project
tables_post_enhancements_table_matchings

Match person records against an arbitrary Redshift table
scripts_delete_python3_runs

Cancel a run
scripts_list_containers_runs

List runs for the given container
scripts_get_r

Get an R Script
scripts_list_javascript_runs

List runs for the given javascript
saml_service_providers_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
scripts_delete_containers_projects

Remove a Container Script from a project
scripts_delete_custom_shares_users

Revoke the permissions a user has on this object
scripts_list_python3_runs_outputs

List the outputs for a run
scripts_delete_containers

Archive a container (deprecated, use archive endpoints)
scripts_list_python3_projects

List the projects a Python Script belongs to
scripts_list_sql_git_commits

Get the git commits for an item
scripts_put_javascript

Replace all attributes of this JavaScript Script
scripts_get_custom_runs

Check status of a run
scripts_delete_javascript_shares_users

Revoke the permissions a user has on this object
saml_service_providers_put_shares_groups

Set the permissions groups has on this object
scripts_delete_python3_shares_users

Revoke the permissions a user has on this object
scripts_delete_python3

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

Create a JavaScript Script
scripts_get_sql

Get a SQL script
scripts_get_javascript

Get a JavaScript Script
scripts_get_sql_runs

Check status of a run
scripts_list

List Scripts
scripts_list_python3_git

Get the git metadata attached to an item
scripts_list_javascript_runs_logs

Get the logs for a run
scripts_get_containers_runs

Check status of a run
scripts_delete_r_projects

Remove an R Script from a project
reports_post_refresh

Refresh the data in this Tableau report
scripts_delete_custom_runs

Cancel a run
scripts_post_custom_runs_outputs

Add an output for a run
reports_put_shares_groups

Set the permissions groups has on this object
reports_put_shares_users

Set the permissions users have on this object
scripts_get_containers

View a container
scripts_list_sql_runs

List runs for the given sql
scripts_list_custom_runs_logs

Get the logs for a run
scripts_delete_containers_shares_users

Revoke the permissions a user has on this object
scripts_list_custom_shares

List users and groups permissioned on this object
scripts_get_python3_runs

Check status of a run
scripts_list_javascript_git

Get the git metadata attached to an item
scripts_get_custom

Get a Custom Script
scripts_get_r_runs

Check status of a run
scripts_list_containers_projects

List the projects a Container Script belongs to
scripts_patch_containers

Update a container
scripts_list_r_runs_outputs

List the outputs for a run
scripts_delete_custom

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

Remove a SQL script from a project
scripts_list_javascript_shares

List users and groups permissioned on this object
scripts_list_python3_runs

List runs for the given python
scripts_delete_containers_runs

Cancel a run
scripts_get_python3

Get a Python Script
scripts_post_javascript_clone

Clone this JavaScript Script
scripts_list_r_runs_logs

Get the logs for a run
scripts_put_r

Replace all attributes of this R Script
scripts_list_javascript_git_commits

Get the git commits for an item
scripts_list_custom_projects

List the projects a Custom Script belongs to
scripts_list_custom_runs

List runs for the given custom
scripts_patch_custom

Update some attributes of this Custom Script
reports_put_services_shares_users

Set the permissions users have on this object
templates_list_reports

List Report Templates
scripts_list_history

Get the run history and outputs of this script
scripts_delete_r_shares_groups

Revoke the permissions a group has on this object
scripts_patch

Update a script
scripts_post_containers_runs_logs

Add log messages
scripts_list_python3_shares

List users and groups permissioned on this object
scripts_post_custom_clone

Clone this Custom Script
scripts_delete_javascript

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

Get the git metadata attached to an item
scripts_get_python3_git_commits

Get file contents at commit_hash
scripts_delete_sql_runs

Cancel a run
scripts_delete_containers_shares_groups

Revoke the permissions a group has on this object
scripts_post_containers

Create a container
scripts_list_containers_runs_outputs

List the outputs for a run
scripts_list_types

List available script types
scripts_post_python3_clone

Clone this Python Script
scripts_post_containers_runs

Start a run
scripts_post_python3_runs_outputs

Add an output for a run
scripts_list_containers_runs_logs

Get the logs for a run
scripts_list_sql_runs_outputs

List the outputs for a run
scripts_put_python3_shares_users

Set the permissions users have on this object
storage_hosts_list

List the storage hosts
scripts_list_custom_runs_outputs

List the outputs for a run
scripts_list_sql_runs_logs

Get the logs for a run
scripts_post

Create a script
storage_hosts_get

Get a storage host
scripts_list_sql_projects

List the projects a SQL script belongs to
scripts_put_javascript_projects

Add a JavaScript Script to a project
scripts_post_cancel

Cancel a run
scripts_list_sql_shares

List users and groups permissioned on this object
scripts_post_python3

Create a Python Script
scripts_post_r_runs

Start a run
scripts_post_sql

Create a SQL script
scripts_post_r

Create an R Script
scripts_put_custom_projects

Add a Custom Script to a project
scripts_post_run

Run a script
scripts_post_javascript_git_commits

Commit and push a new version of the file
scripts_list_python3_runs_logs

Get the logs for a run
scripts_patch_javascript

Update some attributes of this JavaScript Script
scripts_put_javascript_shares_groups

Set the permissions groups has on this object
scripts_delete_sql_shares_users

Revoke the permissions a user has on this object
scripts_put_custom

Replace all attributes of this Custom Script
scripts_post_python3_git_commits

Commit and push a new version of the file
scripts_put_custom_shares_groups

Set the permissions groups has on this object
scripts_put_python3

Replace all attributes of this Python Script
services_delete_shares_groups

Revoke the permissions a group has on this object
scripts_put_javascript_shares_users

Set the permissions users have on this object
scripts_post_r_runs_outputs

Add an output for a run
scripts_delete_sql_shares_groups

Revoke the permissions a group has on this object
scripts_post_custom_runs

Start a run
scripts_post_sql_runs

Start a run
tables_list

List tables
scripts_post_python3_runs

Start a run
templates_list_reports_shares

List users and groups permissioned on this object
scripts_put_custom_archive

Update the archive status of this object
services_list_deployments

List deployments for a Service
scripts_put_r_archive

Update the archive status of this object
scripts_delete_r_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
scripts_put_sql_shares_users

Set the permissions users have on this object
search_list

Perform a search
scripts_put_custom_shares_users

Set the permissions users have on this object
services_get_deployments

Get details about a Service deployment
scripts_put_containers

Edit a container
services_put_projects

Add a Service to a project
search_list_types

List available search types
scripts_put_r_shares_users

Set the permissions users have on this object
tables_put_projects

Add a Table to a project
services_list

List Services
services_put_shares_groups

Set the permissions groups has on this object
services_post_deployments

Deploy a Service
services_post_redeploy

Redeploy a Service
templates_post_scripts_review

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

Replace all attributes of this SQL script
tables_post_enhancements_cass_ncoa

Standardize addresses in a table
services_put_shares_users

Set the permissions users have on this object
scripts_delete_sql

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

Set the permissions users have on this object
users_post_me_favorites

Favorite an item
tables_delete_projects

Remove a Table from a project
services_put_archive

Update the archive status of this object
write_civis_file

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

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

Get the logs for a Service deployment
scripts_put_sql_archive

Update the archive status of this object
storage_hosts_delete_shares_users

Revoke the permissions a user has on this object
scripts_list_r_projects

List the projects an R Script belongs to
services_list_tokens

List tokens
scripts_get_javascript_runs

Check status of a run
scripts_put_sql_git

Attach an item to a file in a git repo
write_job_output

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

Replace all attributes of this Report Template
templates_delete_reports

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

Geocode a table
users_list_me_favorites

List Favorites
users_list_me_ui

UI configuration for logged-in user
tables_get_enhancements_geocodings

View the status of a geocoding table enhancement
with_tempfile

Call a function with a temporary file.
tables_get_enhancements_table_matchings

View a table matching enhancement
scripts_list_javascript_projects

List the projects a JavaScript Script belongs to
templates_delete_scripts_shares_groups

Revoke the permissions a group has on this object
scripts_patch_python3

Update some attributes of this Python Script
workflows_patch

Update some attributes of this Workflow
workflows_post_executions_retry

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

Update the archive status of this object
workflows_post_executions_resume

Resume a paused workflow execution
workflows_list_shares

List users and groups permissioned on this object
scripts_post_containers_clone

Clone this Container Script
scripts_put_containers_shares_groups

Set the permissions groups has on this object
services_list_projects

List the projects a Service belongs to
services_patch

Update some attributes of this Service
templates_delete_reports_shares_groups

Revoke the permissions a group has on this object
scripts_put_python3_projects

Add a Python Script to a project
templates_put_scripts

Replace all attributes of this Script Template
tables_get_enhancements_prepared_matchings

View a prepared matching enhancement
templates_put_scripts_projects

Add a Script Template to a project
services_delete_shares_users

Revoke the permissions a user has on this object
scripts_post_r_git_commits

Commit and push a new version of the file
scripts_put_containers_projects

Add a Container Script to a project
services_put

Replace all attributes of this Service
scripts_post_r_clone

Clone this R Script
scripts_patch_r

Update some attributes of this R Script
scripts_list_custom

List Custom Scripts
tables_post_enhancements_prepared_matchings

Match person records against a dynamo table prepared by Civis
templates_patch_scripts

Update some attributes of this Script Template
scripts_put_javascript_archive

Update the archive status of this object
users_get_api_keys

Show the specified API key
scripts_list_r_git

Get the git metadata attached to an item
templates_post_reports

Create a Report Template
templates_delete_reports_shares_users

Revoke the permissions a user has on this object
scripts_list_r_git_commits

Get the git commits for an item
scripts_put_sql_projects

Add a SQL script to a project
scripts_put_javascript_git

Attach an item to a file in a git repo
scripts_put_python3_shares_groups

Set the permissions groups has on this object
scripts_post_sql_clone

Clone this SQL script
scripts_patch_sql

Update some attributes of this SQL script
workflows_delete_projects

Remove a Workflow from a project
scripts_list_r_runs

List runs for the given r
scripts_put_r_projects

Add an R Script to a project
scripts_put_python3_archive

Update the archive status of this object
templates_put_scripts_shares_users

Set the permissions users have on this object
tables_get

Show basic table info
storage_hosts_list_shares

List users and groups permissioned on this object
templates_list_scripts_projects

List the projects a Script Template belongs to
stash_local_dataframe

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

Create a new long-lived service token
templates_delete_scripts

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

Execute a workflow
templates_delete_scripts_projects

Remove a Script Template from a project
scripts_put_sql_shares_groups

Set the permissions groups has on this object
services_list_shares

List users and groups permissioned on this object
scripts_post_javascript_runs

Start a run
workflows_delete_shares_groups

Revoke the permissions a group has on this object
templates_list_scripts

List Script Templates
sql

SQL escaping
workflows_delete_shares_users

Revoke the permissions a user has on this object
users_delete_me_favorites

Unfavorite an item
workflows_get_git_commits

Get file contents at commit_hash
templates_put_scripts_shares_groups

Set the permissions groups has on this object
storage_hosts_put_shares_groups

Set the permissions groups has on this object
storage_hosts_put

Replace all attributes of this storage host
templates_delete_scripts_shares_users

Revoke the permissions a user has on this object
users_get

Show info about a user
workflows_post_executions_cancel

Cancel a workflow execution
workflows_list

List Workflows
workflows_get

Get a Workflow
scripts_post_containers_runs_outputs

Add an output for a run
tables_patch

Update a table
workflows_put_archive

Update the archive status of this object
workflows_get_executions

Get a workflow execution
workflows_get_executions_tasks

Get a task of a workflow execution
users_list

List users
write_civis

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

Attach an item to a file in a git repo
scripts_post_custom

Create a Custom Script
templates_post_scripts

Create a Script Template
services_post_clone

Clone this Service
templates_post_reports_review

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

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

Add an output for a run
scripts_put_containers_shares_users

Set the permissions users have on this object
scripts_post_sql_git_commits

Commit and push a new version of the file
services_delete_projects

Remove a Service from a project
workflows_post

Create a Workflow
users_list_api_keys

Show API keys belonging to the specified user
storage_hosts_delete

Delete a storage host (deprecated)
scripts_put_python3_git

Attach an item to a file in a git repo
scripts_put_r_shares_groups

Set the permissions groups has on this object
tables_list_projects

List the projects a Table belongs to
services_delete_deployments

Delete a Service deployment
storage_hosts_post

Create a new storage host
services_delete_tokens

Revoke a token by id
templates_list_scripts_shares

List users and groups permissioned on this object
workflows_list_git

Get the git metadata attached to an item
templates_patch_reports

Update some attributes of this Report Template
services_post

Create a Service
users_patch_me

Update info about the logged-in user
users_patch

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

Show info about the logged-in user
services_get

Get a Service
storage_hosts_patch

Update some attributes of this storage host
templates_get_reports

Get a Report Template
workflows_post_git_commits

Commit and push a new version of the file
workflows_put_shares_users

Set the permissions users have on this object
workflows_post_clone

Clone this Workflow
workflows_list_executions

List workflow executions
write_chunks

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

Set the permissions groups has on this object
tables_post_scan

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

List columns in the specified table
storage_hosts_delete_shares_groups

Revoke the permissions a group has on this object
tables_post_refresh

Request a refresh for column and table statistics
transfer_table

Transfer a table from one location to another.
templates_get_scripts

Get a Script Template
users_delete_api_keys

Revoke the specified API key
templates_put_reports_shares_users

Set the permissions users have on this object
workflows_list_git_commits

Get the git commits for an item
workflows_put_projects

Add a Workflow to a project
users_post

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

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

Replace all attributes of this Workflow
workflows_list_projects

List the projects a Workflow belongs to
workflows_put_shares_groups

Set the permissions groups has on this object