Limits and quotas
Every service has limits. They keep one runaway query, function or integration from degrading the platform for everyone else in a tenant, and keep individual changes small enough for a person to review. This page lists the limits the platform service enforces today, their scope and how each one is changed. Other limits are set per implementation
:runBatch running each request as its own actionIn the platform today
- The platform service enforces every limit in the tables below, with the defaults, maximums and settings shown: queries and the SQL workspace, actions, attachments and calls to real systems, functions, agents and agent runs, webhooks, and data, connectors and audit
- Rate limits for API clients, utilization reporting and other limits
How limits work
Limits are enforced by the service that owns the resource, at the moment the resource is used. The object query service checks hops when it plans a query, and the action service counts edits before it commits. A request that exceeds a limit fails fast with a specific error code from the error catalogue, such as TOO_MANY_HOPS or EDIT_LIMIT_EXCEEDED, and never partially succeeds
Each limit below has a scope, the thing it is counted against: a tenant, an object type, a function, an agent, an action or a single request. A limit with a setting is changed in the ontology's settings, the definition it belongs to or the service environment; the rest are fixed in the service
Ontology and modelling
Limits on types, properties, links and branches are set per implementation, and a well-built ontology rarely approaches them. Hitting one is usually a sign that a type is doing too much, for example a single Event type with thousands of sparse properties that would be clearer as several types behind an interface
Objects, queries and search
| Limit | Scope | Default | Setting |
|---|---|---|---|
| Objects per page | Request | 100 by default, 1,000 at most | Fixed |
Link hops per query (follow) | Query | 3 | Fixed |
Vertices in an $inArea geometry | Query | 10,000 | Fixed |
| SQL workspace statement | Statement | 15 s, 5,000 rows, 100,000 exported rows | sql.timeoutSeconds, rowLimit, exportLimit |
Queries that need more than three hops are often better served by a link type that captures the relationship directly, maintained by a pipeline. Each hop multiplies the work the query service does, and a direct link is both faster and easier for people to understand
Actions and writeback
Action limits double as review limits. An action that edits 10,000 objects is already more than a person can check line by line; planned bulk changes go through runBatch with a clear reason
| Limit | Scope | Default | Setting |
|---|---|---|---|
| Edits per action | Action | 10,000; :runBatch runs each request as its own action | Fixed |
| Size of one attached file | File | 200 MB | files.maxSize |
| Objects one file can be attached to | File | 10 | files.maxObjects |
| Time an upload waits to be attached | File | 24 hours, then purged | files.keepUnattached |
| Timeout of one call to a real system | Call | 20 s, 180 s at most | timeoutSeconds |
Chained calls before a call (first:) | Call | 4 deep | Fixed |
| Wait for a concurrency or rate slot | Call | 5 s, then a temporary failure. The slots are counted across every copy of the service | Fixed; set concurrency and rateLimit per system |
Call history in ops.call_runs | Tenant | Six months, bodies up to 64 KB each | Fixed |
| Writeback attempts before the dead-letter state | Writeback | 5 | Fixed |
| Comment length | Comment | 4,000 characters | discussion.maxLength |
| Undo in a scheduling draft | Draft | The last 50 changes | Fixed |
Functions, agents and models
Function limits apply to each call, whoever makes it: an action computing edits, an agent using the function as a tool or an app calling it through the API. A TypeScript function can ask for more time or heap in its definition, up to the maximum. Functions run with the caller's permissions
| Limit | Scope | Default | Setting |
|---|---|---|---|
| Time per TypeScript function call | Function call | 5 s, 30 s at most | timeoutMs; the default and highest value are set per implementation |
| Heap per TypeScript function call | Function call | 128 MB, 1 GB at most | memoryMB; the default and highest value are set per implementation |
| Reads per TypeScript function call | Function call | 500 | Set per implementation |
| Agent steps | Agent | 16, 64 at most | stepLimit in the agent's definition |
| Model steps for an agent team | Agent team | 40, 160 at most | stepLimit in the team's definition |
The step limit is a safety control as much as a capacity one. A run that reaches it ends with status limit_reached and keeps its trace, which usually shows a tool that returns too much or too little. Raise the limit for an agent only after reading a few of those traces
Agent runs
Runs work in the background on each copy of the service, and these limits are per copy. Past a queue or per-person limit the start is refused with 429, which is safe to retry. Agent runs describes questions and batches
| Limit | Scope | Default | Setting |
|---|---|---|---|
| Runs working at once | Copy of the service | 4 | Set per implementation |
| Runs waiting for a worker | Copy of the service | 50, then AGENT_QUEUE_FULL | Set per implementation |
| Runs queued or running for one person | Person | 3, then AGENT_PER_PERSON; automation runs have their own share per owner | Set per implementation |
Wait for the finished run (?wait=) | Request | 60 s at most | Fixed |
| Questions in one ask | Run | 1 to 5 | Fixed |
| Time a question waits for an answer | Run | 24 hours, then expired | askTimeoutHours on the agent; the default is set per implementation |
| Batches running | Copy of the service | 10, then BATCHES_FULL | Set per implementation |
| Batches running for one person | Person | 3, then BATCHES_PER_PERSON | Set per implementation |
| Objects in one batch | Batch | 1,000, then BATCH_TOO_LARGE | Set per implementation |
| Runs of one batch at once | Batch | 4, and never more than half of the runs working at once on a copy, which also caps all batches on a copy together | parallel on the batch |
| Heartbeat of a running run | Run | Every 15 s; a run with none for 2 minutes ends interrupted | Fixed |
API, SDK and webhooks
| Limit | Scope | Default | Setting |
|---|---|---|---|
| Webhook subscriptions per tenant | Tenant | 50 | webhooks.maxSubscriptions |
| Webhook body size | Delivery | 256 KB; above it the event's data is replaced with {"truncated": true, "size": …} | Fixed |
| Concurrent deliveries per webhook subscription | Subscription | 10, 50 at most | maxConcurrency |
| Webhook retry window | Subscription | 72 hours | retry.windowHours |
| Webhook delivery log | Subscription | 30 days | retentionDays |
On request, rate limits per API client, with headers on every response that tell a client where it stands
Data, connectors and audit
| Limit | Scope | Default | Setting |
|---|---|---|---|
| Edge outbox | Edge agent | 72 hours, 2 million records or 1 GiB, whichever comes first | maxAge, maxRecords, maxSize |
| Rows per inbound push | Request | 10,000 | rows.maxRows |
| Rows kept in quarantine | Check, per build | 10,000 | Fixed |
| Rejected rows listed on a sync run | Sync run | The first 50 | Fixed |
| Wait for a pipeline build already running | Pipeline | 5 s, then RUN_IN_PROGRESS | Set per implementation |
| Retention grace period before a purge | Policy | 7 days | retention.graceDays |
| Tables purged per retention pass | Tenant | 20 | retention.maxTablesPerPass |
| Erasure request deadline | Request | 30 days, one extension of the same length | erasure.deadlineDays |
| Resolved monitor alerts and their history | Tenant | 30 days | Fixed |
Past its bounds, an edge agent drops its oldest records and counts them, with a warning in its log. Sites that expect longer outages can raise maxAge and maxSize on the agent, or run a disconnected deployment with a local connector host, which has no such window
Requesting an increase
Ask your Markland Street contact to raise a limit, with the scope, the value you need and why
Raising a limit does not change what you pay. Usage-based costs such as model tokens or storage follow your agreement, and the pricing page describes how they are measured