Docs
create_workspace
Create a new workspace (a brand: a company or a side project) and become its owner. Give it a name and the IANA time zone its calendar and queue run in (for example Europe/Istanbul). When an agent creates a workspace it is granted access to it, without Autopilot.
Create a new workspace (a brand: a company or a side project) and become its owner. Give it a name and the IANA time zone its calendar and queue run in (for example Europe/Istanbul). When an agent creates a workspace it is granted access to it, without Autopilot.
Access and cost
- Kind: mutation
- Scope: account
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"name": {
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"timeZone": {
"default": "UTC",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"workspace": {
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"type": "string"
},
"name": {
"type": "string"
},
"timeZone": {
"type": "string"
},
"createdAt": {
"format": "date-time",
"type": "string"
},
"role": {
"enum": [
"owner",
"editor",
"viewer",
"commenter",
"approver"
],
"type": "string"
}
},
"required": [
"id",
"name",
"timeZone",
"createdAt",
"role"
],
"type": "object"
}
},
"required": [
"workspace"
],
"type": "object"
}Errors
[
"plan_limit_reached"
]Annotations
{
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": false,
"readOnlyHint": false,
"title": "Create a workspace"
}