# MAX_UPSTREAM_MESSAGE_BYTES

<!-- https://uncage.vercel.app/docs/api/agent/variables/max_upstream_message_bytes/ -->

```ts
const MAX_UPSTREAM_MESSAGE_BYTES: number;
```

Defined in: agent/src/transport/http.ts:22

Largest single upstream message (`{id,msg}` JSON).
