Skip to main content
GET
/
app
/
v1
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
content
/
{id}
/
versions
List Content Versions
curl --request GET \
  --url https://api.example.com/app/v1/organizations/{organizationId}/projects/{projectId}/content/{id}/versions
{
  "data": [
    {
      "version": 123,
      "typeVersion": 123,
      "status": "<string>",
      "content": {},
      "createdAt": "<string>",
      "createdBy": "<string>"
    }
  ],
  "pagination": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

organizationId
string
required
Organization ID
projectId
string
required
Project ID
id
string
required
Content ID

Query Parameters

limit
number
default:"20"
Items per page
lastKey
string
Cursor for pagination (from previous response)

Response

data
object[]
Array of version records
pagination
object
Pagination information

Example Response

{
  "data": [
    {
      "version": 3,
      "typeVersion": 2,
      "status": "published",
      "content": {
        "title": "Getting Started Guide v3",
        "components": [...]
      },
      "createdAt": "2024-03-22T10:00:00Z",
      "createdBy": "user123"
    },
    {
      "version": 2,
      "typeVersion": 2,
      "status": "published",
      "content": {
        "title": "Getting Started Guide v2",
        "components": [...]
      },
      "createdAt": "2024-03-21T10:00:00Z",
      "createdBy": "user456"
    },
    {
      "version": 1,
      "typeVersion": 1,
      "status": "published",
      "content": {
        "title": "Getting Started Guide",
        "components": [...]
      },
      "createdAt": "2024-03-20T10:00:00Z",
      "createdBy": "user123"
    }
  ],
  "pagination": {
    "lastKey": "eyJwayI6Ik9SR..."
  }
}
Versions are returned in reverse chronological order (newest first).

Code Examples

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