Web of Trust API
Administrative endpoints (admin) need Authorization: Bearer <ADMIN_TOKEN>.
Spawner
| Method and path |
Access |
Purpose |
POST /v1/agents |
admin |
Define a constitution |
GET /v1/agents/{key} |
admin |
Constitution digest and identifier |
GET /v1/commitments/{said} |
open |
Commitment event |
POST /v1/claims |
claim |
Claim the delegation |
POST /v1/delegations |
admin |
Approve a delegation of a known agent |
POST /v1/contacts |
admin |
Publish the spawner's contacts |
Agent
| Method and path |
Access |
Purpose |
GET /healthz |
open |
Agent key, readiness, identifier |
POST /v1/trust |
admin |
Publish a trust event |
GET /v1/trust/{aid} |
admin |
Evaluate |
PUT /v1/runtime-policy |
admin |
Set runtime rules |
POST /v1/compute |
admin |
Compute on a platform: op, params |
POST /v1/messages |
admin |
Create, and with url send, a message |
Once active, the agent also serves the identity API: /v1/identity, /v1/input, /v1/output/{id}, /v1/rotate, /v1/credentials and /v1/evidence/{said}.
| Method and path |
Access |
Purpose |
GET /v1/scores/{aid} |
open |
Precomputed score |
GET /v1/insights/{name} |
open |
anomalies, trends or summary |
POST /v1/leases |
signed |
Export events |
POST /v1/compute |
signed |
Run a computation |