<span id="列出解析后端"></span>

# List parser backends

```{raw} html
<div class="mo-api-page-show-toc" aria-hidden="true"></div>
```

List parser backends readable in the current workspace.


```http
GET https://api.moi.matrixorigin.cn/v5/parser/backends
```

<span id="调用前准备"></span>

## Before you call this API

`BASE_URL` uses the product API prefix `https://api.moi.matrixorigin.cn/v5`. For a dedicated deployment, use its corresponding product API address.

[Configure identity, workspace, and privileges in the same environment](objects.md#prepare).

<span id="请求"></span>

## Request

:::::::{div} mo-api-tabs
::::::{tab-set}
:::::{tab-item} Request example

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

:::::
:::::{tab-item} Parameters

| Parameter | Location | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-Workspace-ID` | Header | string | Yes | Workspace ID from the same environment. |

Filtered by model_backend.read. data is directly an array without pagination/total and may be null when empty. SDK/CLI adapt it to backends; that wrapper is not the raw HTTP response.

:::::
::::::
:::::::

<span id="成功响应"></span>

## Successful response

:::::::{div} mo-api-tabs mo-api-response-tabs
::::::{tab-set}
:::::{tab-item} Response example

```json
{
  "code": "OK",
  "msg": "OK",
  "data": [
    {
      "id": 12,
      "name": "临时解析后端",
      "type": "PARSER_MINERU",
      "timeout_seconds": 3600,
      "supported_mime_types": [
        "application/pdf"
      ],
      "endpoints": [
        {
          "id": 21,
          "backend_id": 12,
          "address": "https://parser.example.invalid",
          "status": "ONLINE",
          "created_at": 1794445200,
          "updated_at": 1794445200
        }
      ],
      "created_at": 1794445200,
      "updated_at": 1794445200
    }
  ]
}
```

:::::
:::::{tab-item} Fields

| Field | Type | Description |
| --- | --- | --- |
| `code` | string | HTTP 200; OK on success. |
| `msg` | string | OK on success. |
| `data` | array (array of objects) or null | [Actual object or null](objects.md#responses); do not infer from LLM wrappers. |

:::::
::::::
:::::::

<span id="错误响应"></span>

## Error response

[Errors and result confirmation](objects.md#errors) distinguishes actual inputs, object admission, and business results.
