# Get plugin installation details

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

Read the release and connection bindings of a plugin installation.

```text
GET https://api.moi.matrixorigin.cn/v5/workspaces/{workspace_id}/plugin-installations/{installation_id}
```

## Before you call this API

Prepare the target Workspace ID and a personal access token that can access the resources and perform this operation. Use actual resource identifiers for `workspace_id` and `installation_id` in the path. Also supply the Workspace ID in `X-Workspace-ID`. See [Shared objects and inputs](objects.md#input-identifiers) for environment variable sources.

## Path parameters

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

```bash
curl -X GET "https://api.moi.matrixorigin.cn/v5/workspaces/$WORKSPACE_ID/plugin-installations/$INSTALLATION_ID" \
  -H "X-API-Key: $AI_STUDIO_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID"
```

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

Set $INSTALLATION_ID to an ID returned by creation or the list. Read bindings and version; this is installation configuration, not real-time authorization results for every account.

This operation does not accept a request body.

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

## Successful response

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

```json
{
  "code": 0,
  "data": {
    "id": "installation_example",
    "workspace_id": "workspace_example",
    "release_workspace_id": "workspace_example",
    "release_id": "pr_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "release_digest": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "release_name": "example",
    "owner_user_id": "user_example",
    "bindings": {},
    "version": 1,
    "created_at": "2026-11-11T00:00:00Z",
    "updated_at": "2026-11-11T00:00:00Z"
  }
}
```

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

| Field | Type | Description |
| --- | --- | --- |
| `code` | integer | 0 on success. |
| `data` | object | Data returned by this operation. |
| `data.id` | string | Resource fields; see [Shared objects and states](objects.md). |
| `data.workspace_id` | string | Resource fields; see [Shared objects and states](objects.md). |
| `data.release_workspace_id` | string | Resource fields; see [Shared objects and states](objects.md). |
| `data.release_id` | string | Resource fields; see [Shared objects and states](objects.md). |
| `data.release_digest` | string | Resource fields; see [Shared objects and states](objects.md). |
| `data.release_name` | string | Resource fields; see [Shared objects and states](objects.md). |
| `data.owner_user_id` | string | Resource fields; see [Shared objects and states](objects.md). |
| `data.bindings` | object | Complete installation bindings. |
| `data.version` | integer | Current resource version; used as expected_version for writes. |
| `data.created_at` | string | Resource fields; see [Shared objects and states](objects.md). |
| `data.updated_at` | string | Resource fields; see [Shared objects and states](objects.md). |

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

## Error responses

Handle numeric business-error `code`, `message`, and `details.reason` separately from authorization-layer string codes. See [Errors and states](objects.md#error-responses). On a state or version conflict, read the current resource first; do not automatically change identifiers or retry writes.
