Skip to content
// FLEET
us-west-1GB300 · liquid
eu-central-1B300 · liquid
apac-sg-1GB200 · NVL72
me-uae-1VR200 · Rubin
// API REFERENCE

Domains API

Generated from the OpenAPI 3.1 spec. Authenticate with a bearer sk_segal_… key.

GET/api/v1/domainsList domains

Parameters

ParamTypeRequiredDescription
limit (query)integernoPage size.
cursor (query)stringnoOpaque pagination cursor from a prior response.

Responses

  • 200 A page of domains.
  • 401

Example

bash
curl -X GET https://api.segalcompute.com/api/v1/domains \
  -H "Authorization: Bearer sk_segal_..."
Try itSandbox · mock data
POST/api/v1/domainsRegister a domain

Parameters

ParamTypeRequiredDescription
Idempotency-Key (header)stringnoMakes a POST safe to retry; the same key returns the same result.

Body

ParamTypeRequiredDescription
namestringyes
regionstringno

Responses

  • 201 The registered domain.
  • 400
  • 401

Example

bash
curl -X POST https://api.segalcompute.com/api/v1/domains \
  -H "Authorization: Bearer sk_segal_..." \
  -H "Content-Type: application/json" \
  -d '{"name":"acme.dev","region":"us-west-1"}'
Try itSandbox · mock data