Agent channel (internal)
15 operations. Open one for its parameters, request body, responses and examples.
| Method | Path | Summary |
|---|---|---|
| POST | /api/v1/agent/auth-failures | Failed sign-ins this agent's server saw (FTP, MailEnable, SQL Server) and the state of its log readers; answers which sources to read (ADR 0066) |
| POST | /api/v1/agent/enroll | Register an agent with a one-time token |
| POST | /api/v1/agent/ftp | The FTP service and accounts this agent's server should serve; reports the SFTP host key (ADR 0040) |
| GET | /api/v1/agent/handoffs/{id} | A secret a job names, for this agent's server, once (ADR 0038) |
| POST | /api/v1/agent/jobs/claim | Lease the next job; 204 when none. Signed agent request |
| POST | /api/v1/agent/jobs/{id}/complete | Record success. Signed agent request |
| POST | /api/v1/agent/jobs/{id}/fail | Record failure. Signed agent request |
| POST | /api/v1/agent/jobs/{id}/heartbeat | Extend a lease. Signed agent request |
| PUT | /api/v1/agent/jobs/{id}/log | A chunk of a running build's log, at an offset (agent only, signed over its digest) |
| POST | /api/v1/agent/metrics | One minute of the server's and its sites' load (ADR 0036) |
| GET | /api/v1/agent/release/{name} | One file of the release the panel runs, by its name in the signed manifest, for an agent update (ADR 0046) |
| GET | /api/v1/agent/sites/{id}/env | The variables a deployment names, for the server hosting the site |
| GET | /api/v1/agent/uploads/{id} | Fetch an upload addressed to this agent's server |
| PUT | /api/v1/agent/uploads/{id} | Send a file for a pending download, signed over its SHA-256 |
| POST | /api/v1/agent/waf-events | Events this agent's server firewall wrote (ADR 0106); events of sites not on the server are dropped |