Skip to main content
POST
/
workspaces
Create worspace
curl --request POST \
  --url https://api.blaxel.ai/v0/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "accountId": "<string>",
  "displayName": "<string>",
  "id": "<string>",
  "labels": {},
  "name": "<string>",
  "region": "<string>",
  "runtime": {
    "generation": "<string>"
  },
  "status": "<string>",
  "statusReason": "<string>"
}'
{
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "accountId": "<string>",
  "displayName": "<string>",
  "id": "<string>",
  "labels": {},
  "name": "<string>",
  "region": "<string>",
  "runtime": {
    "generation": "<string>"
  },
  "status": "<string>",
  "statusReason": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Workspace Time fields for Persistance Owner fields for Persistance

createdAt
string

The date and time when the resource was created

updatedAt
string

The date and time when the resource was updated

createdBy
string

The user or service account who created the resource

updatedBy
string

The user or service account who updated the resource

accountId
string

Workspace account id

displayName
string

Workspace display name

id
string

Autogenerated unique workspace id

labels
object

Workspace labels

name
string

Workspace name

region
string

Workspace write region

runtime
object

Workspace runtime

status
string

Workspace status (created, account_binded, account_configured, workspace_configured, ready, error)

statusReason
string

Reason for current status (only set for error status)

Response

200 - application/json

successful operation

Workspace Time fields for Persistance Owner fields for Persistance

createdAt
string

The date and time when the resource was created

updatedAt
string

The date and time when the resource was updated

createdBy
string

The user or service account who created the resource

updatedBy
string

The user or service account who updated the resource

accountId
string

Workspace account id

displayName
string

Workspace display name

id
string

Autogenerated unique workspace id

labels
object

Workspace labels

name
string

Workspace name

region
string

Workspace write region

runtime
object

Workspace runtime

status
string

Workspace status (created, account_binded, account_configured, workspace_configured, ready, error)

statusReason
string

Reason for current status (only set for error status)

I