> For the complete documentation index, see [llms.txt](https://docs.synoptic.com/s/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.synoptic.com/s/reference/limits.md). Agents can also search and read this documentation through its [MCP server](https://docs.synoptic.com/s/~gitbook/mcp).

# Limits

Rate limits, connection limits and size limits for the Synoptic WebSocket, REST and MCP APIs, and for guest access.

## Guest access

| Limit                               | Value                                                                                                                                |
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Delay                               | 10 seconds, set by the server                                                                                                        |
| Posts                               | The 30 latest. No paging, date range or search.                                                                                      |
| Streams per guest WebSocket         | 1 to 10 `streamIds`                                                                                                                  |
| Open guest WebSocket connections    | 5 per IP address                                                                                                                     |
| Guest WebSocket connection lifetime | 15 minutes, then `Connection lifetime reached, please reconnect`                                                                     |
| Guest REST `limit`                  | 1 to 30, default 30                                                                                                                  |
| Streams                             | Active public streams with API access and no custom targets                                                                          |
| Rate                                | Per-IP limits at the firewall on the guest WebSocket and REST preview; 120 anonymous MCP tool calls per minute per client IP address |

See [Guest access](https://docs.synoptic.com/s/guest-access.md).

## WebSocket

### Connection attempts

Counted per API key on `on-stream-post`, `add-stream-post` and `on-time-series`, including attempts that fail. When a window is exceeded, new connections are refused for the block time.

| Window     | Attempts allowed | Blocked for |
| ---------- | ---------------- | ----------- |
| 1 minute   | 60               | 20 seconds  |
| 15 minutes | 120              | 60 seconds  |
| 1 hour     | 480              | 60 seconds  |
| 24 hours   | 2,000            | 60 seconds  |

A refused connection gets an `info` message such as `Connection rate limit exceeded (61/60 attempts in 60 s)` and is closed.

### Open connections per API key

| Key                            | Open connections |
| ------------------------------ | ---------------- |
| Reader key, standard account   | 2                |
| Reader key, Pro account        | 5                |
| Reader key, Enterprise account | 10               |
| Key with publish permission    | 30               |

`on-time-series` connections are counted separately from `on-stream-post` and `add-stream-post`. One more connection gets `Session limit exceeded. Allowed: N, Current: N` and is closed.

### Other WebSocket limits

| Limit                                                         | Value                                              |
| ------------------------------------------------------------- | -------------------------------------------------- |
| `lastPosts` on `on-stream-post`                               | 1 to 50, in total across all streams               |
| `keep-alive` frame                                            | Every minute                                       |
| Series per `on-time-series` connection                        | 20                                                 |
| Points per `time-series` message                              | 1,000                                              |
| Labels per point                                              | 16, after merging message and point labels         |
| Label key                                                     | `^[a-z][a-z0-9_]{0,31}$`                           |
| Label value                                                   | 1 to 64 characters                                 |
| Point time                                                    | After 1970 and at most 24 hours in the future      |
| Source route filter fields                                    | 1 to 500                                           |
| Source route filter values per field                          | 1 to 100                                           |
| Source route filter field path or value                       | Up to 256 characters                               |
| Source route record, including all filters and other settings | 400 KiB total                                      |
| Restart notice                                                | About 30 seconds between the warning and the close |

## REST

| Limit                                         | Value                |
| --------------------------------------------- | -------------------- |
| `GET /v1/streams/{streamId}/posts`            | 1 request per second |
| `GET /v1/streams/{streamId}/posts/search`     | 1 request per second |
| `GET /v1/streams/{streamId}/enterprise-posts` | 1 request per second |
| `limit` on posts and search                   | 1 to 50, default 50  |
| `limit` on enterprise posts                   | 1 to 50, default 10  |
| `offset` on search                            | 0 to 9,800           |
| `limit` on `GET /v1/streams`                  | 1 to 50, default 10  |

The posts limit is tracked per `x-api-key`, or per IP address without one. Over a limit, the API answers HTTP 429.

## MCP

| Limit                                                                                                                       | Value                                                                 |
| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| `follow_user`, `follow_stream`, `create_stream_post`, `update_profile`, `set_username`, `request_stream`, `request_feature` | 120 calls per hour each, per account                                  |
| Other tools that change data                                                                                                | 30 calls per minute in total, per account                             |
| `get_stream_posts` `limit`                                                                                                  | 1 to 50, default 10 signed in; default and maximum 30 without sign-in |
| Anonymous `get_stream_posts`                                                                                                | The 30 latest posts, 10 seconds late                                  |
| Anonymous calls                                                                                                             | 120 tool calls per minute in total, per client IP address             |

Over a limit, the call fails with HTTP 429 and a `Retry-After` header. See [MCP](https://docs.synoptic.com/s/mcp/mcp.md#tools).
