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

✨ List workspaces

<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> List all workspaces for your organization. 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>

Query parameters

include_all_workspacesbooleanOptional

Include all workspaces in the organization, including other users’ personal workspaces. Only effective for users with Administrator or Owner role. When enabled, the response includes created_by_user info for personal workspaces.

is_personalbooleanOptional
Workspace is a personal user workspace.
orderingstringOptional
Which field to use when ordering the results.

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