Get one workspace
const url = 'https://your-org.evershell.ai/v1/workspaces/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://your-org.evershell.ai/v1/workspaces/example \ --header 'Authorization: Bearer <token>'Permissions: workspace:read (org-wide) or
workspace:read:own (caller must be the workspace’s
creator — 403 workspace_not_visible otherwise).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”OK
object
Archived workspaces keep their status (typically stopped)
and carry a non-null archived_at; archive is not a status
value.
Populated when Stop ran against a pod that no longer existed and the snapshot save failed — paired with an empty snapshot_ref. Cleared on the next successful snapshot.
Set on forked workspaces; references the parent.
Set on forked workspaces; references the snapshot the fork was created from.
Set on forked workspaces; how many parent tasks were included before the fork boundary.
Whether the workspace’s running pod reflects the role’s current pack set. Computed at fetch time, not persisted.
Set when the workspace has been archived; null otherwise.
Example
{ "id": "ws_01HZ", "status": "provisioning", "pack_status": "current"}Caller lacks the required scope, or cross-org access attempted
object
object
Closed-enum slug (e.g. permission_denied, validation_error, workspace_not_found)
Human-readable summary
Server-generated request id for correlating logs
Optional structured context. Validation errors land at
details.fields as a per-field map.
object
Example
{ "error": { "code": "permission_denied", "message": "caller lacks required scope", "request_id": "7f3a9c2e" }}Resource not found in the caller’s org
object
object
Closed-enum slug (e.g. permission_denied, validation_error, workspace_not_found)
Human-readable summary
Server-generated request id for correlating logs
Optional structured context. Validation errors land at
details.fields as a per-field map.
object
Example
{ "error": { "code": "permission_denied", "message": "caller lacks required scope", "request_id": "7f3a9c2e" }}