Weibo Docs
Reference

REST API

Control-plane HTTP endpoints.

Base URL is the controller address (default http://localhost:9000). Send Authorization: Bearer <token> when auth is enabled.

Jobs

MethodPathPurpose
GET/jobsList jobs
POST/jobsSubmit a job manifest
GET/jobs/{id}Job, latest run, transitions
DELETE/jobs/{id}Delete a job
POST/jobs/{id}/cancelGraceful stop
POST/jobs/{id}/restartResume, optionally from a savepoint
POST/jobs/{id}/savepointStop with a named savepoint
POST/validateValidate a manifest without submitting

Runs and logs

MethodPathPurpose
GET/jobs/{id}/runsAll attempts
GET/jobs/{id}/runs/{runId}One attempt
GET/jobs/{id}/runs/{runId}/logs?tail=NLogs of a past attempt
GET/jobs/{id}/logs?tail=NLatest logs
GET/jobs/{id}/logs/stream?tail=NLive logs (SSE)
GET/jobs/{id}/transitionsLifecycle audit trail

Live job data

MethodPathPurpose
GET/jobs/{id}/statePhase, records in/out, checkpoints, last error
GET/jobs/{id}/describeSource, sink, operators (secrets redacted)
GET/jobs/{id}/planRuntime stages and edges
GET/jobs/{id}/metricsPrometheus text from the job
GET/jobs/{id}/diagnosticsFailure, restart, checkpoint summary
GET/jobs/{id}/history?points=NMetric samples for sparklines
GET/jobs/history?points=NSamples for all jobs

Controller

MethodPathAuthPurpose
GET/liveznoProcess liveness
GET/readyznoDependency readiness (can be 503)
GET/healthznoAlias for older clients
GET/metricsnoController Prometheus metrics
GET/cluster, /targets, /configyesCapacity, scrape targets, UI config
POST/authCheck a token, returns open / readonly / readwrite

Compatibility

  • Existing routes and fields stay valid. New fields may be added; ignore unknown ones.
  • Mutations need a readwrite token, are audit-logged without bodies or tokens, and are rate-limited per client.
  • Breaking changes ship as versioned routes or with a migration note.

On this page