Retrieves all branches for a database project. Branches enable isolated development and testing environments with instant point-in-time cloning. Each branch includes the default branch and any custom branches created for staging, testing, or feature development.
{
"branches": [
{
"id": "branch_main_123",
"name": "main",
"isDefault": true,
"parentBranchId": null,
"status": "active",
"createdAt": "2025-01-10T08:00:00Z",
"updatedAt": "2025-01-15T10:30:00Z"
},
{
"id": "branch_staging_456",
"name": "staging",
"isDefault": false,
"parentBranchId": "branch_main_123",
"status": "active",
"createdAt": "2025-01-12T10:00:00Z",
"updatedAt": "2025-01-15T10:30:00Z"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.case.dev/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?
{
"branches": [
{
"id": "branch_main_123",
"name": "main",
"isDefault": true,
"parentBranchId": null,
"status": "active",
"createdAt": "2025-01-10T08:00:00Z",
"updatedAt": "2025-01-15T10:30:00Z"
},
{
"id": "branch_staging_456",
"name": "staging",
"isDefault": false,
"parentBranchId": "branch_main_123",
"status": "active",
"createdAt": "2025-01-12T10:00:00Z",
"updatedAt": "2025-01-15T10:30:00Z"
}
]
}