Create a project (lead or admin)
POST
/v1/projects
const url = 'http://127.0.0.1:8080/v1/projects';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","case_insensitive_paths":false,"edits_fail_open":false}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://127.0.0.1:8080/v1/projects \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "case_insensitive_paths": false, "edits_fail_open": false }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
string
case_insensitive_paths
Fold path case before comparing claims, for repositories on case-insensitive filesystems.
boolean
edits_fail_open
Let agents’ edits go ahead when the coordinator cannot be reached. Off, they are refused.
boolean
Responses
Section titled “Responses”The project.
Media typeapplication/json
object
id
required
string format: uuid
org_id
required
string format: uuid
name
required
string
case_insensitive_paths
required
boolean
edits_fail_open
required
Whether agents’ edits go ahead when the coordinator cannot be reached.
boolean
created_at
required
string format: date-time
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "org_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "case_insensitive_paths": true, "edits_fail_open": true, "created_at": "2026-04-15T12:00:00Z"}The request is malformed.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example generated
{ "error": { "code": "example", "message": "example" }}No valid bearer token.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example generated
{ "error": { "code": "example", "message": "example" }}The token may not do this.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example generated
{ "error": { "code": "example", "message": "example" }}The request clashes with current state.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example generated
{ "error": { "code": "example", "message": "example" }}A rate limit or quota stopped the request. Retry-After gives seconds to wait.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example generated
{ "error": { "code": "example", "message": "example" }}Headers
Section titled “Headers”Retry-After
integer