Get product process version information

Read version/build information reported by the current product process to record the call environment. The three logical components currently share one process build. status=ok does not establish database, Worker, or other dependency health.

GET https://api.moi.matrixorigin.cn/v5/system/versions

Before you call this API

Set MOI_ENDPOINT to the product API prefix https://api.moi.matrixorigin.cn/v5; use the corresponding product API URL for a dedicated deployment.

Use the target environment’s product Endpoint with its actual proxy prefix. This source route requires neither product identity nor workspace. Public website example URLs do not establish actual deployment prefixes.

Request

curl --fail-with-body "$MOI_ENDPOINT/system/versions"

No business request parameters, body, or pagination.

Successful response

{
  "code": "OK",
  "msg": "OK",
  "data": {
    "backend_components": [
      {
        "component": "moi-backend",
        "version": "example-build",
        "build_time": "2026-11-12T00:00:00Z",
        "git_commit": "example-commit",
        "branch_name": "example-branch",
        "go_version": "go1.25.7",
        "status": "ok"
      },
      {
        "component": "moi-core-catalog",
        "version": "example-build",
        "build_time": "2026-11-12T00:00:00Z",
        "git_commit": "example-commit",
        "branch_name": "example-branch",
        "go_version": "go1.25.7",
        "status": "ok"
      },
      {
        "component": "mowl",
        "version": "example-build",
        "build_time": "2026-11-12T00:00:00Z",
        "git_commit": "example-commit",
        "branch_name": "example-branch",
        "go_version": "go1.25.7",
        "status": "ok"
      }
    ],
    "request_time": "2026-11-12T00:00:00Z"
  }
}

Field

Type

Description

code / msg

string

Both OK on success.

data.backend_components

array (objects)

Current three entries, not dependency health checks.

backend_components[].component

string

moi-backend、moi-core-catalog、mowl

backend_components[].version

string

Build version injected into the current process; unknown if absent.

backend_components[].build_time

string

Build-injected text; unknown if absent, not guaranteed parseable directly as a timestamp.

backend_components[].git_commit / branch_name / go_version

string

Optional DTO field; the current service also fills unknown when missing.

backend_components[].status

string

Currently fixed at ok, not an individual remote-component health check.

data.request_time

string

UTC RFC3339 time of this read.

These fields do not return the latest SDK/CLI releases and do not replace checking installation sources.

Error responses

The current handler returns 500/ErrServer for invalid component or status enums. Service errors use shared mappings.

Last updated on