Skip to content
Changelog

Report a bug

Limits

This page lists the limits that Type applies to code automations. Limits can change. If a limit stops your work, tell us.

ItemLimitIf you go over it
Run time180 seconds for each runThe run fails with a QuickJS timeout.
VM memory1 GiBThe run fails with “QuickJS execution failed”.
VM stack1 MiBThe run fails with “QuickJS execution failed”.
Concurrent setTimeout timers256The run fails.
Concurrent setInterval timers10The run fails.
Runs at the same time1 for each automation, for all its subscriptionsOther runs wait in a queue.
Automatic retries of a failed runNone. A repair runs the original event one time to verify the fix.The automation pauses. See Troubleshoot and Fix Failed Runs.

These apply to ctx.tools, ctx.read, ctx.write, and replyInSlackThread.

ItemLimitIf you go over it
Requests in a run128Later requests fail with “QuickJS API request budget exceeded”.
Requests in progress at the same time8The extra request fails, and it still counts toward the 128.
Action log requests in a run200 (100 actions)The action fails.
Request body1 MiBThe request fails as not valid.
Request URL8,192 charactersThe request fails as not valid.
Response body2 MiBThe request fails with “paginate the request”.
Request timeoutThe rest of the run timeThe request fails with timeout.
Effect key200 characters. Letters, digits, and ._:/-. Starts with a letter or digit.The request fails with “automationEffectKey is invalid”.

In fixtures, the request and concurrency limits are not checked.

ItemLimit
Output, checkpoint, report, handoffs, and action logs together2 MiB of UTF-8 JSON
ctx.setOutput() valueJSON. Shares the 2 MiB.
ctx.saveCheckpoint() valueJSON. Shares the 2 MiB.
ctx.setVisualization() valueJSON. Shares the 2 MiB.
ctx.setSummary() value1 to 300 characters

If the result is larger, the run fails with “QuickJS result exceeds the 2 MiB combined limit for checkpoint, output, visualization and receipts (… bytes)”. Type does not cut the result.

ItemLimit
afterSeconds1 to 315,576,000 (10 years)
maxRuns1 to 2,147,483,647
ItemLimit
Chart points500
Chart series12
Report elements, after repeats expand200
Email report images12 chart images, 10 MiB
ItemLimit
Handoffs in a run100
effectKey1 to 500 characters
instructions1 to 10,000 characters
tools16 tools. Their schemas together must fit in 64 KiB.
evaluation.question, each criterion1 to 2,000 characters
Evaluation timeout15 seconds. A timeout starts the AI.
ItemLimit
Actions in a run100
Action ID1 to 200 characters, unique in the run
Message1 to 2,000 characters
Log (message and data)8 KiB
ItemLimit
One sandbox tool call170 seconds
exec_command output16 KiB
Sandbox readiness check60 seconds
Sandboxes1 for each automation
ItemLimit
Files256
Total size1 MiB
One file1 MiB
File path255 characters
type.json64 KiB
name200 characters, unique in the Space
description2,000 characters
Webhook adapters in a project20
Deploy time10 minutes
Deploys in progress for each folder1
Typecheck and validation60 seconds each
Typecheck errors shown6,000 characters
ItemLimit
Fixtures in fixtures.json20
Fixture name120 characters
expectedError2,000 characters
toolResponses128 for each fixture
integrationResponses128 for each fixture
Time for all fixtures4 minutes. Type runs 4 at a time.
ItemLimit
SubscriptionsNo fixed number. All settings must fit in 64 KiB.
Subscription key64 characters
title200 characters
description2,000 characters
Events for each subscription100
Event name200 characters
IntervalAt least 60 seconds, a multiple of 60
CronAt most one run each minute
Due scheduled runs started each minute100 for all of Type
ItemLimit
One event1 MiB
Debounce group100 events or 1 MiB
Debounce key paths8 paths, 16 parts each
quietPeriodMs, maxWaitMs1 ms to 24 hours
Batch delivered to a method1 to 100 events
Event schema validationDepth 32
ItemLimit
Slack eq, contains40,000 characters
GitHub text filters65,536 characters
GitHub lists100 items, 500 characters each
evaluation questions8
jev questions32
Model call evidence64 KiB
Model call timeout15 seconds
ItemLimit
Incoming body1 MiB
Incoming rate120 requests each minute for each workspace
receive call5 seconds, 32 MiB memory
setup, renew, remove call60 seconds, 32 provider requests
Events for each request100
Fixtures for each adapter2 to 20

See Webhook Adapter API.

ItemLimit
Failed runs before a pause1
Time for a repair30 minutes