> For the complete documentation index, see [llms.txt](https://docs.patascore.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patascore.com/mpesa-operations/extraction-status.md).

# Extraction Status

## Extraction Status

<mark style="color:blue;">`GET`</mark> `{{BASE_URL}}/api/v1/statement/mpesa/status?reference_id=:reference_id`

This endpoint allows you to get the extraction status of an uploaded statement

#### Query Parameters

| Name                                            | Type   | Description            |
| ----------------------------------------------- | ------ | ---------------------- |
| reference\_id<mark style="color:red;">\*</mark> | String | statement reference id |

#### Headers

| Name                                             | Type   | Description                 |
| ------------------------------------------------ | ------ | --------------------------- |
| Authentication<mark style="color:red;">\*</mark> | String | Authentication bearer token |

{% tabs %}
{% tab title="200 Status successfully retrieved." %}

```json
{
   "status":200,
   "message":"Extraction process status successfully fetched",
   "data":{
      "message":"Statement scoring in progresss",
      "status":1
   }
}
```

{% endtab %}
{% endtabs %}
