Skip to content
EleforkDocs
Internal preview. Elefork is not publicly available yet; APIs and hostnames may change.

Create an organization (you become its owner)

POST
/v1/orgs
curl --request POST \
--url https://api.elefork.com/v1/orgs \
--header 'Content-Type: application/json' \
--cookie elefork_session=<elefork_session> \
--data '{ "name": "example" }'
Media typeapplication/json
object
name
required
string

Example generated

{
"name": "example"
}

Created

Media typeapplication/json
object
id
required
string
name
required
string
quotas
required
object
max_branches
integer
max_running
integer
max_creates_per_min
integer
max_batch
integer
created_at
required
string format: date-time

Example generated

{
"id": "example",
"name": "example",
"quotas": {
"max_branches": 1,
"max_running": 1,
"max_creates_per_min": 1,
"max_batch": 1
},
"created_at": "2026-04-15T12:00:00Z"
}

Error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string

Example

{
"error": {
"code": "not_found"
}
}

Error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string

Example

{
"error": {
"code": "not_found"
}
}

Error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string

Example

{
"error": {
"code": "not_found"
}
}

Temporarily unavailable; retry after the Retry-After seconds. Codes: database_unavailable (the metadata database is failing over) and cube_admission (a compute node runs a sandbox shim below the platform minimum, so creates, forks, checkpoints and resets are refused until it is upgraded).

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string

Example

{
"error": {
"code": "not_found"
}
}
Retry-After
integer