# List parser endpoints

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

List currently online endpoints for a parser backend.


```http
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](objects.md#prepare).

## Request

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

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

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

| 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

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

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

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

| Field | Type | Description |
| --- | --- | --- |
| `code` | string | HTTP200, OK on success. |
| `msg` | string | OK on success. |
| `data` | array (objects) or null | [Actual objects or empty values](objects.md#responses); do not infer them from LLM envelopes. |

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

## Error responses

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