# No-copy mode and queued reads

No-copy mode means Desktop Books stores none of a company file's records. Each read is queued, the Web Connector runs it at the next check-in, and you collect the answer afterwards, up to an hour later on the default schedule. That suits a script that can come back later. It doesn't suit assistants: most assistants won't wait, so firms that use MCP should keep a copy.

## The two modes side by side

| | Keep an encrypted copy (the default) | Don't keep a copy |
| --- | --- | --- |
| A read answers | At once, from the last check-in | At the next check-in, up to 60 minutes later by default |
| Records stored here | Yes, encrypted, deleted when you remove the file | None. Each answer is held, encrypted, until it is read once or for 10 minutes |
| API | `200` with the data | `202` with a job id, then `GET /v1/jobs/{id}` |
| MCP assistants | Answer in the same conversation | Answer "queued, around 8:05 AM"; you ask again later |
| Google Sheets and Excel | Refresh normally | A refresh keeps the last rows and says the file keeps no copy |

You choose when you create the file (**Don't keep a copy**), and can switch on the file page at any time. **Stop keeping a copy** deletes the stored records at once. **Keep a copy** starts a new first sync at the next check-in.

## How a queued read works

1. You make a normal request. Instead of data, you get `202 Accepted` with a `Retry-After` header in seconds, a `Location` header pointing at the job, and the body shown below.
2. At the next check-in, the Web Connector runs that read against the company file and sends the answer.
3. `GET /v1/jobs/{job_id}` returns it. Before it arrives, the same call says the job is still `queued` (or `running` while QuickBooks answers) with a new `Retry-After`. The answer is held, encrypted, until you read it once or for 10 minutes after it arrives, whichever comes first. A second read of the same job answers `"status": "failed"` saying it was already collected, and once the 10 minutes pass the job id answers `404 job_not_found`.

```json
{
  "status": "queued",
  "job_id": "job_3c1e9a2f",
  "ready_after": "2026-11-29T14:05:00.000Z",
  "message": "This company file keeps no copy here. The answer arrives at the next Web Connector check-in, around 8:05 AM. Ask again then, or read /v1/jobs/job_3c1e9a2f.",
  "poll": "/v1/jobs/job_3c1e9a2f"
}
```

`ready_after` is the time of the next expected check-in, in UTC; the message says it in the company file's local time (8:05 AM here, for a file in Central time).

## Tools that can't come back later

Add `if_queued=error` and a no-copy file answers `409 no_copy_kept` straight away, with nothing queued. A scheduled job can then keep its last good data instead of treating a queued answer as an empty result. This is what the Cellfetch add-on does on a scheduled sheet refresh.

Asking the same thing again before the check-in returns the same job, not a second one. Up to 50 different reads can wait for one file's next check-in; past that, new reads get `429 queue_full` until the queue drains. A read that no check-in has run within 24 hours (the PC was off all day) expires, and you ask again.

## Most assistants won't wait

An assistant connected over [MCP](/docs/mcp) expects an answer in the same turn. With a no-copy file, every question gets back "queued, the answer arrives at the next check-in, around 8:05 AM", and you have to come back and ask the assistant to collect it with `desktopbooks_get_result`. In practice that means no answers during a conversation. If you use MCP, [Google Sheets](/docs/google-sheets) or [Excel](/docs/excel-power-query), keep a copy.

## A worked example

Assumptions: a 60-minute interval and check-ins near the top of each hour. A script asks for open invoices at 8:20 AM. It gets `202` with `ready_after` around 9:00. The 9:00 check-in runs the read, and the answer is ready a minute or two later. The script reads the job at 9:05 and gets the invoices. A script that came back at 9:20 instead would find the job gone (held 10 minutes), so poll on `Retry-After` rather than once an hour.

## Who it's for

- A firm whose client asked, in writing, that no copy of their books sits on another company's server.
- Your own scripts that queue a read and collect it after the next check-in.

For everyone else the encrypted copy is the better choice: reads answer at once and nothing about the company file's access changes.

## What we keep either way

The file's settings and label, the company name (encrypted), check-in times, record counts and a request log with only the route and status code, never record data, kept 30 days. [How the copy is encrypted and when it's deleted](/security).

Previous: [Freshness and sync](/docs/freshness-and-sync) | Next: [Errors](/docs/errors)
