List parser endpoints

List currently online endpoints for a parser backend.

GET https://api.moi.matrixorigin.cn/v5/parser/backends/{backend_id}/endpoints

Before you call this API

Set BASE_URL to the product API prefix https://api.moi.matrixorigin.cn/v5. For private deployments, use the corresponding product API URL.

Configure identity, Workspace, and permissions in the same environment.

Request

curl --request GET \
  "$BASE_URL/parser/backends/$BACKEND_ID/endpoints" \
  --header "X-API-Key: $MOI_KEY" \
  --header "X-Workspace-ID: $WORKSPACE_ID"

Parameter

Location

Type

Required

Description

X-Workspace-ID

Headers

string

Yes

Workspace ID in the same environment.

backend_id

Path

integer

Yes

Canonical positive integer ID returned by creation/read for the same Parser kind.

Requires backend read permission. data is directly an unpaginated array, possibly null when empty. Includes online entries only, sorted by ID ascending. Internal DAO pagination does not establish a public cursor. Retain IDs before taking endpoints offline; empty results do not prove deletion.

Successful response

{
  "code": "OK",
  "msg": "OK",
  "data": [
    {
      "id": 21,
      "backend_id": 12,
      "address": "https://parser.example.invalid",
      "status": "ONLINE",
      "created_at": 1794445200,
      "updated_at": 1794445200
    }
  ]
}

Field

Type

Description

code

string

HTTP200, OK on success.

msg

string

OK on success.

data

array (objects) or null

Actual objects or empty values; do not infer them from LLM envelopes.

Error responses

Errors and result confirmation distinguishes actual input, object admission, and business results.

Last updated on