API ReferenceWorkspace
workspace.create
Type: Mutation · Auth: Authenticated
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | Yes | — | Name |
| key | string | Yes | — | Key |
| description | string | No | — | Description |
| workspaceType | enum(master, standard, template_based, archived) | Yes | "standard" | Workspace type |
| status | enum(active, archived) | Yes | "active" | Status |
| parentWorkspaceId | string | No | — | ID of the associated parent workspace |
| createdBy | string | No | — | Created by |
| archivedAt | string.date-time | No | — | Archived at |
| archivedBy | string | No | — | Archived by |
Example
{
"name": "Example Name",
"key": "example",
"description": "A description",
"workspaceType": "master",
"status": "active",
"parentWorkspaceId": "550e8400-e29b-41d4-a716-446655440000"
}