Skip to content
Software capabilities
Hex

List Hex projects and inspect runs

Use Hex's Public API to list viewable projects and inspect a project run when an orchestration system needs notebook or data-app state.

Documentation reviewed · 2 methods with sources

Ways to do it

  1. API: GET /api/v1/projects
  2. API: GET /api/v1/projects/{projectId}/runs/{runId}
API

GET /api/v1/projects

List viewable Hex projects with filters for archive state, category, creator, and sharing metadata.

Read source: Hex Public API overview
Requirements
A Hex bearer token with the required Team or Enterprise plan access.
Limitations
Core project APIs are plan-gated and rate-limited. Archived, trashed, and unlisted projects are excluded unless requested.

Example shell

curl --fail 'https://app.hex.tech/api/v1/projects?includeArchived=false' -H "Authorization: Bearer $HEX_API_TOKEN"
API

GET /api/v1/projects/{projectId}/runs/{runId}

Read status and metadata for one Hex project run.

Read source: Hex Public API reference
Requirements
A Hex bearer token, project ID, and run ID.
Limitations
Run and kernel requests have their own rate limits. A run can remain active while kernels are executing, so poll with a bounded interval.

Example shell

curl --fail "https://app.hex.tech/api/v1/projects/$HEX_PROJECT_ID/runs/$HEX_RUN_ID" -H "Authorization: Bearer $HEX_API_TOKEN"