List Branches
/api/branches
Retrieve all branches for a user.
Query Parameters
The UUID of the user whose branches to retrieve
Response
Get Branch
/api/branches/:id
Retrieve a single branch by ID.
Path Parameters
Branch UUID
Response
Branch UUID
Branch name
Owner user UUID
ISO 8601 timestamp
ISO 8601 timestamp
Create Branch
/api/branches
Create a new branch.
Body Parameters
Name of the branch
UUID of the user creating the branch
Response
Status:201 Created
Returns the created branch object.
Update Branch
/api/branches/:id
Update a branch’s title.
Path Parameters
Branch UUID
Body Parameters
New title for the branch
Response
Returns the updated branch object with a newupdatedAt timestamp.
Delete Branch
/api/branches/:id
Delete a branch and all associated data (nodes, edges, assessments, questions, answers, chat sessions, progress records).
Path Parameters
Branch UUID
Response
Status:204 No Content
No response body on success.