---
title: "Restore a source on my computer"
method: POST
path: "/v1/computers/{computerId}/sources/{sourceKey}/restore"
tags: ["Devices"]
---

# Restore a source on my computer

`POST /v1/computers/{computerId}/sources/{sourceKey}/restore`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/computers/{computerId}/sources/{sourceKey}/restore`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Lets the computer owner restore a source's saved access on every sign-in grouped under that computer. The organization and each sign-in's own choices still apply.

## Path parameters

- `computerId` string, typeid, required
- `sourceKey` union, required
  - 'workbot' | 'owner' | 'owner_whole_vm'
  - string, typeid: Den TypeID with 'rdv_' prefix and a 26-character base32 suffix.

## Response `200`

The source and its updated access.

- object
  - `source` ComputerSourceAccess, required
    - `key` string, required
    - `label` string, required
    - `scope` 'sandbox' | 'whole_computer', required
    - `folders` string[], required
    - `writableFolders` string[]
    - `revokedAt` string, date-time, nullable, required
    - `revokedBy` string, nullable, required: The name of the member who revoked access, or their email if no name is available.

## Other responses

- `400`: Invalid computer or source.
- `401`: Sign in required.
- `404`: The computer or source was not found, or Computers is off.

## Changes

- **2026-11-28** `6aa21cd7a1ac`: 1 info
  - added the optional property `source/writableFolders` to the response with the `200` status
- **2026-11-28** `974b1bd609d3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/computers/:computerId/sources/:sourceKey/restore/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
