---
title: Installation API 参考
description: Platform API v1 的 Installation：每个操作的路径、参数、请求与回应字段、scope、幂等与错误，直接取自 API 合约。
url: https://agentlab.cresclab.com/docs/zh-cn/api/installation
language: zh-Hans
updated: 2026-12-05
---

# Installation API 参考

Platform API v1 的 Installation：每个操作的路径、参数、请求与回应字段、scope、幂等与错误，直接取自 API 合约。

> [!NOTE]
> 由 API 合约（Agent Lab Platform API 1.0.0-alpha.1）产生。说明文本是合约的英文原文。

The installed application's own installation.

## The calling installation

`GET /v1/installation`

The installation the token belongs to: its workspace, its application, and the scopes an
administrator granted, those awaiting approval, and those this token carries. A scope
approved after the token was issued is in the next token, not this one.

| Scope | 身分 | 验证方式 | Idempotency-Key |
| --- | --- | --- | --- |
| 无 | `installation` | `installationToken` | — |

### 回应

| 状态码 | 内容 | 说明 |
| --- | --- | --- |
| `200` | `application/json`: [Installation](https://agentlab.cresclab.com/docs/zh-cn/api/schemas.md#Installation) | The installation. |
| `401` | `application/json`: [Error](https://agentlab.cresclab.com/docs/zh-cn/api/schemas.md#Error) | No token, or a token the platform does not honor. |
| `403` | `application/json`: [Error](https://agentlab.cresclab.com/docs/zh-cn/api/schemas.md#Error) | The token does not carry every scope the operation declares (`SCOPE_NOT_GRANTED`, `recovery: configure`), or the member may not do this. |
| `429` | `application/json`: [Error](https://agentlab.cresclab.com/docs/zh-cn/api/schemas.md#Error) | Rate limited (`recovery: retry`). |
| `503` | `application/json`: [Error](https://agentlab.cresclab.com/docs/zh-cn/api/schemas.md#Error) | Try again later (`recovery: retry`). |
