POST
/v1/bucketsCreate bucketCreates a new object-store bucket in the specified project.
Request body
application/json
object
branchGitNamestringGit name of the branch to associate the bucket with. Mutually exclusive with branchId.
branchIdstringID of the branch to associate the bucket with. Mutually exclusive with branchGitName.
logicalIdstringDeclared identity of the resource, unique within its branch. Set by the tool that declares the resource.
namestringDisplay name for the bucket. Generated if omitted.
projectIdstringrequiredID of the project to create the bucket in
{
"branchGitName": "string",
"branchId": "string",
"logicalId": "string",
"name": "string",
"projectId": "string"
}Responses
object
dataobjectrequiredShow child attributes
branchIdnull | stringrequiredcreatedAtstring · date-timerequiredidstringrequiredlogicalIdnull | stringrequirednamestringrequiredprojectobjectrequiredShow child attributes
idstringrequirednamestringrequiredurlstring · urirequiredproviderNamestringrequiredstatusstringrequiredtypestringrequiredurlstring · urirequired{
"data": {
"branchId": "string",
"createdAt": "2026-06-09T00:00:00Z",
"id": "string",
"logicalId": "string",
"name": "string",
"project": {
"id": "string",
"name": "string",
"url": "https://example.com"
},
"providerName": "string",
"status": "string",
"type": "bucket",
"url": "https://example.com"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}