Skip to content

Reputation API

Statements are envelopes signed by the party named below. Administrative endpoints (admin) need Authorization: Bearer <ADMIN_TOKEN>.

Orchestrator (port 7850)

Method and path Signed by Purpose
POST /v1/operators operator Register
GET /v1/operators/{aid} Profile
GET /v1/operators/{aid}/rounds Rounds waiting for a proof
POST /v1/standby operator Enter or leave standby
POST /v1/challenges Challenge for a machine
POST /v1/commitments operator and machine Bind hardware
POST /v1/releases operator Release a commitment
POST /v1/stakes admin Deposit, or withdraw with "withdraw": true
POST /v1/clusters admin Register a cluster
POST /v1/rounds cluster Open a round
GET /v1/rounds/{id} Round
POST /v1/rounds/{id}/proofs operator (VRF) Submit a proof
GET /v1/rounds/{id}/assignment Signed assignment
POST /v1/activate cluster and machine Admit a machine
POST /v1/participation cluster Report an epoch
POST /v1/faults cluster Report a fault
GET /v1/passport Credentials by operator, cluster, role, epoch
GET /v1/ledger?after= Head and entries
GET /v1/blacklist Blacklisted hardware

Cluster (port 7851)

Method and path Access Purpose
GET /v1/status open Epoch and members
GET /v1/seats/{aid} open Seat of a machine
POST /v1/admissions, /v1/heartbeats, /v1/votes machine Take part
POST /v1/tasks admin Submit a task: kind, payload
GET /v1/tasks/{id} admin State and result

Operator

POST /v1/register, /v1/bind, /v1/standby, /v1/release and GET /v1/profile, all admin.

Machine

POST /v1/enroll and GET /v1/specs, both admin. WORKLOAD names the Python function that executes tasks, as module:function.