Get Workspace by Id
GET/api/workspaces/:id/
Returns a single workspace by id.
Request
Path Parameters
A unique integer value identifying this workspace.
Responses
- 200
- 401
- 403
- 404
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Possible values: non-empty and <= 128 characters
The name of the workspace.
Possible values: non-empty, Value must match regular expression ^[-a-zA-Z0-9_]+$
The unique slug representation of the workspace if it is public.
A description about the workspace and its usage.
The workspace creation date. The value is in ISO 8601 format.
The date the workspace was last updated. The value is in ISO 8601 format.
Possible values: [INTERNAL, PRIVATE]
Possible values: [PROJECT, DEVELOPMENT, PUBLIC, TEST]
app
object
Possible values: non-empty
Human-readable app name.
app_builder
object
The id of the Conversation.
The id of the in-preview CodeRevision.
The id of the currently active CodeRevision.
The id of the previously active CodeRevision.
The id of the first created CodeRevision.
The id of the latest created CodeRevision.
DEPRECATED
app_version
object
Possible values: non-empty
Unique version tag for the application.
Possible values: [CREATED, UPLOADING, PACKING, CHECKING, PUBLISHING, PUBLISHED, ERROR, ERROR_WITH_ACTION_REQUIRED]
Status of the app version. It can be one of CREATED, UPLOADING, PACKING, CHECKING, PUBLISHING, PUBLISHED, ERROR, ERROR_WITH_ACTION_REQUIRED
Possible values: [tree, simple, editor]
Shows the application type. It can be one of tree,simple,editor
Possible values: non-empty
Python version of the version. Supported versions are: 3.7, 3.8, 3.9, 3.10, 3.11
Possible values: non-empty
Connector version.
App version creation date. The value is in ISO 8601 format.
Possible values: [User, CI]
Type of the instance creating. It can be one of User, CI
Returns the creating instance id.
Default value: [object Object]
Context dictionary which is provided in publishing flow.
Progress steps of the app version statuses.This field returns list of dictionary having name, detail, status, started_at, and finished_at. It can be one of AWAITING, STARTED, FINISHED, FINISHED_WITH_WARNINGS, ERROR
errors
object[]
Possible values: non-empty
The error code. Check the codes reference for more information.
Extra information related to the context of the error. Check the codes reference for more information.
Possible values: non-empty
An image (b64 encoded, <1MB) visible on the workspace card.
Returns whether the workspace is dev.
Returns the owner id of a development workspace. This field is null when is_dev is false.
Returns whether the workspace is initialized with entity types.
Returns whether the workspace is archived.
Shows whether runners are ready for jobs.
labels
object[]
Possible values: non-empty and <= 30 characters
Possible values: <= 100 characters
Possible values: non-empty and <= 6 characters
project
object
Possible values: non-empty and <= 128 characters
Possible values: <= 512 characters
Possible values: [INTERNAL, PRIVATE]
Timestamp that this workspace was last used by the requesting user.
The calculated total daily unique sessions in case of PROJECT workspace, and the number of views (count editor sessions) in case of PUBLIC workspace
The calculated total daily unique sessions in case of PROJECT workspace, and the number of views (count editor sessions) in case of PUBLIC workspace (in the last 30 days).
Possible values: <= 2147483647
Target total users.
Possible values: <= 2147483647
Target monthly active users.
Possible values: <= 2147483647
Target daily active users.
{
"id": 0,
"name": "string",
"slug": "string",
"description": "string",
"created_at": "2025-11-07T16:05:09.030Z",
"updated_at": "2025-11-07T16:05:09.030Z",
"visibility": "INTERNAL",
"type": "PROJECT",
"app": {
"id": 0,
"name": "string",
"readable_name": "string"
},
"app_builder": {
"id": 0,
"conversation_id": 0,
"current_preview_code_revision_id": 0,
"current_active_code_revision_id": 0,
"previous_active_code_revision_id": 0,
"first_created_code_revision_id": 0,
"latest_created_code_revision_id": 0,
"latest_code_revision_id": 0
},
"app_version": {
"id": 0,
"tag": "string",
"is_conflicted": true,
"status": "CREATED",
"app_type": "tree",
"sdk_version": "string",
"oauth2_integrations": "string",
"python_version": "string",
"connector_version": "string",
"created_at": "2025-11-07T16:05:09.030Z",
"created_by_type": "User",
"created_by_instance": 0,
"created_by_context": {},
"progress": [
{}
]
},
"errors": [
{
"code": "string",
"context": {}
}
],
"image": "string",
"is_dev": true,
"owner": 0,
"is_initialized": true,
"is_archived": true,
"is_active": true,
"labels": [
{
"id": 0,
"name": "string",
"description": "string",
"color": "string",
"number_of_apps": 0,
"number_of_workspaces": 0
}
],
"project": {
"id": 0,
"name": "string",
"description": "string",
"visibility": "INTERNAL"
},
"default_group": 0,
"user_last_visit": "2025-11-07T16:05:09.030Z",
"nr_views": 0,
"nr_views_last_30_days": 0,
"target_total_users": 0,
"target_monthly_active_users": 0,
"target_daily_active_users_per_month": 0,
"start_entity_id": 0
}
No authentication found or authentication is not correct.
Specified path is not allowed
Permission evaluation:
Is Authenticated AND Is Not App AND Workspace Permission
Descriptions:
Is Authenticated : Allows access only to authenticated users.
Workspace Permission : Checks whether the user has access rights to the workspace.
Is Not App : Client must not be a VIKTOR app.
Workspace does not exist.