# Activities

> Activities included in the Databricks connector.

The following tables list the activities included in this package, grouped by the Databricks area they automate.

## SQL

| Activity | Description |
| --- | --- |
| [Execute a SQL Query](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-execute-sql-query) | Run a SQL statement on a Databricks SQL warehouse. |
| [Get SQL Statement Result](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-get-sql-statement-result) | Fetch the status and rows of a previously submitted Databricks SQL statement by statement_id. |

## Jobs and runs

| Activity | Description |
| --- | --- |
| [Create a Job](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-create-job) | Create a persisted Databricks job. |
| [Delete a Job](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-delete-job) | Permanently delete a Databricks job by job_id. |
| [Cancel a Job Run](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-cancel-job-run) | Cancel a running Databricks job run by run_id. |
| [Run a Job Now](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-run-job-now) | Trigger an existing Databricks job by job_id and return the new run_id. |
| [Run a Notebook](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-run-notebook) | Submit a one-time Databricks job run that executes a notebook. |
| [Get a Job](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-get-job) | Retrieve a single Databricks job definition by job_id, including its tasks and schedule. |
| [List Jobs](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-list-jobs) | List the jobs defined in the Databricks workspace, each with its job_id, name, tasks and schedule. |
| [Get a Job Run](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-get-job-run) | Retrieve the status of a Databricks job run by run_id. |
| [Get a Job Run Output](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-get-job-run-output) | Fetch the output of a completed Databricks job run: the value passed to dbutils.notebook.exit(), the last 5 MB of driver logs, and any error message. |
| [List Job Runs](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-list-job-runs) | List Databricks job runs with their run_id and state. |

## Notebooks and workspace

| Activity | Description |
| --- | --- |
| [Import a Notebook](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-import-notebook) | Import base64-encoded content into the Databricks workspace as a notebook at the given path. |
| [Export a Notebook](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-export-notebook) | Export a Databricks notebook as base64-encoded content in SOURCE, HTML, JUPYTER, DBC or R_MARKDOWN format. |
| [List a Workspace Folder](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-list-workspace-folder) | List the notebooks, folders and files under a Databricks workspace path such as /Users/me or /Shared. |
| [Get Workspace Object Status](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-get-workspace-object-status) | Retrieve the type, language and object id of a single Databricks workspace object by path. |

## Unity Catalog

| Activity | Description |
| --- | --- |
| [Delete a Catalog](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-delete-catalog) | Delete a Unity Catalog catalog by name. |
| [List Catalogs](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-list-catalogs) | List the Unity Catalog catalogs in the Databricks workspace, each with its name, comment, owner and storage root. |

## Volume files

| Activity | Description |
| --- | --- |
| [Delete a Directory](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-delete-directory) | Delete a Directory from a Databricks Unity Catalog volume. |
| [Delete a File](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-delete-file) | Delete a single file from a Databricks Unity Catalog volume. |
| [List a Directory](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-list-directory) | List the files and subdirectories under a Databricks Unity Catalog volume path. |
| [Download a File](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-download-file) | Read the contents of a file stored on a Databricks Unity Catalog volume. |
| [Get File Info](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-get-file-info) | Retrieve the metadata of a single file in a Databricks Unity Catalog volume, without downloading its contents. |
| [Create a Directory](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-create-directory) | Create a Directory on a Databricks Unity Catalog volume. |
| [Upload a File](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-upload-file) | Write a file to a Databricks Unity Catalog volume. |

## Genie

| Activity | Description |
| --- | --- |
| [Start a Conversation](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-start-conversation) | Ask a natural-language question to open a new Genie conversation. |
| [Execute a Message SQL Query](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-execute-message-sql-query) | Run the SQL that Genie generated for a message and return the result set under statement_response. |
| [Create a Conversation Message](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-create-conversation-message) | Send a follow-up question to an existing Genie conversation. |
| [Get a Conversation Message](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-get-conversation-message) | Retrieve a Databricks Genie message by space_id, conversation_id and message_id. |
| [Get Genie Query Results](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-get-genie-query-results) | Fetch the result set of a Databricks Genie message's SQL query. |
| [List Genie Spaces](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-list-genie-spaces) | List the Databricks Genie spaces available to the connection, each with its space_id, title and description. |
| [Get a Genie Space](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-get-genie-space) | Retrieve one Genie space by space_id, including its title, description and the SQL warehouse it queries. |

## Vector Search

| Activity | Description |
| --- | --- |
| [Create a Vector Search Index](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-create-vector-search-index) | Create a Vector Search index. |
| [Query a Vector Search Index](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-query-vector-search-index) | Run a similarity search against a Databricks Vector Search index and return the matching rows. |
| [List Vector Search Indexes](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-list-vector-search-indexes) | List the Vector Search indexes on a Databricks Vector Search endpoint. |
| [Get a Vector Search Index](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-get-vector-search-index) | Retrieve one Vector Search index by its three-level name, including index_type, primary_key and sync status. |

## Records

| Activity | Description |
| --- | --- |
| [Delete Record](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-delete-record) | Delete a record in Databricks. |
| [Get Record](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-get-record) | Retrieve a specific record from Databricks. |
| [Insert Record](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-insert-record) | Insert a new record into Databricks. |
| [List Records](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-list-records) | Retrieve and list records from Databricks. |
| [Update Record](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-update-record) | Update a record in Databricks. |

## HTTP Request

| Activity | Description |
| --- | --- |
| [Databricks HTTP Request](https://docs.uipath.com/activities/other/latest/integration-service/uipath-databricks-http-http-request) | Perform HTTP requests to interact with Databricks using existing connector and connection configuration. |
