> For the complete documentation index, see [llms.txt](https://docs.kognitos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kognitos.com/guides/resources/platform-limits.md).

# Platform Limits

File, document, browser, and API limits to design your automations around.

This page lists the limits that apply when your automations work with files, documents, browser sessions, and the API. Use it to design automations that stay inside what the platform supports.

Each figure is one of two types:

* **Hard limit**: the platform enforces it. Going past it fails the request or leaves data out.
* **Recommended maximum**: nothing stops you from going past it, but behavior beyond it is untested. Design to stay below it.

{% hint style="info" %}
This page only lists limits that have an established figure. If something you need is not listed, do not assume it is unlimited. Contact your Kognitos account team.
{% endhint %}

## Files and Documents

| Limit                                                                                           | Hard Limit                                                       | Recommended Maximum |
| ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ------------------- |
| Size of an uploaded file                                                                        | 800 MB per file                                                  | None                |
| Size of a document read by [IDP](https://docs.kognitos.com/guides/platform/integrations/idp.md) | 500 MB per document                                              | None                |
| Pages read by one IDP action                                                                    | 100 pages, or 20 pages with an AWS Bedrock connection            | None                |
| Size of an Excel file                                                                           | 500 MB to read, 50 MB to write                                   | About 100,000 rows  |
| Records in a collection                                                                         | 1,000,000 records each in the draft and the published collection | None                |

{% hint style="warning" %}
IDP reads only the first 100 pages of a document and skips the rest without an exception. If several documents together exceed 100 pages, the action fails instead. **Read content from documents** reads the first 50 pages of each document by default.
{% endhint %}

IDP sends the pages of a document to the model as images in a single request, so the page count matters more than the file size. If your IDP connection uses an Anthropic API key, Anthropic rejects any request over 32 MB, and as few as 20 scanned or image-heavy pages can exceed it. Split long documents with **Extract subdocuments from a document** before you extract from them.

The Excel size limits apply to version 1.5.0 and later of the Excel integration.

An import or insert that would take a collection past 1,000,000 records fails.

## Browser

These limits apply to the [Browser](https://docs.kognitos.com/guides/platform/integrations/browser.md) integration.

| Limit                                      | Hard Limit                                                | Recommended Maximum                          |
| ------------------------------------------ | --------------------------------------------------------- | -------------------------------------------- |
| Idle time before a session closes          | 30 minutes without a browser action                       | None                                         |
| Files returned by **Get downloaded files** | 10 MB per file, 20 MB in total                            | None                                         |
| Size of a table read from a page           | The read must finish within 15 seconds, about 1,000 cells | About 700 cells (rows multiplied by columns) |

{% hint style="warning" %}
Files over the download limit are left out of the result without an exception, and the action still succeeds. In version 4.3.1 and later of the Browser integration, the result's **skipped downloads** lists each file that was left out and why. If your automation depends on a download, check that the file is in the result.
{% endhint %}

Watching a session through its live view does not count as activity. A session that is only being watched still closes after 30 minutes.

## API

| Limit                          | Hard Limit                   | Recommended Maximum |
| ------------------------------ | ---------------------------- | ------------------- |
| Duration of a REST API request | 15 seconds for most requests | None                |

A request that runs longer than 15 seconds fails with HTTP `504`. A few endpoints that stream results or wait on agent work, such as run events and agent conversations, allow longer.
