# extensions.get

`GET /api/public/v1/extensions/{id}`

One extension with its last 50 versions: SHA-256, size, signature (verified CRX3 or unsigned ZIP), Chrome Web Store signature, licence found in the package, permissions and review decisions.

- Capability: `profile.read`
- Command: no
- MCP tool: `extensions_get`

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `id` | path | string (uuid) | yes | Extension id |

## Response

`200` with `{ data, correlation_id }`.

| Field | Type | Always present | Description |
|---|---|---|---|
| `data` | object | yes |  |
| `data.id` | string (uuid) | yes |  |
| `data.name` | string | yes |  |
| `data.source` | "store" \| "upload" | yes |  |
| `data.store_id` | string | no |  |
| `data.chrome_id` | string | yes | The extension ID every machine loads it under |
| `data.key_generated` | boolean | yes | Browlix created the key of an uploaded extension without one, so its ID stays the same everywhere |
| `data.state` | "approved" \| "update_pending" \| "unreviewed" \| "rejected" \| "disabled" | yes |  |
| `data.revision` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data.active_version` | object | no | The version profiles load |
| `data.active_version.id` | string (uuid) | yes |  |
| `data.active_version.version` | string | yes |  |
| `data.active_version.name` | string | yes |  |
| `data.active_version.manifest_version` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data.active_version.sha256` | string | yes | SHA-256 of the stored file; machines check it before loading |
| `data.active_version.size_bytes` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data.active_version.format` | "crx3" \| "zip" | yes |  |
| `data.active_version.signature` | "verified" \| "unsigned" | yes | verified: every CRX3 proof checked by the server; unsigned: a plain ZIP |
| `data.active_version.store_signed` | boolean | yes | Also signed by the Chrome Web Store |
| `data.active_version.permissions` | array<string> | yes |  |
| `data.active_version.host_permissions` | array<string> | yes | Sites it can read and change (host permissions and content-script matches) |
| `data.active_version.optional_permissions` | array<string> | yes |  |
| `data.active_version.license` | string | no | Licence found in the package (SPDX id, or custom); absent when the package has no licence file |
| `data.active_version.same_version_changed` | boolean | yes | A different file under a version number already in the library |
| `data.active_version.state` | "unreviewed" \| "approved" \| "rejected" | yes |  |
| `data.active_version.added_permissions` | array<string> | no | Permissions beyond the version profiles load now (what an approval must acknowledge) |
| `data.active_version.removed_permissions` | array<string> | no |  |
| `data.active_version.created_at` | string (date-time) | yes |  |
| `data.active_version.reviewed_at` | string (date-time) | no |  |
| `data.pending_version` | object | no | The newest version waiting for review |
| `data.pending_version.id` | string (uuid) | yes |  |
| `data.pending_version.version` | string | yes |  |
| `data.pending_version.name` | string | yes |  |
| `data.pending_version.manifest_version` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data.pending_version.sha256` | string | yes | SHA-256 of the stored file; machines check it before loading |
| `data.pending_version.size_bytes` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data.pending_version.format` | "crx3" \| "zip" | yes |  |
| `data.pending_version.signature` | "verified" \| "unsigned" | yes | verified: every CRX3 proof checked by the server; unsigned: a plain ZIP |
| `data.pending_version.store_signed` | boolean | yes | Also signed by the Chrome Web Store |
| `data.pending_version.permissions` | array<string> | yes |  |
| `data.pending_version.host_permissions` | array<string> | yes | Sites it can read and change (host permissions and content-script matches) |
| `data.pending_version.optional_permissions` | array<string> | yes |  |
| `data.pending_version.license` | string | no | Licence found in the package (SPDX id, or custom); absent when the package has no licence file |
| `data.pending_version.same_version_changed` | boolean | yes | A different file under a version number already in the library |
| `data.pending_version.state` | "unreviewed" \| "approved" \| "rejected" | yes |  |
| `data.pending_version.added_permissions` | array<string> | no | Permissions beyond the version profiles load now (what an approval must acknowledge) |
| `data.pending_version.removed_permissions` | array<string> | no |  |
| `data.pending_version.created_at` | string (date-time) | yes |  |
| `data.pending_version.reviewed_at` | string (date-time) | no |  |
| `data.versions_count` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data.assignments` | array<object> | yes |  |
| `data.assignments[].id` | string (uuid) | yes |  |
| `data.assignments[].target_kind` | "workspace" \| "group" \| "profile" | yes |  |
| `data.assignments[].group_id` | string (uuid) | no |  |
| `data.assignments[].profile_id` | string (uuid) | no |  |
| `data.assignments[].target_name` | string | no |  |
| `data.assignments[].hidden` | boolean | no | The group or profile is outside your group scope: it is not named |
| `data.assignments[].required` | boolean | yes |  |
| `data.profiles_reached` | integer | yes | Active profiles at least one assignment reaches (min -9007199254740991, max 9007199254740991) |
| `data.created_at` | string (date-time) | yes |  |
| `data.updated_at` | string (date-time) | yes |  |
| `data.versions` | array<object> | yes |  |
| `data.versions[].id` | string (uuid) | yes |  |
| `data.versions[].version` | string | yes |  |
| `data.versions[].name` | string | yes |  |
| `data.versions[].manifest_version` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data.versions[].sha256` | string | yes | SHA-256 of the stored file; machines check it before loading |
| `data.versions[].size_bytes` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data.versions[].format` | "crx3" \| "zip" | yes |  |
| `data.versions[].signature` | "verified" \| "unsigned" | yes | verified: every CRX3 proof checked by the server; unsigned: a plain ZIP |
| `data.versions[].store_signed` | boolean | yes | Also signed by the Chrome Web Store |
| `data.versions[].permissions` | array<string> | yes |  |
| `data.versions[].host_permissions` | array<string> | yes | Sites it can read and change (host permissions and content-script matches) |
| `data.versions[].optional_permissions` | array<string> | yes |  |
| `data.versions[].license` | string | no | Licence found in the package (SPDX id, or custom); absent when the package has no licence file |
| `data.versions[].same_version_changed` | boolean | yes | A different file under a version number already in the library |
| `data.versions[].state` | "unreviewed" \| "approved" \| "rejected" | yes |  |
| `data.versions[].added_permissions` | array<string> | no | Permissions beyond the version profiles load now (what an approval must acknowledge) |
| `data.versions[].removed_permissions` | array<string> | no |  |
| `data.versions[].created_at` | string (date-time) | yes |  |

