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

Path Parameters

organizationId
string
required
Organization ID
projectId
string
required
Project ID

Query Parameters

limit
number
default:"10"
Items per page
lastKey
string
Pagination cursor from previous response

Response

data
Folder[]
Array of folder objects
pagination
object
Pagination information

Example Response

{
  "data": [
    {
      "id": "folder123",
      "name": "Marketing Content Searches",
      "parentId": null,
      "type": "content",
      "order": 1.0,
      "createdAt": "2024-03-20T10:00:00Z",
      "updatedAt": "2024-03-20T10:00:00Z"
    },
    {
      "id": "folder456",
      "name": "Image Asset Searches",
      "parentId": null,
      "type": "asset",
      "order": 2.0,
      "createdAt": "2024-03-20T10:00:00Z",
      "updatedAt": "2024-03-20T10:00:00Z"
    }
  ],
  "pagination": {
    "lastKey": "eyJpZCI6ImZvbGRlcjQ1NiJ9"
  }
}

Code Examples

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