Skip to content
Hexel StudioDocs

API overview

Base URL, authentication and the APIs in this reference.

On this page

The reference covers eight HTTP APIs. Every endpoint page lists its parameters and response fields, and shows a request in cURL, TypeScript and Python.

Base URL

APIBase URLPaths
Organizations and accountshttps://api.hexelstudio.com/v1/organizations/..., /workspaces/..., /users/me/...
Identity and access managementhttps://api.hexelstudio.com/v1/policies/..., /roles/..., /service-users/...
Computehttps://compute.hexelstudio.com/compute/v1/...
Agent Registryhttps://compute.hexelstudio.com/registry/v1/...
Titan platform, agent and personhttps://api.hexelstudio.com/v1/titan/...; administration calls also send Titan-Enforcement-Deployment (Titan API reference)
Titan Harnesshttps://api.hexelstudio.com/v1/harness/...; every request also sends X-Workspace-Id and X-Environment-Id (overview)

Authentication

Endpoints that need authentication list an Authorization header on their page. The value is a Hexel Studio access token: get one by calling POST https://sts.hexelstudio.com/token with your API key, then send it as Bearer <token>. The Identity & access APIs also accept the API key itself in an X-API-Key header. See Authenticate to the API.

Bash
curl --request GET \
  --url 'https://compute.hexelstudio.com/compute/v1/vms' \
  --header "Authorization: Bearer $ACCESS_TOKEN"

Requests and responses

Request and response bodies are JSON. Send Content-Type: application/json with every request that has a body. When something fails, the response carries a JSON error object; see Errors.

About this reference

Some Identity & access endpoints belong to Preview features: they store configuration that does not affect access yet. Example values come from the spec's own examples where it has them, and otherwise are placeholders built from each field's type.