New fields can appear at any time; ignore the ones you do not know.

## Errors

| Code | HTTP | Retryable |
|---|---|---|
| `UNAUTHENTICATED` | 401 | no |
| `FORBIDDEN` | 403 | no |
| `RATE_LIMITED` | 429 | yes |
| `VALIDATION_FAILED` | 422 | no |
| `NOT_FOUND` | 404 | no |
| `DEPENDENCY_UNAVAILABLE` | 503 | yes |
| `UNKNOWN` | 500 | no |

## Example (curl)

```bash
curl "https://browlix.com/api/public/v1/extensions/<id>" \
  -H "Authorization: Bearer $BROWLIX_API_KEY"
```

## Example (TypeScript SDK)

```ts
import { Browlix } from "@browlix/sdk";

const bx = new Browlix({ apiKey: process.env.BROWLIX_API_KEY! });
const reply = await bx.call("extensions.get", { path: { id: "<id>" } });
console.log(reply.data);
```

## Example (Python)

```python
import os
import requests

r = requests.get(
    "https://browlix.com/api/public/v1/extensions/<id>",
    headers={"Authorization": f"Bearer {os.environ['BROWLIX_API_KEY']}"},
    timeout=60,
)
print(r.status_code, r.json())
```

## Example (MCP)

```json
{
  "method": "tools/call",
  "params": {
    "name": "extensions_get",
    "arguments": {
      "id": "<id>"
    }
  }
}
```
