# Download exact immutable owned archive bytes

Original UTF-8 JSON bytes. Verify the signed digest and size before installation.

HTML: https://notify.belweave.tech/docs/api/getMiniAppsPackageIdArchive

Required scopes: `apps:read`

```http
GET /api/agent/mini-apps/{packageId}/archive
Authorization: Bearer ntf_your_token
```

## Operation schema

```json
{
  "summary": "Download exact immutable owned archive bytes",
  "description": "Original UTF-8 JSON bytes. Verify the signed digest and size before installation.",
  "operationId": "getMiniAppsPackageIdArchive",
  "security": [
    {
      "bearer": [
        "apps:read"
      ]
    }
  ],
  "x-notify-scopes": [
    "apps:read"
  ],
  "parameters": [
    {
      "name": "packageId",
      "in": "path",
      "schema": {
        "type": "string"
      },
      "required": true
    }
  ],
  "responses": {
    "200": {
      "description": "Success",
      "content": {
        "application/json": {
          "schema": {
            "type": "object"
          }
        }
      }
    },
    "400": {
      "description": "Invalid request",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "401": {
      "description": "Missing, unknown, revoked, or expired token",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "403": {
      "description": "The token lacks a required scope or the account lacks permission",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    },
    "404": {
      "description": "Not found for this account",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  }
}
```

Resolve schema references against [OpenAPI](https://notify.belweave.ai/openapi.json).
