Skip to main content
GET
/
v1
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
collections
/
{id}
Get Collection
curl --request GET \
  --url https://api.example.com/v1/organizations/{organizationId}/projects/{projectId}/collections/{id}

Path Parameters

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

Response

Returns the Collection object.
{
  "id": "coll123",
  "name": "UI Components",
  "folderId": null,
  "createdAt": "2024-03-20T10:00:00Z",
  "updatedAt": "2024-03-20T10:00:00Z"
}

Error Responses

Collection Not Found

{
  "error": {
    "code": "NOT_FOUND",
    "message": "Collection not found",
    "details": {
      "id": "coll123"
    }
  }
}

Code Examples

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