Xeonr Developer Docs
API SpecificationFunctions

Get build log

POST
/xeonr.functions.v1.FunctionService/GetBuildLog

Reads a version's build output by byte offset. Send back the offset you were given and stop when complete is true.

Authorization

BearerAuth
AuthorizationBearer <token>

A team API token, created by a team owner and presented as Authorization: Bearer fnt_…. The secret is shown once at creation and stored only as a hash.

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

functionId?string
versionId?string
offsetBytes?integer|string

offset_bytes is where to read from. Send back next_offset_bytes to follow a running build.

Formatint64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://functions.xeonr.io/xeonr.functions.v1.FunctionService/GetBuildLog" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "chunk": "string",
  "nextOffsetBytes": 0,
  "complete": true,
  "state": "VERSION_STATE_UNSPECIFIED"
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}