v31

latestSwagger 2.0Apache 2.0raw.githubusercontent.com2026-08-0120115123.7 KB
Ops

Returns the info of the node.

get/api/v1/agent/node

Response

OK

Labelsobject
NodeIDstring
NodeType0 | 1 | 2
SupportedProtocolsModelsProtocol[]

SupportedProtocols indicates which communication protocols this node supports

Example response

{
  "BacalhauVersion": {
    "BuildDate": "2022-11-16T14:03:31Z",
    "GOARCH": "amd64",
    "GOOS": "linux",
    "GitCommit": "d612b63108f2b5ce1ab2b9e02444eb1dac1d922d",
    "GitVersion": "v0.3.12",
    "Major": "0",
    "Minor": "3"
  }
}