Create Workspace
POST/organizations/:org_id/workspaces
Create Workspace
Request
Path Parameters
- application/json
Body
required
- MOD1
- MOD1
description
object
anyOf
string
type
object
anyOf
string
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD1
- MOD1
Array [
Array [
- MOD1
- MOD1
Array [
]
]
]
Default value: 2024-11-20 07:07:31.664723+00:00
Default value: 2024-11-20 07:07:31.664833+00:00
description
object
anyOf
string
type
object
required
anyOf
string
members
object
anyOf
roles
object[]
required
Possible values: [owner
, viewer
, editor
, evaluator
, workspace_admin
, deployment_manager
]
role_description
object
anyOf
string
permissions
object
anyOf
string
Possible values: [read_system
, view_application
, edit_application
, create_application
, delete_application
, create_app_variant
, delete_app_variant
, modify_variant_configurations
, delete_application_variant
, view_app_environment_deployment
, edit_app_environment_deployment
, create_app_environment_deployment
, view_testset
, edit_testset
, create_testset
, delete_testset
, view_evaluation
, run_evaluations
, edit_evaluation
, create_evaluation
, delete_evaluation
, deploy_application
, view_workspace
, edit_workspace
, create_workspace
, delete_workspace
, modify_user_roles
, add_new_user_to_workspace
, edit_organization
, delete_organization
, add_new_user_to_organization
]
{
"created_at": "2024-11-20 07:07:31.664723+00:00",
"updated_at": "2024-11-20 07:07:31.664833+00:00",
"id": "string",
"name": "string",
"description": "string",
"type": "string",
"organization": "string",
"members": [
null
]
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}