Create a new workspace.
Create a new workspace.
- application/json
Request Body required
- name string required
The name of the workspace
- description string
the description of the workspace
Responses
- 200
- 400
- 401
- 403
- 409
- 500
Workspace was created
- application/json
- Schema
- Example (from schema)
Schema
- id integer
The ID of the workspace.
- name string
The name of the workspace
- description string
the description of the workspace
- created date-time
creation date
- is_beta boolean
if the workspace has beta features
- is_read_only boolean
if the workspace is read-only
{
"id": 5,
"name": "My first workspace",
"description": "This is my first workspace to test wonderful models",
"created": "2023-11-02",
"is_beta": true,
"is_read_only": true
}
The body sent is invalid. Check the error message for more details
User is not authenticated. This means token is either not present or invalid
User is read-only
The workspace name is already taken
Something is wrong with the API.
Loading...