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

1,000 objectsPer page, with 100 as the default page size
3 link hopsPer object set query
10,000 editsPer action, with :runBatch running each request as its own action
5 s functionsDefault per TypeScript call, 30 s at most, with 128 MB of heap

In the platform today

Built
  • 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
On request
  • 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

LimitScopeDefaultSetting
Objects per pageRequest100 by default, 1,000 at mostFixed
Link hops per query (follow)Query3Fixed
Vertices in an $inArea geometryQuery10,000Fixed
SQL workspace statementStatement15 s, 5,000 rows, 100,000 exported rowssql.timeoutSeconds, rowLimit, exportLimit
Before asking for more hops

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

LimitScopeDefaultSetting
Edits per actionAction10,000; :runBatch runs each request as its own actionFixed
Size of one attached fileFile200 MBfiles.maxSize
Objects one file can be attached toFile10files.maxObjects
Time an upload waits to be attachedFile24 hours, then purgedfiles.keepUnattached
Timeout of one call to a real systemCall20 s, 180 s at mosttimeoutSeconds
Chained calls before a call (first:)Call4 deepFixed
Wait for a concurrency or rate slotCall5 s, then a temporary failure. The slots are counted across every copy of the serviceFixed; set concurrency and rateLimit per system
Call history in ops.call_runsTenantSix months, bodies up to 64 KB eachFixed
Writeback attempts before the dead-letter stateWriteback5Fixed
Comment lengthComment4,000 charactersdiscussion.maxLength
Undo in a scheduling draftDraftThe last 50 changesFixed

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

LimitScopeDefaultSetting
Time per TypeScript function callFunction call5 s, 30 s at mosttimeoutMs; the default and highest value are set per implementation
Heap per TypeScript function callFunction call128 MB, 1 GB at mostmemoryMB; the default and highest value are set per implementation
Reads per TypeScript function callFunction call500Set per implementation
Agent stepsAgent16, 64 at moststepLimit in the agent's definition
Model steps for an agent teamAgent team40, 160 at moststepLimit 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

LimitScopeDefaultSetting
Runs working at onceCopy of the service4Set per implementation
Runs waiting for a workerCopy of the service50, then AGENT_QUEUE_FULLSet per implementation
Runs queued or running for one personPerson3, then AGENT_PER_PERSON; automation runs have their own share per ownerSet per implementation
Wait for the finished run (?wait=)Request60 s at mostFixed
Questions in one askRun1 to 5Fixed
Time a question waits for an answerRun24 hours, then expiredaskTimeoutHours on the agent; the default is set per implementation
Batches runningCopy of the service10, then BATCHES_FULLSet per implementation
Batches running for one personPerson3, then BATCHES_PER_PERSONSet per implementation
Objects in one batchBatch1,000, then BATCH_TOO_LARGESet per implementation
Runs of one batch at onceBatch4, and never more than half of the runs working at once on a copy, which also caps all batches on a copy togetherparallel on the batch
Heartbeat of a running runRunEvery 15 s; a run with none for 2 minutes ends interruptedFixed

API, SDK and webhooks

LimitScopeDefaultSetting
Webhook subscriptions per tenantTenant50webhooks.maxSubscriptions
Webhook body sizeDelivery256 KB; above it the event's data is replaced with {"truncated": true, "size": …}Fixed
Concurrent deliveries per webhook subscriptionSubscription10, 50 at mostmaxConcurrency
Webhook retry windowSubscription72 hoursretry.windowHours
Webhook delivery logSubscription30 daysretentionDays

On request, rate limits per API client, with headers on every response that tell a client where it stands

Data, connectors and audit

LimitScopeDefaultSetting
Edge outboxEdge agent72 hours, 2 million records or 1 GiB, whichever comes firstmaxAge, maxRecords, maxSize
Rows per inbound pushRequest10,000rows.maxRows
Rows kept in quarantineCheck, per build10,000Fixed
Rejected rows listed on a sync runSync runThe first 50Fixed
Wait for a pipeline build already runningPipeline5 s, then RUN_IN_PROGRESSSet per implementation
Retention grace period before a purgePolicy7 daysretention.graceDays
Tables purged per retention passTenant20retention.maxTablesPerPass
Erasure request deadlineRequest30 days, one extension of the same lengtherasure.deadlineDays
Resolved monitor alerts and their historyTenant30 daysFixed

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

Limits are not pricing tiers

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

Related