Skip to Content
Xeonr Developer Docs
API SpecificationVersions

List a function's versions

POST
/xeonr.functions.v2.VersionsService/ListVersions

Lists the function's versions, newest first: the deploy history. Pages default to 50 versions and are capped at 500 (limit). Pass nextCursor back as cursor; an empty nextCursor means the last page.

Needs the viewer role in the owning team. Callable with a console session or a team API key (Authorization: Bearer xk_…).

Required scopes: functions:functions:read

Authorization

BearerAuth
AuthorizationBearer <token>

A team API key, created by a team admin in the console and presented as Authorization: Bearer xk_…. Xeonr Auth issues and verifies it; the secret is shown once at creation and stored only as a hash, and a revoked key stops working within 30 seconds. An existing fnt_… token is accepted the same way.

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
Match^[A-Za-z0-9_-]+$
Length1 <= length <= 64
cursor?string

cursor is a previous response's next_cursor; empty for the first page.

limit?integer

limit is the page size: 0 means the default of 50, at most 500.

Rangevalue <= 500
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://functions.xeonr.io/xeonr.functions.v2.VersionsService/ListVersions" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "versions": [
    "map[createdAt:2026-10-22T09:30:00Z functionId:fn-3f9a2c71d4e8b605 gitRef:main state:VERSION_STATE_READY versionId:v-7c1e04b9a2d35f68]"
  ],
  "nextCursor": "50"
}