---
agentTools:
  projectIndex: https://developer.bill.com/llms.txt
---

# Documents API improvements

In the documents API response, we have introduced two new fields - `scanStatus` and `numOfPages`. In all the documents API responses, you can now get detailed information about an uploaded document. This information includes the document scan status and the number of pages in a `CLEAN` document.

| Field        | Description                                                                                       |
| :----------- | :------------------------------------------------------------------------------------------------ |
| `scanStatus` | Document scan status (`NOT_SCANNED`, `CLEAN`, `INFECTED`, `IN_QUEUE`, `REJECTED`, or `UNDEFINED`) |
| `numOfPages` | Number of pages in the document                                                                   |

See <Anchor label="GET /v3/documents" target="_blank" href="https://developer.bill.com/reference/listdocuments">GET /v3/documents</Anchor> in the API reference for more information.

<br />