Hex

Hex Cells API

The Cells API from Hex — 4 operation(s) for cells.

GitHub OpenAPI
Business capability
Analytics & BI Management BC-610.50

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/cells/{cellId} Get a cell by ID · GetCell #
Ask an LLM
“How do I fetch a single cell's source and data connection?”
“Can I look up one cell by its ID?”
Tell an agent
Get cell {cellId}.
Show the source and data connection of cell {cellId}.
PATCH /v1/cells/{cellId} Update a cell's source or data connection · UpdateCell #
Ask an LLM
“How do I change the SQL source or data connection of a SQL cell?”
“Can I update a code cell's source?”
Tell an agent
Update cell {cellId} with source {contents}.
Attach data connection {dataConnectionId} to cell {cellId}.
DELETE /v1/cells/{cellId} Delete a cell from the draft · DeleteCell #
Ask an LLM
“How do I remove a cell from the draft version of a project?”
“Can I delete a single cell by ID?”
Tell an agent destructive · confirm first
Delete cell {cellId} from the draft.
Remove the draft cell {cellId}.
GET /v1/cells/{cellId}/output Preview a SQL cell's output · GetCellOutput #
Ask an LLM
“How do I see the latest output preview of a SQL cell?”
“Can I get a SQL cell's output without running the whole notebook?”
Tell an agent
Get the latest output preview for cell {cellId}.
Show SQL cell {cellId}'s output.
POST /v1/cells Create a cell in a draft project · CreateCell #
Ask an LLM
“How do I add a new SQL cell to a project?”
“Can I create a code cell with a label?”
Tell an agent
Create a {cellType} cell labeled {label} in project {projectId} with {contents}.
Add a {cellType} cell to project {projectId} at location {location}.
GET /v1/cells List cells in a draft project · ListCells #
Ask an LLM
“What cells are in the draft version of my project?”
“Can I list only the SQL cells in a project?”
Tell an agent
List cells in project {projectId}.
Show the first {limit} cells of project {projectId}.
GET /v1/cells/{cellId}/image Get a chart cell's rendered image · GetChartImageFromLogic #
Ask an LLM
“How do I get a PNG of a chart cell's rendered output?”
“Can I include the chart title in the image?”
Tell an agent
Get the chart image for cell {cellId}.
Render cell {cellId} as a {width}x{height} image with title {includeTitle}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hex:hex-cells-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hex-cells-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hex Cells API
  version: 1.0.0
  description: API specification for the Hex External API
  license:
    name: UNLICENSED
  contact: {}
servers:
- url: https://app.hex.tech/api
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (38 KB total) ---
# Full source: https://artifacts.apis.io/hex/openapi/hex-cells-api-openapi.yml