Create Workspace Endpoint
curl --request POST \
--url https://api.formbharo.artpark.ai/api/v1/workspaces \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'import requests
url = "https://api.formbharo.artpark.ai/api/v1/workspaces"
payload = { "name": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"agent_count": 123,
"id": "<string>",
"is_personal": true,
"name": "<string>",
"owner_email": "<string>",
"role": "admin"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Workspaces
Create Workspace Endpoint
Create a new workspace owned by the current user.
POST
/
api
/
v1
/
workspaces
Create Workspace Endpoint
curl --request POST \
--url https://api.formbharo.artpark.ai/api/v1/workspaces \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'import requests
url = "https://api.formbharo.artpark.ai/api/v1/workspaces"
payload = { "name": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"agent_count": 123,
"id": "<string>",
"is_personal": true,
"name": "<string>",
"owner_email": "<string>",
"role": "admin"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Body
application/json
Name of a new workspace to create.