---
title: "Retrieve the binary data of an extraction that has completed succesfully."
method: GET
path: "/results/extract/file"
tags: ["Results"]
---

# Retrieve the binary data of an extraction that has completed succesfully.

`GET /results/extract/file`

The binary data can be converted back to the specified extraction file format. 
You can obtain the file ID (fileId) of an extraction by using the results/extract/{id} endpoint.
User groups who are denied access permission for personally identifiable information (PII) cannot export results containing PII.

## Query parameters

- `extractionId` integer, required
- `fileId` integer, required

## Headers

- `Accept-Version` string

## Response `200`

Retrieve the binary data of the requested extraction file.

## Other responses

- `401` — The request must be authenticated using the Authorization HTTP header
- `403` — The authenticated user does not have permission to extract results from this survey. User groups who are denied access permission for personally identifiable information (PII) cannot export results containing PII.
- `404` — The requested extraction task or file does not exist.

---

[API](https://skmtc.net/voxco/apis/acuity-webapi-1-0.md) · [All operations](https://skmtc.net/voxco/apis/acuity-webapi-1-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voxco/acuity-webapi-1-0/revisions/2ea4b8555197/schema)
