Thanks to visit codestin.com
Credit goes to api.labelstud.io

✨ Create workspace

<Card href="https://humansignal.com/goenterprise"> <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/> <p style="margin-top: 10px; font-size: 14px;"> This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise) </p> </Card> Create a new workspace. Workspaces in Label Studio let you organize your projects and users into separate spaces. This is useful for managing different teams, departments, or projects within your organization. For more information, see the [Workspaces documentation](https://docs.humansignal.com/workspaces).

Authentication

Authorizationstring
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>

Request

This endpoint expects an object.
titlestringRequired1-1000 characters
Workspace name
colorstring or nullOptional<=16 characters
descriptionstring or nullOptional
Workspace description
is_archivedbooleanOptional
Workspace is archived
is_personalbooleanOptional
Workspace is a personal user workspace

Response

created_byinteger
created_by_userstring
idinteger
membershipstring
projects_countinteger or null
titlestring<=1000 characters
Workspace name
colorstring or null<=16 characters
descriptionstring or null
Workspace description
is_archivedboolean or null
Workspace is archived
is_personalboolean or null
Workspace is a personal user workspace