> For the complete documentation index, see [llms.txt](https://cqube.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cqube.sunbird.org/use-cqube/ingesting-the-data/steps-to-ingest-data-files/get-file-status-api.md).

# Get file status API

#### Here are the steps for the get file status API

**Step 1:**  Open the specified request & add the details

API Endpoint: \<domain\_name>/ingestion/file-status

HTTP Method: GET&#x20;

<figure><img src="https://lh6.googleusercontent.com/2mo-a6hRB01iXeJERI76ZtsT1Vw5SK1gT9BJ8P4oFp_a0ahdOJY0N6X-xyBizr6SUxsfF3XlkHYoGhy17GHhLzinHp-_oTCqTg0YQAgevh6noSBK15zhYyWhNgJCdjPDZ-ZOx6hFGMcoldE7drudMv4" alt=""><figcaption></figcaption></figure>

**Step 2:** Send the query parameters with reference to the YAML file. The query parameters for the above api is attached in  Link for yaml:  [ spec-ms/spec.yaml at dev · Sunbird-cQube/spec-ms](https://github.com/Sunbird-cQube/ingestion-ms/blob/dev/spec.yaml)

Provide the valid input details for the parameters shown below.

<figure><img src="https://lh4.googleusercontent.com/TgsJXYCXs1XmNr3lBHZklJCukt0HoGTpADliB9stGX_HGPVkS05cuYD1ZeyaWP4Y1_oGqvrKQtc1iz5zTJxkHwZA3T0PV-8cB2Hlyj8iR-04HVnLWEJIN9LbA8G2zVGC75EIeCaO5f4Ek2ldErey-sE" alt=""><figcaption></figcaption></figure>

**Step 3:** Click on the send button for the request and if the request is successful the user should see a response message which contains the status of the file.

<figure><img src="https://lh6.googleusercontent.com/JtKc_052YB5zo2WNvIr-HEF0iUH3UD370b2wEENX3NSHORfdRWyfjzTcV57WMkHu0N6e6Kh29CRTDg_sPNQbHSdlNwCUYJmkbj9YEjVg-XFR8ZHA3CbIF5Gv1VvS_qxYMhghuHZXMhBb-Kn_O45uerA" alt=""><figcaption></figcaption></figure>

If the csv files are too large in size, the upload process of those files will take more time which will make users wait for longer duration to receive the response from the API. As a result, the upload process will be running asynchronously and we have developed this api to know the status of the file at any particular time.<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://cqube.sunbird.org/use-cqube/ingesting-the-data/steps-to-ingest-data-files/get-file-status-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
