Mutation
mutation CreateWorkspace($input: CreateWorkspaceInput!) {
createWorkspace(input: $input) {
workspace {
name
uid
createdAt
dbtVersion
supportedDbtVersions
dbtPartialParsing
}
}
}Variables
{
"input": {
"name": "string"
}
}Response
{
"data": {
"createWorkspace": {
"workspace": {
"name": "string",
"uid": "string",
"createdAt": "value",
"dbtVersion": "string",
"supportedDbtVersions": [
"string"
],
"dbtPartialParsing": true
}
}
}
}createWorkspace
Creates a workspace with no members, and lets the calling company API key reach it. Invite its first admin with createUser. Needs a company API key with workspaces:create.
MUTATION
createWorkspace(input: CreateWorkspaceInput!): CreateWorkspacePayload!Arguments
input
required
The workspace to create.
Returns
workspace
The new workspace, or the existing one when the same input was sent before.
Mutation
mutation CreateWorkspace($input: CreateWorkspaceInput!) {
createWorkspace(input: $input) {
workspace {
name
uid
createdAt
dbtVersion
supportedDbtVersions
dbtPartialParsing
}
}
}Variables
{
"input": {
"name": "string"
}
}Response
{
"data": {
"createWorkspace": {
"workspace": {
"name": "string",
"uid": "string",
"createdAt": "value",
"dbtVersion": "string",
"supportedDbtVersions": [
"string"
],
"dbtPartialParsing": true
}
}
}
}