---
title: "Retrieve all answers"
method: POST
path: "/queries/{id}/retrieve"
tags: ["Networking"]
---

# Retrieve all answers

`POST /queries/{id}/retrieve`

Start a C-MOVE SCU command as a job, in order to retrieve all the answers associated with the query/retrieve operation whose identifier is provided in the URL: https://book.orthanc-server.com/users/rest.html#performing-retrieve-c-move

## Path parameters

- `id` string, required

## Request body

- object
  - `Asynchronous` boolean — If `true`, run the job in asynchronous mode, which means that the REST API call will immediately return, reporting the identifier of a job. Prefer this flavor wherever possible.
  - `Full` boolean — If set to `true`, report the DICOM tags in full format (tags indexed by their hexadecimal format, associated with their symbolic name and their value)
  - `Permissive` boolean — If `true`, ignore errors during the individual steps of the job.
  - `Priority` number — In asynchronous mode, the priority of the job. The lower the value, the higher the priority.
  - `Simplify` boolean — If set to `true`, report the DICOM tags in human-readable format (using the symbolic name of the tags)
  - `Synchronous` boolean — If `true`, run the job in synchronous mode, which means that the HTTP answer will directly contain the result of the job. This is the default, easy behavior, but it is *not* desirable for long jobs, as it might lead to network timeouts.
  - `TargetAet` string — AET of the target modality. By default, the AET of Orthanc is used, as defined in the `DicomAet` configuration option.
  - `Timeout` number — Timeout for the C-MOVE command, in seconds

## Response `200`

- object
  - `ID` string — In asynchronous mode, identifier of the job
  - `Path` string — In asynchronous mode, path to access the job in the REST API

---

[API](https://skmtc.net/orthancserver/apis/orthanc-server.md) · [All operations](https://skmtc.net/orthancserver/apis/orthanc-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orthancserver/orthanc-server/versions/af646f6f871b/schema)
