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

Query Parameters

page
number
default:"1"
Page number
limit
number
default:"20"
Items per page

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": "[email protected]",
        "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": "[email protected]",
        "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": "[email protected]",
        "description": "Initial release"
      },
      "createdAt": "2024-03-20T10:00:00Z",
      "updatedAt": "2024-03-20T10:00:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 3,
    "pages": 1
  }
}
Packages are returned in reverse chronological order (newest first) by default.

Code Examples

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