# Exporting Submissions

There are two ways in which you can get data out of CodeGrade. Using the assignment export or by using our API.

## Using the assignment export

You can easily export all submissions and all grade and feedback data of an assignment. You can also filter the export using search or by assigned user.

![Downloading all submissions in CodeGrade](/files/XeM69X0TZ2j6VfbicJaw)

1. Navigate to the **Assignment Home** page of the assignment you want to download submissions for.
2. Navigate to the **"Export" tab**.
3. Click "**Export files**" to download an archive containing all submissions or "**Export Metadata**" to export the grade and feedback data to a CSV.

## Using the API

You can easily create extensible API scripts to get any sort of data out of CodeGrade. CodeGrade comes with a Python package so you can easily write scripts.

[Click here to go to the Python API documentation.](https://python.api.codegrade.com/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.codegrade.com/faq/exporting-submissions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
