Your AI team, working in Hex

Hex is a collaborative data workspace that combines SQL, Python, and R notebooks for analytics and data science

Start your company

What your team can do in Hex

32 tools to work with, connected with an API key.

Cancel Run

Tool to cancel a project run that is in progress. Use when you need to stop a currently executing Hex project run before it completes.

Create Cell

Tool to create a new cell in the draft version of a Hex project. Use when adding CODE or SQL cells to a project. Only CODE and SQL cell types are supported. Requires EDIT_PROJECT_CONTENTS permission.

Create Collection

Tool to create a new collection in the Hex workspace. Use when you need to organize projects and resources into a collection.

Create Group

Tool to create a new group in the Hex workspace. Use when you need to organize users into groups for collaboration and access control.

Deactivate User

Deactivate a Hex workspace user by ID. If the workspace uses Directory Sync, users are managed there rather than through the API.

Delete Cell

Permanently delete a cell from the draft version of a project. Requires EDIT_PROJECT_CONTENTS permission. Use when you need to remove a cell from a Hex project's draft.

Delete Group

Deletes a group from the Hex workspace. Use this when you need to permanently remove a group by its ID.

Delete Guide Draft

Deletes a guide draft by ID from Hex. Use this when you need to permanently remove a draft guide.

Edit Collection

Edit a Hex collection's name or description and submit sharing settings for users, groups, or the workspace. Use this to update collection metadata or request changes to its sharing configuration.

Edit Group

Edit a Hex group's name or add and remove users. If the workspace uses Directory Sync, groups are managed there rather than through the API.

Edit Project Sharing Collections

Tool to add a project to collections or remove it from collections. Use when you need to update project sharing by adding or modifying collection access. Workspace tokens need Collections -> Write access scope in addition to Projects -> Write access scope.

Edit Project Sharing Groups

Tool to edit project sharing settings for groups in Hex. Use when you need to add or modify group access to a project. Supports up to 25 groups per request.

Edit Project Sharing Settings

Edit a Hex project's workspace-member and public-web sharing settings. Both access levels must be supplied in each request.

Edit Project Sharing Users

Tool to edit project sharing settings for individual users in Hex. Add or modify user access to a project by specifying access levels (NONE, APP_ONLY, CAN_VIEW, CAN_EDIT, FULL_ACCESS). Use when you need to grant or update project permissions for specific users. Maximum 25 users per request.

Get CellReads only

Tool to get a single cell by ID from the draft version of a Hex project. Use when you need to retrieve cell details including source contents for CODE and SQL cells. Returns complete cell information including cell type, contents, and associated metadata.

Get collectionReads only

Tool to get information about a specific collection in Hex. Returns collection details including name, description, creator, and sharing settings. Use when you need to retrieve metadata about a collection by its ID.

Get GroupReads only

Tool to retrieve information about a specific Hex group. Use when you need to get details about a group including its ID, name, and creation date.

Get ProjectReads only

Tool to get metadata about a single Hex project. Use when you need to retrieve project details including title, description, creator, owner, status, categories, analytics, schedules, and sharing information.

Get Project RunsReads only

Retrieve a paginated list of API-triggered runs for a published Hex project, including execution status and timing. Runs can be filtered by status.

Get Run Chart ImageReads only

Tool to retrieve a rendered chart image from a Hex project run. Use when you need to get a visual representation of a chart cell from a completed run. Only supports chart-type cells that have executed successfully without errors. Rate limited to 20 requests per minute.

Get Run StatusReads only

Tool to retrieve the status of a specific Hex project run. Use when you need to check the current state, timing, or completion status of a project execution. Returns detailed information including start/end times, elapsed time, status, and notification details.

List CellsReads only

Tool to list all cells from the draft version of a Hex project. Use when you need to retrieve cells with source code for SQL and CODE cells. Returns paginated results with cell details including type, label, and contents.

List CollectionsReads only

Tool to retrieve all collections in the workspace with pagination support. Use when you need to list or discover available collections.

List Data ConnectionsReads only

List data connections in the Hex workspace with cursor-based pagination and sorting by name or creation date.

List groupsReads only

Tool to list all groups in the Hex workspace with pagination support. Use when you need to retrieve groups with optional sorting and pagination.

List Hex ProjectsReads only

Tool to list all viewable Hex projects with pagination and filtering support. Use when you need to retrieve projects sorted by creation date or filter by status, categories, creator, owner, or collection.

List UsersReads only

Tool to list all users in the Hex workspace with pagination support. Returns user details including names, emails, roles, and last login dates. Use when you need to retrieve users, filter by group, or paginate through large user lists.

Publish Guide Drafts

Tool to publish all currently drafted guides or specific guides by ID. Use when you need to make draft guides publicly available. Specify either publishAllDraftGuides=true or provide specific guide IDs.

Run Project

Tool to trigger a run of the latest published version of a Hex project. Use when you need to execute a project programmatically. Rate limited to 20 requests per minute and 60 requests per hour.

Update Cell

Tool to update a cell's source code and/or data connection in Hex. Use when you need to modify the contents of a code cell or SQL cell. Requires EDIT_PROJECT_CONTENTS permission.

Update Project Status

Update or remove a Hex project's status, including endorsements. Omitting the status sends null, which removes the current status.

Upsert Guide Draft

Tool to update or create guide drafts by filePath. Creates a new guide if it doesn't exist, creates a draft if the guide exists without a draft, or updates an existing draft. Use when you need to programmatically manage guide content in Hex.

More in Analytics

See them all β†’

Your company, run by an AI team

Start your company

BRAINER

Continue to B.R.A.I.N.E.R.

Continue with Google or your email.

or