Skip to main content
GET
/
app
/
v1
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
packages
List Packages
curl --request GET \
  --url https://api.example.com/app/v1/organizations/{organizationId}/projects/{projectId}/packages
{
  "data": [
    {}
  ],
  "pagination": {}
}

Query Parameters

limit
number
default:"1000"
Items per page (max 1000)
lastKey
string
Pagination cursor from previous response

Response

data
Package[]
Array of package objects
pagination
object
Pagination information

Example Response

{
  "data": [
    {
      "id": "pkg789",
      "projectId": "proj123",
      "version": "2.0.0",
      "components": [
        { "id": "comp123", "name": "ProductCard", "type": "view", "version": 3 },
        { "id": "comp124", "name": "ArticleLayout", "type": "layout", "version": 2 }
      ],
      "assets": [...],
      "dependencies": [...],
      "metadata": {
        "author": "jane.doe@metabind.ai",
        "description": "Major update with new components"
      },
      "createdAt": "2024-03-25T10:00:00Z",
      "updatedAt": "2024-03-25T10:00:00Z"
    },
    {
      "id": "pkg456",
      "projectId": "proj123",
      "version": "1.1.0",
      "components": [...],
      "assets": [...],
      "dependencies": [...],
      "metadata": {
        "author": "john.smith@metabind.ai",
        "description": "Bug fixes and improvements"
      },
      "createdAt": "2024-03-22T10:00:00Z",
      "updatedAt": "2024-03-22T10:00:00Z"
    },
    {
      "id": "pkg123",
      "projectId": "proj123",
      "version": "1.0.0",
      "components": [...],
      "assets": [...],
      "dependencies": [...],
      "metadata": {
        "author": "jane.doe@metabind.ai",
        "description": "Initial release"
      },
      "createdAt": "2024-03-20T10:00:00Z",
      "updatedAt": "2024-03-20T10:00:00Z"
    }
  ],
  "pagination": {
    "lastKey": "eyJ2ZXJzaW9uIjoiMS4wLjAifQ=="
  }
}
Packages are returned in reverse chronological order (newest first) by default.

Code Examples

curl -X GET "https://api.metabind.ai/app/v1/organizations/org123/projects/proj456/packages" \
  -H "Authorization: Bearer YOUR_JWT"