API Reference
gonemaster-server exposes a trusted admin API and a restricted public API.
Admin API
Base path: /api/v1/
Use this API from trusted clients such as the admin UI, gonemaster-client,
cron jobs, and internal scripts. It can manage jobs, batches, domains, tags,
runs, entries, profiles, queue state, settings, metrics, and cohorts.
Keep it private.
Public API
Base path: /pub/api/v1/
Use this API for public job submission, public job lookup, public profiles, and read-only public analysis. Public job endpoints use opaque public IDs instead of internal job IDs.
Conventions
- Requests and responses use JSON unless the endpoint documents another format.
- Errors use
{ "error": { "code": "...", "message": "..." } }. - Mutating admin requests validate
Originwhen the header is present. - List endpoints use
limitandoffsetwhere pagination is available. - Result endpoints often accept
locale.
Domain Normalization
Domain input is normalized to IDNA A-labels before execution and storage. For
example, räksmörgås.se becomes xn--rksmrgs-5wao1o.se. Invalid domains
return 400 with error.code=invalid_domain.
OpenAPI
The endpoint contract lives in ../openapi.yaml . Narrative guides should link to OpenAPI instead of duplicating long endpoint lists.