Changelog
What changed, newest first. Each entry links to the doc that explains it. Anything we deprecate is announced here first.
- Single sign-on stays when the admin who set it up leaves
An identity provider belongs to its workspace, not to the admin who added it. When that admin's account is deleted, or they're erased from the workspace at their request, the provider stays: it keeps signing people in, and any admin of the workspace can still view, change and delete it. Erasing a workspace's only admin who had added a provider is no longer refused. See Single sign-on.
- Asking for a password reset no longer tells whether an address has an account
The Forgot your password? form now answers every well-formed address with the same page, saying "If this address can sign in with a password, we've emailed it a reset link. If your workspace uses single sign-on, sign in with SSO instead." Before, on a domain whose workspace enforces single sign-on, an address with an account not yet verified got a "check your email" page while every other address got the single sign-on page, and the page came back later when a mail went out. Who gets the reset mail is unchanged.
- Failed runs get their failed event when Cloudflare reports their dispatch canceled
A run whose code threw now gets
failedon its Timeline (GET /v1/runs/:id/timeline) and counts as failed inGET /v1/metrics/runs, also when Cloudflare reports its last dispatch as canceled, as it does for some runs a few seconds to a minute after their code ended. Before, those runs had nofailedevent, so the failed counts left them out. A run you cancel still endscancelled, neverfailed. This comes with versions deployed from now on: a workflow deployed before keeps the old counts until you deploy it again. The event can arrive a minute or two after the run ends, and runs that ended before this change keep the counts they had. See Timeline. - The helper no longer asks a scoped API key to approve secret hosts it can't change
With an API key limited to some agents or workflows, the helper doesn't offer
set_secret_hostsin a new conversation, and in an older one the call fails at once withthis key is limited to other agents or workflows. Before, it filed an approval request that answered403when approved and changed nothing. - Triggers can turn any JSON alert into one event shape
A trigger created or changed with
"adapter": {"kind": "generic", "config": {...}}starts each run with an event instead of the request body: its source, type, dedup key, severity, status (triggered or resolved), subject, and the body asraw, each read from the body at a path you configure, such as$.alerts[0].fingerprint. Severities are mapped from your sender's values, and a list of status values marks an alert resolved. An adapter trigger must be signed, by default as GitHub signs (X-Hub-Signature-256); a delivery with a missing or wrong signature gets 401, one that isn't JSON 400, and one without its dedup key or subject 422, and each is in the trigger's delivery log. The workflow's payload schema checks the event. See Generic adapter. - Approval rules for workflow runs, with no self-approval
Admins can now set rules that decide what a workflow run's approval request needs, whatever the workflow's code asks for. A rule matches on the run's payload, its workflow or the request's name, for example
environmentequal toprod, and can raise the approvals the request needs, name who may approve it, and refuse the approval of whoever started the run, even when it needs one approval; they can still deny it. A request keeps the rule it was made under, so changing a rule later changes no request already made.GET /v1/approvalsandGET /v1/runs/:idgive each request the rule that applied asrule, and each approval and denial of such a request is audited with the rule. The API's refusal of an approval of such a request names the rule. Rules are set with/v1/approval-rules; a workspace has up to 50, each with up to 10 conditions and at most 8 KB as JSON. With no rules, requests are made as before. See Approval rules. - Pricing opens with the governance every plan has
Pricing and its Markdown copy now say first that every plan, Free included, comes with roles, MFA at every password or passkey sign-in, the audit log and its export from the API or the CLI, and approvals. Each links to where it's described.
- Seats per plan, and an approver role
Each member and each pending invitation now takes a seat, and the plan sets how many: Free has 2, one builder (a developer or admin) and one approver; Pro has 1 builder and 1 approver, then up to 2 more builders at $15 a month each. An invitation or role change past the plan's seats is refused, naming the limit and the plan that allows more, and so is accepting an invitation, or a first sign-in through single sign-on, while the seats are taken. Workspaces with more members keep them all. On Pro, adding a paid builder seat first asks the admin to confirm its monthly price. The new approver role reads what a viewer reads and answers approval requests, which only approvers and admins do; developers still don't. See Seats and Roles.
- OAuth 2.0 connections
A connection can now sign in to an API such as Google's with your own OAuth client:
PUT /v1/connections/:nametakesoauth2with the client's URLs,clientId, aclientSecretthat names a secret, andscopes. An admin chooses Connect in the connection's panel on the Connections screen and consents at the provider, and the connection shows Connected. The vault keeps the access and refresh tokens and refreshes the access token before it expires, one refresh at a time. Requests through the connection getAuthorization: Bearer {{ oauth.access_token }}unless you set another template, and workflow code never receives either token. The Connections list shows each OAuth 2.0 connection's status, last refresh and who connected it. When a refresh fails or the provider revokes the sign-in, the connection says why, its requests are refused naming it, and the workspace's alert emails and webhook get oneconnections.statusmessage for the change. See OAuth 2.0. - $2 of model use a month on every plan, then list price × 1.20
Every plan now includes $2 of model use a month, where Free had $1 and Pro $10. On Pro, once your subscription bills model use, use past the $2 is overage at the answering model's list price × 1.20, where it was list price plus 15%, and the spending limit caps it with runs, steps, CPU time and outbound requests. On Free, and on Pro until your subscription bills model use, an agent message past the $2 returns
429 {"error": "quota exceeded", "limit": "modelCentsPerMonth"}; to a member or API key, with adetailnaming the $2 and its reset, andresetsAt. The dashboard says "Model use" where it said "Model cost". See Model use. - Workflows holds a finished run 7 days, down from 30
A run's output stays readable for 35 days after it ends, from the copy kept with the run, as before. A run paused for more than 7 days after a run it called with step.call completed now gets that run's result from the same copy. Without one, the step fails with
run <id> completed, but its output is no longer kept, where it used to retry for 51 minutes and then fail withrun <id> is still finishing. See Output. - A promotion refuses the reserved agent names
POST /v1/releases/:seq/promotenow returns400for a release holding an agent namedshiftlabsorshiftlabs-draft, with the text a deploy of that name gets, such asshiftlabs-draft is the built-in drafter's name; choose another. Where the target approves promotions, no request is made, and a request already waiting fails when it is approved. Before, a release made before those names were reserved could promote such an agent into a linked workspace. Names that only resemble them, such asshiftlabs-drafts, promote as before. shiftlabs logsand MCPget_run_logsread past the first 2,000 linesshiftlabs logs <run-id>now prints every line of a run, asking again from each page'sNext-Afteruntil the last line, and waits out a rate limit;--limit <n>stops afternlines. Before, it printed the first 500 lines unless--limitsaid more, and never more than 2,000. With--jsonit still prints one array. MCPget_run_logstakes an optionalafterand now returns{lines, nextAfter}instead of a bare array of lines: passnextAfterback asafterfor the lines after them. See Command line and MCP.- A run read as it finishes keeps what its last steps recorded
When a run ended while
GET /v1/runs/:idor its page was being read, the answer could say the run was complete but leave out what its last step had just recorded: astep.decidetrace, tags fromstep.tagor astep.activityattempt. Reading it again showed them. A run's detail now reads those after the run's status, so an answer that says a run ended has everything its steps recorded before it ended. - A run's page announces only the error lines that are new
For screen readers, a run's page announces the error lines that reach its logs after you open it, and only those. Before, it judged from the size of each read which lines were already there, so a late or failed read could keep new error lines from being announced, or announce old ones as new. Each line from
GET /v1/runs/:id/logsand its stream now hasarrived_ms, when it reached the logs,0on older lines, and a page without?after=has aLog-Watermarkheader, the latestarrived_msin the run's logs when the page was read: a line whosearrived_msis above it came after that read. See Logs. - TCP connections add TLS to MySQL and MariaDB
A TCP connection's
tlscan now bemysql. The gateway reads the server's greeting and upgrades to TLS inside MySQL's handshake, aspostgresdoes for Postgres, so your code connects with TLS off and the server still gets TLS. Your driver is shown a server without TLS, and a driver that asks for TLS anyway gets a server error. On MySQL 8's first login after the server starts, the gateway answers your driver's request for the server's RSA key with a key of its own and sends the password on over TLS, somysql2logs in with its defaults. A Postgres login can't usemysql. Pick it in the dashboard's connection form or send it toPUT /v1/connections/:name. See TCP. - The docs no longer jump when the search field appears
The space above a docs page now matches the search field's height from the first paint, so the page stays put when the field shows. Before, the page moved down by up to 4.5 px.
- A docs page's first screen no longer fades in
The tiles you see when a docs page opens are there from the first frame. Before, on some loads they started blank and faded in, as the tiles further down still do when you scroll to them.
- Start free is in the site's Menu on phones
On a phone, the Menu on the home page, Pricing and Security now ends with a Start free button, and without JavaScript it shows under the page links. Before, the Menu held only the page links.
- A lab of real network devices for network templates
Network templates now have a lab of real network operating systems to be verified against: two Arista cEOS switches as an MLAG pair, a Linux host bonded to both, and a git server for configuration backups. Each change to the lab deploys it in CI and checks that every device answers. A Juniper router joins in a later change. See Self-hosted runners.
- The page title stays inside the page on laptop-width windows
On windows from about 1024 to 1100 px wide, the title of the home, Pricing and Security pages now sits under the ShiftLabs wordmark. Before, it sat beside the wordmark and ran past the page's margin, by up to 22 px. The wordmark keeps its size, and wider windows look as they did.
- Pricing and Security load their top photo at the size it's shown
On Pricing and Security, the photo at the top now downloads at the width it's shown at, for your screen's pixel density. In a window 1,024 to 1,099 px wide, that's about 50 KB instead of 90 KB. Before, the page asked for a photo as wide as the window there, about twice the width it's shown at. Nothing on the page looks different.
- Sign in stays on one line in the site's top bar
On the home page, Pricing and Security, in a window 601 to 603 px wide, the Sign in link in the top bar wrapped onto two lines. It now stays on one line: from 601 to 639 px the bar's links sit a little closer together, so the whole bar fits in one row.
- A running run's logs stop retrying once you're refused
On a run that's still going, when reading its logs answers 403 (not allowed) or 404 (not found) three times in a row, the logs pane now stops reading and says disconnected, with no countdown and no Retry or retry now. A finished run's pane no longer offers retry now after those answers either. A 401 stops the reads too, and Retry stays for after you sign in again. Before, the pane counted down "retrying in" and read again every 5 seconds for as long as the page stayed open. Failures a retry can fix, such as 429, 5xx or a dropped connection, are still retried every 5 seconds.
- The docs' dashboard examples use the home page's greys
The dashboard examples in the docs, such as the new API key on the API page and the run on the Workflows page, now use the same greys as the home, Pricing and Security pages: a light grey background in light mode, and the same greys for their labels and lines. Before, they were near white in light mode. The new key's box, the selected row on the Deploy and triggers page and the usage meters on Pricing and Security now have a thin outline, so they no longer fade into the grey. The rest of the docs looks as it did.
- Pricing and Security are laid out like the home page
Pricing and Security now use the home page's sections instead of the older grid of tiles. A row of links under the photo jumps to each section, and Free and Pro sit side by side as two cards, with Pro marked. On a wide window, the dashboard examples and the photos sit beside the text; on a smaller screen they follow it. In a window narrower than 1,024 px, the limits tables keep their columns and scroll sideways, with a shadow at each edge that has more of the table past it. Pricing's questions open to show their answers. The text, prices and limits are unchanged.
- A Packs page
Packs in the site's menu now opens a page with the three packs, what each does and where it stands: the Network / AWX replacement is in development, and SRE runbooks and glue automation are planned. The home page's packs have a See all packs link to it. Before, Packs scrolled to the cards on the home page, and https://shiftlabs.org/packs didn't exist.
- A rollback refuses the reserved agent names
POST /v1/releases/:seq/rollbacknow returns400for a release holding an agent namedshiftlabsorshiftlabs-draft, with the text a deploy of that name gets, such asshiftlabs-draft is the built-in drafter's name; choose another, and changes nothing. Before, rolling back to a release made before those names were reserved restored such an agent. Names that only resemble them, such asshiftlabs-drafts, roll back as before. See releases. - The CLI prints an error's hint without
--jsonWhen a CLI command fails, the line after the error's message now says what to do next, such as
Try again in 60 seconds.after a429or which key a scoped key's403needs. Before, only a network or address error printed its hint without--json. A usage error, such as an unknown option, still prints only its message. - Trigger adapters in the dashboard, MCP and the helper;
X-GitHub-Deliveryis optionalNew trigger can now give a trigger an adapter: pick its kind and edit its config as JSON, prefilled with
{"paths": {"dedupKey": "$.id", "subject": "$.title"}}and checked with the API's own messages before it is sent. Signature check then offers only the schemes that adapter takes. The Triggers list tags adapter triggers, a trigger's page shows its adapter, and Edit adapter there changes or clears it without touching the signing. MCP's and the helper'screate_triggertake anadapter, the helper's approval shows its kind and config, andlist_triggersshows each trigger's adapter. Agithub-signed delivery no longer needs anX-GitHub-Deliveryheader: the signature is still required and still decides what is a duplicate, so most senders that sign the body this way now work as they are. See Generic adapter. - Links in the text of the site's pages are underlined, and host names on /security wrap at a dot
Links in the running text of /pricing, the policy pages, the guides and the templates page now show their underline without a hover, as /security and the docs already did. In the outbound-requests example on /security, a host name now wraps only after a dot on a narrow screen, not in the middle of a word.
- Send a request to approvers only
An agent tool's
approval: { approvers }andstep.waitForApproval'sapproverscan now namerole:approver: every member whose role is approver, and no admin.role:managerstill means every admin and approver. A request naming onlyrole:approverin a workspace with no approver waits until someone holds the role, or until it runs out and counts as denied. Slack, the Approvals screen, a run's page and an agent's tool list now say "approvers" or "admins and approvers" wherever approvers can answer, including on the Approvals screen for a request that names nobody. The Seats docs now describe Team, Business and Enterprise, the plans a refused invitation can name. See Who approves and Seats. - Workspace ids starting
drill-are reservedA new workspace id of the form
drill-followed by letters and digits, such asdrill-acme, is now refused when you create a workspace ("That workspace id is reserved for our tests. Choose another."), as ids startingsdk-,e2e-and the other test prefixes already are. Existing workspaces with such ids keep working. - Each end user's default daily budget is $0.10
An agent deployed without
budget.endUserDailyUsdnow lets each end user spend $0.10 of model use with it a UTC day, a twentieth of the $2 every plan includes, where it was $0.50. You can still set it up to $100, ornullfor no cap. Versions deployed before today keep the $0.50 they were deployed with until you deploy them again. See Budgets. - Create an OAuth 2.0 connection and change its client in the dashboard
New connection now creates OAuth 2.0 connections: choose HTTP, then oauth2 under Credentials, and enter your OAuth client's authorize, token and optional revoke URLs, client ID, client secret (a template over a secret), scopes and extra authorize parameters. The form shows the redirect URI to register with your client and starts the template at
Authorization: Bearer {{ oauth.access_token }}. After you create it, its panel opens on Not connected with Connect. Edit on an OAuth 2.0 connection now shows the same client fields. When a save changes the client of a connection someone has connected, Edit asks first with Save and forget tokens: it names the changed fields, says the tokens are forgotten, whether Shift Labs asks the provider to revoke them, and that requests are refused until an admin connects it again. See OAuth 2.0. - Run and schedule rows show their status edge again
Failed and waiting runs, errored schedules and the selected run now show their coloured left edge on desktop, where the pinned first column used to hide it.
- The runner image is rebuilt every week with Debian's updates
Each week we rebuild the runner image and compare its Debian packages with the newest release's. When any changed, such as for a security fix, the rebuild is released as the next patch version, such as 1.3.1, and its changelog entry lists each changed package with its old and new version.
shiftlabsorg/runner:1,base-latestandk8s-latestmove to it, and a versioned tag never changes. See Versions. - The runner image is tagged by profile and carries its manifest
From runner 1.3.0, the image is also published as
shiftlabsorg/runner:base-1.3.0andshiftlabsorg/runner:k8s-1.3.0, the same image asshiftlabsorg/runner:1.3.0, and asbase-latestandk8s-latest, which move to each new release.shiftlabsorg/runner:1stays the newest 1.x image, and a tag with a version never changes. The image carries its manifest, so Settings → Runners shows its profiles, base and k8s, and the version each of its tools reports, such as kubectl 1.37.1, helm 4.3.1 and kustomize 5.8.3. Before an image is published, each of its tools must run in it and report the version its manifest gives, and each of its Python libraries must import, on amd64 and arm64. See Versions. - Send a step to a runner whose image has its tools
step.execandstep.activitytakeprofile, such as"k8s", or"network@2026.11.1"to stay on one image version, andrequires, the tools the runner's image must list, such as["helm"]. Only a runner whose image manifest has them takes the step, and a step without them runs on any runner of its pool, as before. While no runner online has what a step asks for, the run's page says so, as inwaiting for a runner with network@2026.11.1, and the step waits up to 1 hour as any command does. The run's page now lists each command too, with the runner that took it and its image's profile and version. See Choose a runner by its image. - Give a project's steps a runner image by default
runnerProfileinshiftlabs.config.ts, such as"network"or"network@2026.11.1", is the image profile that everystep.execandstep.activitycall of the project asks for when it names noprofileof its own.shiftlabs deploykeeps it with each workflow version, so a run keeps the default its version was deployed with, a later change never reaches runs already going, and a rollback brings the earlier default back. WithoutrunnerProfile, steps run on any runner of their pool, as before. A save in the dashboard's workflow editor, a deploy by the helper andshiftlabs deploy <file>...keep the workflow's default. A wrongrunnerProfilestopsdeploybefore it uploads anything, and the run's page says where each profile came from, as inprofile network (project default). - Runners show their image's profiles, version and tools
A runner image can carry a manifest,
/etc/shiftlabs/profile.json, naming the profiles it serves, its version and its tools with their versions. The runner sends them each time it signs in, and Settings → Runners andGET /v1/runnersshow them for each runner; more than two tools fold under their count. A runner whose image has no manifest works as before and shows No manifest. A manifest that is wrong stops the runner with exit code 2, and its log names the file and the problem. It needs runner 1.2.0. See The image manifest. - Import a crontab as scheduled workflows
shiftlabs import crontab <file>writes a project with a workflow and a schedule for each crontab entry: the same timing, the time zone fromCRON_TZ=orTZ=, and the crontab's env, with likely secrets passed as readable secrets and their values left out. Each workflow runs its line on a runner with the crontab's shell, as cron does. It prints what it will create and every line it couldn't import, with its line number, and sends nothing until you runshiftlabs deploy. See Import a crontab.
- Sign in with a passkey
The sign-in page has Sign in with a passkey: type your email address, choose it, and confirm on your device. Your authenticator code is still asked for after it. Only the passkeys of the address you typed sign in to its account. Add, rename and remove passkeys in Settings → Security; adding one takes a sign-in with your password or a passkey and your authenticator code in the last 15 minutes, not a Google, GitHub or single sign-on one. A new account's emailed link can set a passkey instead of a password, and you can't remove your last way to sign in. Resetting a lost authenticator also removes your passkeys. Before, a sign-in on shiftlabs' own pages always took a password. See Sessions and the Privacy Policy.
- A failed code check no longer says your change may have been saved
A
503while shiftlabs briefly can't reach your workspace's storage carries nohint: a check saves nothing. See Check code before you deploy. - A run's page shows its logs as they arrive
While a run goes on, its page follows the log stream: each line shows as it reaches the logs, and after a dropped connection the page goes on after the last line it showed. Where the stream is refused, such as past your workspace's 60 stream opens a minute, the page asks for the lines after its last one every 5 seconds instead. While the logs load, the logs pane shows them loading, and a log that couldn't load says so, with Retry. Before, the page read a run's first 500 lines every 5 seconds, and a log still loading, or one that couldn't load, read as
no lines yet. See Stream a run's logs. - On Free, an agent's code is shared by everyone in the workspace
On the Free plan, everyone in a workspace now runs an agent version's code tools in one copy of the code, where each person had a copy of their own. A value one person's call keeps outside a function can show up in another person's call, and a call that runs out of CPU time restarts the code for all of them. Each person's
sqldatabase is still their own, and on paid plans each person keeps a copy of their own. Keep data insql. See Code tools. - Code tools pause for the day after 3 calls run out of CPU time
A code tool call that runs out of CPU time slows other work on the same server for seconds. Now, after 3 such calls in a workspace in one UTC day, its code tools fail without running until 00:00 UTC, with
the workspace's agent code was stopped for CPU time 3 times today, so its code tools are off until 00:00 UTC (limit codeStopsPerDay=3). The model reads it and goes on, and workflow tools still run. See Code tools. - A command's and an activity's output name their step
In a run's logs, the lines a
step.execcommand or astep.activityprogram prints now havestep: the name you gavestep.exec, or the activity's label. shiftlabs takes it from the job it handed the runner, so nothing the command prints can change it. Before, their lines hadstepnull, as output from before today still does. See Logs. - A private key is redacted whole, and a deploy refuses one
An AI draft now replaces a PEM private key with
[redacted]whole, from its BEGIN line through its END line, or to the end of the text when it has no END line: in your request before the model gets it, and in the draft and its stream. Before, only its BEGIN line was replaced, and the rest of the key reached the model. A deploy, and a check of your code, now refuse files that hold a private key, before any package is built: the deploy returns400 {"error": "private key in source"}and the check ascanerror, each naming the line the key starts on, and its file when you send several, and neither repeats the key. Before, the deploy kept the key, with at most a warning. Keep the key in a secret marked readable:reveal()returns it, andstep.exectakes it as{ secret: "NAME" }. See Draft with AI and Check code before you deploy.
- A run's logs read to the end, and each line names its step
GET /v1/runs/:id/logsnow takes?after=: each page'sNext-Afterheader names its last line, and sending it back gets the lines after it, oldest first, so you can read every line a run printed, each once. A page shorter thanlimitholds the lines so far, and the same cursor later gets what a running run prints next. Each line also hasstep, the name of the step whose function printed it:nulloutside a step, while two steps run at once, and for versions deployed before today, which name their steps once you deploy them again. Before, the logs gave only a run's first 2,000 lines, and no line said which step printed it. See Logs. - Follow a run's logs as they arrive
GET /v1/runs/:id/logs/streamsends a run's log lines as Server-Sent Events as they arrive: a dispatch's once it ends, a command's output as the command prints it. Each event'sidis a log cursor likeNext-After, so reconnecting withLast-Event-IDgoes on after the last line you got and sends none twice, and a line that arrives behind lines already sent still comes, in a later event of the same connection. Once the run has ended and its last lines are in, the last event has the idend. Opening a stream counts toward the 60 a minute your workspace opens with status streams, and its reads toward the 120 log reads a minute: about 30 a minute while lines keep coming. See Stream a run's logs. - A run's status can carry its plan and rollout
step.statusnow reserves two keys with a set shape:plan, the steps a run means to take, androllout, a change made to devices in batches, one side of each pair at a time. If your workflows already publish aplanorrolloutkey of another shape,step.statusnow throws aTypeErrornaming what's wrong, whatever SDK version they were deployed with and in runs already going, as do the local test runners of the TypeScript and Python SDKs: rename the key, or give it the new shape. Every other key is checked as before. See Plans and rollouts. - Keep a device's config with the run, and see what changed
step.snapshot(device, text, { stage })keeps a device's configuration with the run, such as a switch's running config before and after a change; in Python,step.snapshot(device, text, stage=…). Before it's kept, your readable secrets and the credentials configs hold, such as SNMP communities, password hashes and keys, are replaced by[redacted]. A snapshot takes up to 256 KiB after redaction, a run up to 1,000, and each is kept for 35 days after the run ends, the same as the run.GET /v1/runs/:id/snapshotslists a run's snapshots, andGET /v1/runs/:id/snapshots/diff?device=shows what changed on a device between its first snapshot in the run and its last, up to 2,000 lines. In tests,runWorkflowandrun_workflowreturn them assnapshots. See Config snapshots. - A run's page draws its plan and rollout
A run's page now lists the steps of its status's
planwith its other steps, grouped by batch, those that haven't run yet as○ queued, and draws itsrolloutunder them as a matrix: a row for each HA group of a batch, with its side A and side B devices, each device's state as○pending,▶changed,✓verified,✕failed or↺rolled back, the verify step beside each side, and the rollout'sruleas a note under it. A side with more than 8 devices shows its counts by state until you expand it. Aplanorrolloutof another shape, published before these checks, showsplan status couldn't be readorrollout status couldn't be readin their place. Before, a run's page showed them only as JSON on its status tab. See Plans and rollouts. shiftlabs-draftis a reserved agent nameThe workflow editor's AI drafts run as a built-in agent named
shiftlabs-draft, soPUT /v1/agents/shiftlabs-draft,PUT /v1/agents/shiftlabs-draft/codeand a release with an agent of that name now return400, as they do for the helper's name,shiftlabs. Before,shiftlabs-draftwas a name like any other. See Define an agent.- Draft a workflow with AI from the API
POST /v1/workflows/:workflow/draftasks a model to write a workflow's files from a request in plain words and the files the workflow has now, andGET /v1/workflows/:workflow/draft/:idreads the draft, or its/streamfollows it as it is written. Before the model gets the request, your readable secrets' values and text shaped like a known credential are replaced with[redacted], and so is what the model writes, in the draft and its stream. The audit log'sworkflow_draftentry holds neither the prompt nor any file. A draft counts toward your model allowance but not the agent messages per 24 hours, only whoever started it can read it, under its workflow, and nothing is deployed until you deploy it. See Draft with AI. - A transcript marks an answer cut off at the model's output limit
A conversation's
modelitems now carry"finish": "length"when the model's answer stopped at its output limit. Before, such an answer looked like any other. See Conversations. - An approval request can say what it is
step.waitForApprovaltakes apolicy:{ name, risk }— anamefor the rule that asks, such as"production change", and ariskoflow,mediumorhigh, both optional. Approval requests in the API list it aspolicy, ornullwithout one. It changes nothing about who answers or how, and a deny still needs a reason. In Python,wait_for_approval(…, policy={…}). See Approvals in workflows. - Check a workflow's code without deploying it
POST /v1/workflows/:workflow/validatetakes the body a deploy takes and checks it as a deploy does: it bundles the code, scans it and loads it once. It deploys nothing and builds no packages, and answers{"ok", "loadChecked", "errors", "warnings"}. Each error has itsstage(bundle,scanorload), the message a deploy would return and, where the error points into your files, thepathandline. Code whose packages haven't been built isn't loaded, and the answer says so withloadChecked: false. It needs the role that deploys, and a workspace can check code 20 times a minute, apart from its deploys. See Check code before you deploy. - The workflow editor drafts with AI and checks your code as you type
Where agents are on, the editor's ai draft drawer opens beside your code: describe the workflow or the change in up to 4,000 characters, and the draft shows as the model writes it. Insert replaces the files it changed and adds the new ones, and Undo puts them back until you edit again. A failed draft says why and offers Retry, and your edits stay. Your request is sent with the draft alone. The editor also checks TypeScript 3 seconds after you stop typing, and Python when you click Check, and lists what a deploy would refuse under Problems. See Draft with AI and Check code before you deploy.
- Logs are redacted with your secrets' values as they are now
A run's log lines are now redacted with the values your readable secrets have when the lines arrive, as well as the ones its code loaded with, so a secret you change is redacted in every workflow's logs at once. If we can't read your secrets at that moment, we keep none of that invocation's lines and show one error line saying they were withheld; the run's status, its end and its CPU are recorded as usual. Before, a log was redacted only with the values its code loaded with. See Run context.
- We keep when you last signed in
Your account now keeps the time of your latest sign-in: with a password once you enter your authenticator code, or with Google, GitHub or single sign-on. Our support staff see it, with your workspaces and how you sign in, when they look you up by your exact email address to answer a request about your account, and each such lookup is recorded for 400 days with a hash of the address, not the address. Your password, authenticator secret and session tokens are never shown. Before, we kept no sign-in time once its session was deleted. See the Privacy Policy.
- The privacy policy lists the theme cookie
Its Cookies section said this site sets no cookies. It sets one,
shiftlabs_theme, once you pick a light or dark theme: it lasts a year and is shared with the docs, the dashboard and its sign-in pages, so they all show the theme you picked. See the Privacy Policy. - Single sign-on's refusal names the plans that include it
/v1/ssonow refuses a workspace whose plan doesn't include single sign-on with403 {"error": "plan_required", "detail", "needs", "plans"}:planslists every plan that includes it, cheapest first, andneedsis the cheapest. Adding a SAML or OIDC provider is refused the same way, naming the plans with that protocol.GET /v1/mehasentitlementstoo:paid,sso(the protocols your plan includes),byokandmodelCatalog. Before,/v1/ssoanswered403 {"error": "enterprise_only"}. See Single sign-on. - Settings → Single sign-on names the plans that include it
Where your workspace's plan doesn't include single sign-on, Settings → Single sign-on now names the plans that do, with a link to sales@shiftlabs.org, and Add provider offers only the protocols your plan includes. A provider of a protocol your plan no longer includes shows Not on this plan: it signs no one in, and you can still delete it. Before, Settings → Single sign-on showed Enterprise only. See Single sign-on.
- Everyone who can see a run sees its approval requests
A run's page now shows its approval requests to everyone who can see the run, read-only for anyone who can't answer them, with how many approvals each has. Who may answer, who answered and their notes stay with the approvers.
GET /v1/runs/:idlists them asapprovalsfor every caller: a request you may answer has"canAnswer": trueand every field as before, any other has"canAnswer": falseandapprovalCount. Before, a run's page showed a request only to those who could answer it. See Workflow runs. - Whoever raised a request can't give one of its two approvals
When a request needs two or more approvals, the member who raised it, or the API key that did and the member who created it, can't give one of them. They can still deny it, or stop the run. Their approval returns
403 {"error":"forbidden","reason":"you raised this request; it needs 2 approvals from other approvers"}, in Slack they get a reply only they see saying another approver must approve it, and their Approve is turned off on the Approvals screen and a run's page. A run started by another run, a continued run, an agent's tool call orstep.askhas the requester of what started it, and a promotion its promoter. A trigger, webhook, schedule, queue or end user's chat has none, so every approver counts. Approvals a requester already gave on their own waiting requests stop counting, and those requests wait for another approver again. When only two members can approve, Settings → Approvals warns that a request either of them raises can't reach 2 approvals. When a removal or a role change leaves fewer than two, it warns that requests that need 2 approvals can't be approved, andGET /v1/workspace/approvalsanswers the samewarning. Approval requests in the API haveraisedByYou. Before, whoever raised a request could give one of its approvals. See Two approvers. - A deny needs a reason
Denying a request now needs a note saying why, in the API and in Slack, as the dashboard already required.
POST /v1/approvals/:idwith"decision": "deny"and no note, or only spaces, returns400 {"error": "note is required to deny"}and the request stays open. In Slack, Deny with an empty note box repliesAdd a reason in the note box to deny., visible only to you. Approving still needs no note. Before, a request could be denied with no reason. See Approve or deny. - Every answer to a request is in the audit log
Each approval and denial of an agent's or a workflow run's request, from the dashboard, the API or Slack, is now written to the audit log as
request approvedorrequest denied(approval_approve,approval_deny), with who answered, how, their reason and whether it decided the request. On a run's page, an answered request links its entries for anyone who can read the audit log, andGET /v1/audit?subject=<request id>lists them. A denied promotion's entry now has itsreasontoo. Before, only a promotion's outcome was in the audit log. See In the audit log. - A request that can't get its approvals says so
When fewer members can still approve a request than the approvals it still needs, the Approvals screen and a run's page say so on the request, with the numbers and what to do: add an approver, or deny it. Approve stays on, and an approval given meanwhile still counts once another approver joins. Approval requests in the API have
eligibleandhasRequester. See Two approvers. - The runs list takes several statuses, and fills its pages
GET /v1/runs?status=failed&status=terminatedlists the runs in any of the statuses given. A filtered page now fills from up to 4 windows of runs before it answers. When it still stops short it says"partial": true, andnextBeforeisnullonly when no more runs match. An API key scoped to some workflows gets their runs on every page, and"scoped": true. A run that ended in a way the list doesn't name lists asfailedunder the status filter, as it shows. Before, a filtered page could come back short or empty while more runs matched. See Find runs. - Failures on the Runs screen include stopped runs, with a count for the last 24 hours
The Runs screen's Failures now lists terminated runs as well as failed ones, and says
Showing failed and terminated runs.Above the list,Failed in 24h: 3counts the runs that failed in the last 24 hours. Terminated runs aren't in that count. Before, Failures listed failed runs only, and the screen showed no count.
- A workflow-scoped key can't read other people's conversations
An API key whose
scopenames some workflows no longer usesconversation.read_otherson people's conversations, a member's agent schedule's included, since their tool results and the agent's answers can hold what other workflows returned.GET /v1/agents/:agent/conversations?all=1and MCP'slist_conversationswithallreturn403 {"error": "forbidden", "reason": "this key is limited to other agents or workflows"}. Another person's conversation, its stream, MCP'sget_conversationand the helper's read of it return404. The key also no longer lists or answers an agent's approval request from another person's conversation. It still reads its own conversations, its end users', and the ones its workflows started with ask (?workflows=1,?run=). Keys whose scope names only agents, unscoped keys and members are unchanged. Before, such a key read other people's conversations with the agents it reached; from 00:35 UTC on 5 November, all but those whose agent called a workflow outside its scope. See API keys, Conversations and Approvals. - Sign-in runs on shiftlabs, and everyone sets a new password
The dashboard and MCP clients now sign in on shiftlabs' own pages at app.shiftlabs.org, not WorkOS's. Your account, workspaces, roles, API keys, webhooks, schedules and runs stay as they were. Everyone is signed out once, and old passwords no longer work: choose Forgot your password? on the sign-in page, and the link we email from no-reply@shiftlabs.org sets a new one. The first sign-in after that asks you to set up your authenticator app again, with a QR code, and every password sign-in after asks for its code. An invitation that wasn't accepted before the move no longer works: an admin invites the person again. Before, WorkOS ran sign-in, with its own passwords and authenticators. See Sessions.
- Sign in with Google or GitHub
The sign-in and sign-up pages have Google and GitHub buttons. A sign-in takes only an address the provider has verified, and relies on the provider's own checks, so we ask for no authenticator code. An address that already has a shiftlabs account keeps signing in the way it did: Google or GitHub doesn't sign in to it. We get your name, verified email address and a link to your profile picture, and ask for nothing else. Before, every sign-in took an email address, a password and an authenticator code. See Security and the Privacy Policy.
- MCP clients connect again once
claude.ai, ChatGPT, Claude Code and VS Code now sign in through shiftlabs, so each connection made before has to connect again once, and each new connection asks you to choose its workspace. Cursor can't sign in this way, as it registers only by Dynamic Client Registration: give it an API key in its MCP config,
Authorization: Bearer slk_…. Before, these clients signed in through WorkOS, Cursor too. See MCP sign-in. - Signing out ends MCP connections
Settings → Sign out other sessions now also ends all your MCP connections, and Revoke sessions ends a member's in the workspace. Removing a member, a password reset and setting up or resetting an authenticator end them too. A client may use the token it holds for up to 5 more minutes, except a removed member's. Removing the connector in the client stops that client, but its sign-in stays valid for up to 30 days after the client last used it, unless you sign out other sessions. Before, neither button ended an MCP connection. See Sessions.
- The audit log counts the MCP connections a sign-out ends
Sign out other sessions and Revoke sessions now say how many MCP connections they ended as well as sessions, and their
POST …/sessions/revokecalls answer{ended, grants}. Theirsessions_revokeentry in the audit log hasgrantsnext toended, and the Audit screen reads it as, say, "signed out 2 sessions and 1 MCP connection". Your own sign-out that ended only MCP connections is now in the audit log too. Before, the answer and the entry counted sessions only, and that sign-out wrote no entry. See Sessions. - Sign-in attempts are counted per account
The sign-in pages count every password, authenticator code and sign-up or password email, right or wrong: 10 a minute for one account from one IP address, and 60 a minute from one IP address. Past either they return
429withRetry-After: 60, and 10 wrong authenticator codes in a row lock the account's sign-in for 15 minutes. Before, we counted failed dashboard sign-ins, 10 a minute per IP address, and WorkOS applied its own checks. See Rate limits. - Agents start only the workflows an API key's scope names
An API key whose
scopenames some workflows still talks to an agent, as itself and for the end users it names withpersonor a chat token, but the agent's workflow tools now start only those workflows' runs, as the key's own requests do. The same goes for the agent schedules the key adds or changes, and for a workflow deployed with the key when it asks an agent. Those conversations have no tools for other workflows, and in an older one that has them, each call of such a tool fails withthis key is limited to other workflows, starting no run and asking nobody to approve one. An end user's conversation from before this change gets the limit from the key's next message in it, and keeps every tool until then. Trigger now of an agent schedule that may start other workflows, such as one a member made, returns403for the key. The key also lists and answers an agent's approval request only when the request's tool starts one of its workflows; another answers404. A scope that names only agents limits no tool. Before, the agent's tools started any workflow for such a key, its end users, its agent schedules and its workflows' asks, and the key could approve an agent's request whatever workflow its tool started. See Workflow tools, Scheduled messages and Approvals. - The helper asks a scoped key to approve only changes it may make
In a conversation with an API key whose
scopenames some workflows, the helper'sdeploy_workflow,run_workflowandcreate_triggerfor another workflow now fail withthis key is limited to other workflows, which the helper reads and can tell you. Once your role no longer allows such a change, its call fails at once too, withyour role can't deploy workflows,your role can't start runsoryour role can't manage triggers. Before, the helper asked you to approve such a change, and approving it returned403or404and changed nothing. A change to one of the key's workflows still waits for the key's approval. See What it can change. - Stuck agent conversations are erased too
A conversation that still reads
workingorwaiting for approvalmore than 4 days and 2 hours past its retention period is now erased like one that ended, with its transcript, trace and approval requests. That is longer than any approval request waits (72 hours), with the time its answer takes to arrive and a day for the turn, so only a conversation whose final status never arrived is affected. Its model use stays counted toward the allowance, budgets and billing. Deleting an agent for good now also erases the approvers' answers to its approval requests, and those left by agents deleted before are erased once this reaches your workspace. Before, a conversation whose status was never updated was kept forever. See How long conversations are kept. - An erased person's Slack messages are deleted, also when the agent or conversation goes first
Erasing a person deletes the approval requests sent to them by Slack direct message. One still waiting to be deleted when its agent was deleted for good, or its conversation reached the end of its retention period, is now deleted all the same. Before, it stayed in your Slack. See Privacy.
- Sign-in records, MCP tokens and invitations are deleted on a schedule
Set-password links, authenticator steps and used codes, and the records that protect a Google, GitHub or single sign-on sign-in, are deleted within two hours after they stop working. An MCP connection's refresh token is deleted within two hours after its 30 days; one that was revoked or that the client swapped for a newer one is kept until then, so a stolen one used again still ends the connection. Expired and answered invitations are deleted when they expire, within two hours, with their email address, role and sender, and the hash of each sign-in or invitation email's address once it is a day old. Entering the Support console now sets a session to end an hour later unless it is used, and never past 12 hours after sign-in, so Better Auth and our cleanup end it on time. Before, these were kept until they were looked up again, the connection or account ended, or the next email went out. See Privacy.
- Completed runs get their completed event
A run whose code returned now gets
completedon its Timeline (GET /v1/runs/:id/timeline) and counts as completed inGET /v1/metrics/runs, also when Cloudflare reports its last dispatch as canceled, as it did for many such runs a few seconds to a minute after the code returned. Before, those runs had nocompletedevent, so the completed counts left them out. The event can arrive a minute or two after the run ends. Runs that ended before this change keep the counts they had. See Timeline. - A plan we give you for a while ends by itself
When we give your workspace a plan for a set time, such as Pro for a pilot, it now has an end date: your workspace has that plan's limits and models, and the workspace page shows it, until then, and its own plan from then on with nothing for you or us to change. Your Stripe subscription, its billing and Billing settings stay as they are. The audit log shows each change as
plan_override_set,plan_override_clearedorplan_override_expired, with the plan before and after, the end date and our reason. Before, a plan we set stayed until someone changed it back, and a subscription event could undo it. See Security. - Workspace ids our tests use are reserved, and
GET /v1/versionnames its environmentCreating a workspace whose id our own tests use, such as
smoke-orsdk-followed by letters and digits, orci-sdk, now fails with403andThat workspace id is reserved for our tests. Choose another.Workspaces that already exist keep their ids.GET /v1/versionalso returnsenvironment,productionatapi.shiftlabs.org. See Workspace and roles and Versioning. - A workspace made with a deleted workspace's id starts clean
A deleted workspace's id can be taken again, and the new workspace now shares nothing with the deleted one: its workflows load anew, its first upgrade opens its own billing account, and none of the deleted workspace's card checks count for it. A
revealentry in the audit log shows the code'sworkerIdwith the workspace's ref after its id; the Audit screen's Workflow column reads both forms. See Workspace and roles.
- Agents start no runs for viewers
A viewer still talks to every agent whose access includes them, on the dashboard, with the API and with MCP's
send_message, and the agent's code tools still run for them, but its workflow tools don't: the conversations a viewer starts have none, and in one started before they became a viewer, each call fails withyour role can't start runsfrom their next message on, starting no run and asking nobody to approve one. Until that message the agent goes by their earlier role, also in its answer to an approval decided meanwhile, and a call already waiting for approval runs if an approver approves it. The same goes for an API key whose capabilities leave outrun.start. Developers, admins, keys that holdrun.start, end users and schedules keep their workflow tools. Before, a viewer's message could start a run, or ask an admin to approve one, through any agent with a workflow tool. See Workflow tools. - Keyed runs: one open run per key
workflow({ key: "customer.id" }), in Python@workflow(key="customer.id"), keeps one open run for each value at that payload path, such as one per customer. While a key's run is open, a webhook, Run now, the API, MCP, a schedule, a re-run, a resume orstep.startwith that key starts nothing and answers that run withstarted: false, and a payload without the key gets400 {"error": "payload has no key"}.GET /v1/workflows/:workflow/open-run?key=, the clients'workflows.openRun,shiftlabs workflows open-run, MCP'sget_open_runand the Runs screen find a key's open run, andGET /v1/runs?workflow=&key=lists its runs. An open keyed run counts toward your concurrent runs until it ends, as any run does. A run's page also shows when its lifetime ends while it runs, andGET /v1/runs/:idreturns it aslifetime_ends_at. Before, every start began a new run, and your code had to look for one already running. See Keyed runs. - Events to a key
POST /v1/workflows/:workflow/events/:name?key=sends an event to a keyed workflow's key: the key's open run gets it atstep.waitForEvent(name), and when the key has no open run, the event's data starts one as its payload, which gets the event too. The clients'events.sendToKey, in Pythonevents.send_to_key,shiftlabs workflows send, MCP'ssend_workflow_eventand a trigger with aneventsend them too. A keyed run keeps each event until one of its waits takes it, before the run starts too, up to 100 events and 1 MiB per run:POST /v1/runs/:id/events/:nameto a keyed run that hasn't started no longer answers409 run not started. Before, the first message of a session had to start a run and every later one had to find it. See Events to a key. - Continue as new, by hand or at a budget
In a keyed workflow,
step.continueAsNew(state)ends the run, completed with no output, and starts the key's next run on the workflow's current version withstateas its payload; in Python,step.continue_as_new(state). Givestep.waitForEventorstep.waitForAnyacontinueWithand the run continues there once it has used half of your plan's steps, dispatches or events per run, or 2 hours before its lifetime ends. The next run keeps the key and gets the events the old one didn't take, and events sent to the old run go to it. Each run is billed as one. A run's page shows its key's chain of runs, andGET /v1/runs/:idreturns it aschain. Before, a run that lasted as long as a customer's session ended at the plan's limits. See Continue as new. - Gateway logins for Postgres and Redis
A TCP connection's
authmakes the gateway log in to Postgres or Redis with a secret, so workflow code connects with any password, or none, and never receives the real one. The secret needs neither hosts norreadable. Postgres logins use SCRAM-SHA-256, or MD5 and cleartext passwords only over TLS, and a Redis login needstlson. A wrong password reaches your code as the server's own error. Before, a database password reached workflow code throughreveal()on a readable secret. See TCP. - Retry now for step.run's retries
When a
step.runattempt fails and the step waits to retry, Retry now on the run's page,POST /v1/runs/:id/retry,shiftlabs runs retry, the clients'runs.retryand MCP'sretry_runstart its next attempt at once, as they do for commands and activities. Each attempt is now a step of its own, so it counts toward steps per run and your workspace's steps: astep.runthat fails twice and then passes counts 3 steps, where it counted 1. A retry delay under a second waits a second, and the testing kits list each wait as a sleep step, such ascharge (retry 1). This applies to runs started from today on: runs already started keep counting a step once and wait out their delays. Before, astep.runretry waited out its whole delay, and Retry now answered409. See Retry now. - Each step's attempts on a run's timeline
A run's page draws its steps in Timeline as a waterfall: a lane per step call with its kind, attempts, time and outcome, a bar for each attempt, sleep or wait, the delay before each retry to scale, and a failed attempt's error.
GET /v1/runs/:id/timelinelists each attempt and wait as a row withkindstepand itsattempt,outcome,erroranddelay_ms, for a run's first 200 step calls. Before, the timeline showed only the run's dispatches and events, not its steps. See Timeline. - Timeline steps and events are kept 35 days
A run's steps and lifecycle events in Timeline and
GET /v1/runs/:id/timelineare now kept 35 days after they happen, as runs are kept 35 days after they end. Dispatches are still kept 14 days. Before, steps and events were kept 30 days, so a run's timeline was empty for its last 5 days in the Runs list. See Timeline. - Run outputs are kept with their run and searchable
A completed run reads back with its output for as long as the run is kept, 35 days after it ended, in
GET /v1/runs/:id, the clients'runs.get, MCP'sget_runand the new Output section of the run's page, also once Workflows has let the run go after 30 days.q, the Runs screen's search box andshiftlabs runs --searchfind a run by text in its output. Of an output over 64 KiB as JSON the first 64 KiB is kept, and once only that copy is left the run readsinstance.outputTruncated,{bytes, text}, which the run's page shows marked as cut. A workspace keeps up to 16 MiB of outputs, the oldest going first. Before, an output couldn't be searched, and couldn't be read at all once Workflows let the run go. See Output. - Agent tools must choose their approval
Each workflow tool in an agent's definition now sets
approval:"never","always"or{ approvers, approvals }.PUT /v1/agents/:agent, a release and MCP'sdeploy_agentrefuse a tool without it with400, naming the tool and the three choices, andshiftlabs deploystops with exit code3before uploading anything. Versions deployed before keep the"never"they were stored with, and roll back and promote as they were. The templates set it on every tool. Before, a tool without approval ran without asking. See Workflow tools. - Agent conversations are kept 7 days on Free and 30 days on Pro
A conversation is erased 7 days after its last message on Free, and 30 days after it on Pro, with its transcript, trace and approval requests: reading, streaming or messaging it then returns
404, and lists leave it out. One still working or waiting for approval stays until it ends, and its model use stays counted toward the allowance, budgets and billing. After a move from Pro to Free, conversations past 7 days go with the workspace's next agent message, and at the latest when they reach 30 days. What an agent's code stores in its database stays. Conversations already past the period are erased once this reaches your workspace. Before, conversations were kept until the workspace, or their agent, was deleted. See How long conversations are kept. - Stripe's plan changes in the audit log
When a Stripe subscription event changes your workspace's plan, such as an upgrade or the end of a cancelled subscription, the audit log shows it as
plan_synced, bystripe, with the plan it changed from. Before, those changes left no entry in the audit log. See Security.
- Payload checks follow JSON Schema more closely
multipleOfis exact:0.30000000000000004, what0.1 + 0.2gives, isn't a multiple of0.1, where a number within about 0.0000001 of a multiple passed before, and amultipleOfof 0 refuses every number.containswithmaxContainsand nominContainsneeds one matching item,const,enumanduniqueItemsno longer take{}and[]for equal, and names every JavaScript object has, such astoStringorconstructor, count only when the payload has them: before,"required": ["toString"]passed{}, and a schema with aconstructorproperty refused every payload without one.runWorkflow,run_workflowand the clients'agents.askcheck the same way from the SDK release after 0.4.0. See Payload schemas. - Runs and workspace data stay in the US
Every workspace's runs and stored data are now in Cloudflare's
usjurisdiction: workspaces made before were moved there, and so was the platform's database. The site, the dashboard and the privacy policy say runs execute in US regions only again, and that workspace data is stored in the United States. Agents' model requests can still be processed outside the United States. See Security. - Re-run on the current version, with another payload if you need
A run's page re-runs it on the workflow's current version once a newer one is deployed, with Re-run on the run's own version beside it, and Edit payload and re-run opens the payload form filled in with the run's payload. Re-run matching runs on the Runs screen first shows how many runs it would re-run and how many ran an older version, and re-runs them on the current version unless you choose the version each ran.
POST /v1/runs/:id/reruntakes{"version": "current"}and apayload,POST /v1/runs/reruntakes"version"and"preview", and MCP'sreruntakesversionandpayload;shiftlabs runs rerun <run-id> [--current] [--payload <json>]and the clients'runs.reruncome in the SDK release after 0.4.0. A payload on another version than the run's, or one you give, is checked against that version's schema first. Before, a re-run always used the run's own version and payload, so a run that failed before a fix failed again. See Re-run a run. - Resume a failed run from any step, on the current version too
A failed run's page lists its steps under Steps, each with Resume from here, so a resume can start at any step the run reached, not only the one it failed at. Once a newer version is deployed, it resumes on that version by default, and you can pick the run's own instead. On the current version the run's payload must match that version's schema, and the steps before the one you pick must be the run's, in the same order: when one differs, the new run fails before running it, with an error naming both.
POST /v1/runs/:id/resumetakes"version": "current"and answersversionHash,GET /v1/runs/:id/resumelists the steps a resume can start from, and MCP'sresume_runtakesversion;shiftlabs runs resume <run-id> --currentand the clients'versiononruns.resumecome in the SDK release after 0.4.0. See Resume a failed run. - A failed run names the step it failed in
A failed run's page shows the step its code threw from above the error, such as
In step “charge card”:, andGET /v1/runs/:id, the clients'runs.getand MCP'sget_runreturn it asfailed_step, while the run's step results are kept for Resume, 14 days. It'snullwhen code outside a step threw. Before, only the run's timeline and logs said where it failed. See Statuses. - Helpers for activity programs
shiftlabs/activityin the npm package andshiftlabs.activityin the PyPI package, from the SDK release after 0.4.0, write the program behind a registered activity in a few lines:activity(handler)reads the input, calls your handler with it and a context with the activity, version, approver, run and attempt, writes what it returns as the output, and exits 1 with the error's message, whichActivityErrorquotes, when it throws.ctx.heartbeat(progress, message)reports progress to the run's page, and does nothing outside a runner, so the program also runs by hand. While the handler runs, what it prints goes to the run's logs instead of spoiling the output. They need Node 22 or Python 3.11 and nothing else. The runner docs also give a complete Go program. Before, each program read standard input, wrote heartbeat lines to file descriptor 3 and wrote its JSON by hand. See Helpers for activity programs. - Failure alerts are on in new workspaces
A new workspace emails the person who created it when runs fail and when an approval request waits for an answer, at most one message every 15 minutes for each. They can stop these emails in Settings → Failure alerts or with the link in any alert email, and an admin can choose other members or a webhook there or with
PUT /v1/alerts. The daily limit on alert emails applies as before. Workspaces created before keep their settings. Before, a new workspace alerted nobody until an admin chose members or a webhook. See Alert emails. - Runs waiting for an approval or an event say so
A run blocked on
step.waitForApprovalorstep.waitForEventnow has the statuswaiting, andwaiting_fornames the request or the event and when it times out. The Runs screen shows what each waiting run waits for and filters on it, andGET /v1/runs?status=waiting, bulk cancel, the clients andshiftlabs runs --status waitingtake it. A run's page shows its approval request with the message, the approvers and the time left, and an approver answers it there with Approve or Deny and a note, as on the Approvals screen, whose Open leads there.GET /v1/runs/:idlists the requests an admin may answer asapprovals, andGET /v1/runs/:id/statuslists approvals with the events a run waits for. Before, such a run showed as running or sleeping. See Statuses. - A failed run shows its error
A failed run's row on the Runs screen and its page show the message its code threw, such as
Stripe answered 401: …, with readable secrets redacted, and a long one cut short until Show full.GET /v1/runsand its export return it aserror_message, its first 1 KiB. Before, both showed onlyerrored. See Statuses. - A failed run opened by its link offers Resume at once
A failed run's page, opened from a link or an alert, shows Resume from as soon as it opens, and
GET /v1/runs/:id, the clients'runs.getand MCP'sget_runreturn the run asfailedwith itsresumestep. Before, a run whose failure nothing had read yet showed as running, with no Resume from, until the Runs list loaded. See Resume a failed run. - Payloads up to 1 MiB
A run's payload can now be up to 1 MiB as JSON, from a webhook, Run now, the API, MCP,
step.startor an agent's workflow tool call, and a webhook, test event or Run now body up to 1 MiB. Past that, a webhook, test event or Run now returns413 {"error": "payload too large"}and starts no run.qsearches a payload's text when it is at most 96 KiB as JSON. Before, a payload was at most 124 KiB and a body 256 KiB. See Deploy and triggers. - Pause, retry and resume runs, and stop a backfill, from MCP
MCP has
pause_run,unpause_run,retry_run(Retry now),resume_runwith an optionalstepandoccurrence, andstop_backfillfor a schedule. Each makes its/v1request with your key, so it needs the route's role, developer, and the audit log recordsrun_pause,run_unpause,run_retryandschedule_backfill_cancelas for curl. Before, an MCP client could cancel a run and start a backfill, but not pause, retry or resume a run or stop the backfill. See MCP. - Each trigger's recent deliveries, with replay and test events
On the Triggers screen, a trigger opens on its last 100 deliveries from the last 7 days, refused ones included: when each came, the status it got and why, such as
invalid signaturewith what failed,payload does not match the schemawith what didn't match, orquota exceeded, the run it started, and its headers, with signatures and tokens shown as[redacted]. A delivery whose signature passed keeps the first 16 KiB of its body, and Replay sends it again through the checks a delivery gets now to start a run. Send test delivers a body you write. A trigger can have a name and a description, and a run it started shows its name.GET /v1/triggers/:id/deliveries,POST /v1/triggers/:id/deliveries/:delivery/replayandPOST /v1/triggers/:id/testdo the same, and MCP haslist_trigger_deliveries,replay_deliveryandsend_test_event. Before, a refused delivery showed only in the sender's own log. See Delivery log.
- Registered activities on your runners
step.activity(step, { name, input })runs an activity listed in a runner's activities file: a program on your machine with an input schema, a version and, if you choose, an approval. It gets the input as JSON, checked against the schema before it starts, andstep.activityreturns the JSON it writes. A runner started withSHIFTLABS_ACTIVITIESruns only the activities its file lists, never astep.execcommand, and an activity markedapproval: truewaits for an approver in the Approvals inbox before any runner gets it. Aheartbeattimeout stops a program that stops reporting, and the run's page shows each attempt's progress. Retry now and Resume from work for activities as for commands. Settings → Runners lists each pool's registered activities. It needs runner 1.1.0. Before, a runner ran whatever command a workflow sent withstep.exec. See Registered activities. - Resume a failed run from one of its steps, pause one run, and retry a command now
A failed run's page has Resume from, named for the step it failed at, and
POST /v1/runs/:id/resumetakes any step the run reached. The new run, of the same version and payload with the originresume, doesn't run the steps before that one again: they return what they returned in the failed run, an approval given before the failure isn't asked again, and the new run keeps the failed run's idempotency keys. A run can be resumed while its payload is kept, 14 days, if its version was deployed from today on and its undo functions didn't run. Pause run, orPOST /v1/runs/:id/pause, holds one run once its running step finishes, until Unpause. While astep.execin a run started from today on waits to retry a command that failed, Retry now, orPOST /v1/runs/:id/retry, starts the next attempt at once. Before, a failed run could only be re-run from its first step, only a whole workflow's new runs could be paused, and a command's retry waited out its whole delay. See Resume a failed run, Pause a run and Retry now. - Clean up when a run is cancelled
workflow({ onCancel }, fn), or@workflow(on_cancel=…)in Python, runs when a started run is cancelled: once the step running then finishes, the run stops before its next step, andonCancelgets the steps that completed, with their outputs, to undo what they did with steps of its own. The run stayscancellinguntil it endscancelled, also whenonCancelthrows. A cancel can also run the steps' undo handlers first:{"undo": true}onPOST /v1/runs/:id/cancel,runs.cancel(id, { undo: true })in the clients,shiftlabs runs cancel --undo, MCP'scancel_runand a box on the run's page.step.run(name, { signal: true }, fn)gives a long step anAbortSignalthat aborts within about 5 seconds of a cancel or terminate, or a minute once the step has run 5 minutes. Cleanup steps count as steps. The run's page shows when the cleanup began, and the API returns it ascleanup_at.runWorkflowandrun_workflowtakecancelto test it. Before, a cancelled run left what its steps did, for your code to clean up by hand. See Clean up when a run is cancelled. - Undo a step when the run fails
step.runtakes anundofunction that reverses what the step did, such as deleting the record it created. When the workflow throws, each completed step's undo runs, newest first, as a step namedundo <name>with its own retries, and can wait for an approval first. An undo that fails for good stops the older ones, and the run fails with its own error either way. Each undo attempt counts as a step. The run's page shows when the undos began, and its timeline each undo; the API returns it asundo_at.runWorkflowandrun_workflowrun undos too. Before, a failed run left what its steps did, for your code to clean up by hand. See Undo a step. - Wait for whichever comes first
step.waitForAny(name, [waits])waits for events, approvals and timers at once and returns whichever finished first, as{ name, value }: give itstep.waitForEvent,step.waitForApprovalandstep.sleepcalls, not awaited, up to 10. The others stop: a pending approval request leaves the inbox aswithdrawn, with a note such as"ack" came first, and an event that comes later waits for the run's next wait of that name. While a race waits, its events are listed with the others the run waits for, until one wins. A resumed run gets the same winner. In Python,step.wait_for_any(name, [waits]);shiftlabs/testingandshiftlabs.testingrace the answers you give. In TypeScript, those three calls now start waiting when awaited, as in Python, not when called. Before, a run waited for one thing at a time, so it couldn't go on with an approval or an event, whichever came first. See Wait for whichever comes first. - Run status, and send events from the dashboard
step.status({ phase, done, total })publishes where a run is, as a JSON object of up to 16 KiB; in Python,step.status(phase=…, done=…). A run's page shows the latest live with the events the run waits for, and Send event sends one to it.GET /v1/runs/:id/statusreturns the same,…/status/streamfollows it, and MCP hasget_run_statusandsend_event. Deployed workflows can call it now; its editor types,runWorkflow'sstatusesand the clients'runs.statusandruns.watchcome in the SDK release after 0.4.0. A run now takes 100 events on Free and 1,000 on Pro, from every sender together; the next returns403witheventsPerRun. Before, a run could report progress only through its logs, events were sent only with an API key or the run's event URLs, and a run took any number of them. See Status. - A completed run reads back with its output
GET /v1/runs/:id, the clients'runs.getand MCP'sget_runshow a run'sinstance.outputas soon as the run readscompleted. An output over 64 KiB as JSON can still readnullfor a moment after that. Before, a run read just as it completed could showcompletedwithinstance.outputnull. See Statuses. - Decisions in Python workflows
Python workflows ask Clef and Clef-flash a decision too: declare it with
decision(version=…, model=…, question=…, choices=…, state=…), or withscore=…oryes_no=…, name it in@workflow(decisions={…}), and callawait ctx.step.decide(name, decision, input), which returns a dict with the answer and every option's probability. A deploy reads each decision's state fields with a stand-in input, refuses one it can't use with400 {"error": "invalid decisions"}and a changed question, options or fields under the sameversionwith409, as for TypeScript, and its answer names each decision's version and model. Theshiftlabspackage on PyPI has their type hints, andrun_workflow'sdecisions, from the SDK release after 0.4.0. Before, Python workflows had nodecision. See Decide with a model. - Pause, trigger and backfill schedules, and choose what a tick does
Developers and admins can pause a schedule with a note and resume it, start one of its runs now, and backfill the ticks of a past range: up to 1,440 ticks from the last 31 days, skipping the ticks that already ran. The Schedules screen and the API have Pause, Resume, Trigger now, Backfill and Stop backfill, and MCP has all but Stop backfill. Schedules take four new options:
overlapmakes a tick skip, wait, or cancel the last run while that run goes on;jitterstarts each tick up to that long after its time;catchupleaves out missed ticks older than it; andpauseOnFailurepauses the schedule when one of its runs fails. Left out, a schedule works as before. Before, a schedule couldn't be paused, run on demand or backfilled, every tick started a run even while the last one went on, and missed ticks started once however late. See Pause, trigger or backfill a schedule. - Find runs by time range, id, text and tags
The Runs screen takes a time range, a search box and tag filters, and keeps the filters you use as saved views in your browser; the Approvals screen gets a search box too. A workflow names search keys, such as
workflow({ search: { customer: "customer.id" } }), and each run is tagged with those payload values when it arrives;step.tag({ stage: "shipped" })adds tags while it runs.GET /v1/runstakessince,until,tag.customer=cus_42andq, which finds a run by the start of its id, or text in its error, such as the message its code threw, its tags or, for developers and admins, its payload.shiftlabs runs, the TypeScript and Python clients and MCP'slist_runstake all four; bulk cancel and re-run and the export take the time range and tags. Before, runs could be filtered only by status, workflow and what started them. See Find runs. - Outbound requests to one host by plan
The gateway now allows 30 requests a minute from a workspace to one host on Free and 600 on Pro, and an Enterprise contract can set 1,800 or 6,000. A run's outbound requests show the limit in their heading, and each request it refused as
429 rate limited, counted there too;GET /v1/runs/:id/egressgives each request'shost_limit. Before, every plan was held to 30 a minute per host. See At the gateway. - Pro runs can last 30 days
A run on Pro now has 720 hours (30 days) from when it arrives to end, so it can sleep, or wait for an event, an approval or another run, for up to 30 days. An approval's
timeoutnow runs out at the latest about 1 hour 45 minutes before those 30 days end. Free stays at 168 hours. Runs that arrived before this change keep 168 hours. A payload is still kept 14 days: a Pro run running longer still has it, but its re-run and/payloadget410after that. Before, runs lasted 168 hours on Pro too. See Limits on a run. - Model use on Pro past the included $10
Pro includes $10 of model use each billing month, at the models' list prices. Once your subscription includes model credit, agents and the helper go on past it, and the use past $10 is overage at the list price plus 15%, which the spending limit caps with runs, steps, CPU time and outbound requests. While a payment is failing, model use stops at the $10.
GET /v1/billingshows the month's model use asusage.modelMicros,nulluntil your subscription includes model credit, and Settings → Plan and billing shows it as Model use. Before, Pro's model use always stopped at $10 a month. See Model use. - Overage is charged every $50
Pro now invoices overage and charges your card each time another $50 of it accrues in a billing month, and the rest at renewal; the included amounts aren't given again. When such a charge fails, the month's included runs, steps, CPU time or outbound requests are used already, so new runs and agent messages stop at once with
429 {"error": "payment failed"}until it goes through. Subscriptions already running get this from their next change or renewal at the latest. Before, overage was charged only at renewal. See Overage and the spending limit. - The spending limit is at most $50 until the first monthly renewal
Until a subscription's first monthly renewal, its spending limit is at most $50:
PATCH /v1/billingabove that returns409, Settings won't save it, andGET /v1/billingshows the most you can set now asspendingLimitMaxCents. A higher limit already saved, the $100 default included, applies from the renewal. A subscription still in its first month gets the $50 limit at once. Before, the limit could be up to $10,000 from the start. See Overage and the spending limit. - Planned maintenance
During an announced maintenance window, a request that changes something returns
503 {"error": "under maintenance"}withRetry-After: 60, and nothing is changed: deploys, run now, agent messages, keys and settings, from the API, the CLI, MCP and the dashboard, and signing in or out of the dashboard. Reads, webhook deliveries and the runs they start, and runs already started carry on. The dashboard says that changes are paused. See Rate limits. - A daily budget for each end user
An agent's new
budget.endUserDailyUsdcaps what each end user, apersonyour app's key names or a chat token's, may spend on model use with the agent in a UTC day, all their conversations together: $0.50 unless you set it, at most $100, ornullfor no cap. The turn that reaches it finishes, and its conversation readsdaily budget reached. Until the day ends, that person's next message returns429 {"error": "daily budget reached", "detail"}withRetry-After, plusendUserDailyUsdandresetsAtfor your key; a chat token's answer has no amount. Members, and keys chatting as themselves, have no such cap.GET /v1/agentsand the agent's page on the dashboard show how many end users reached it today. Before, one end user could open conversation after conversation, each with its own budget, and spend the workspace's model credit. See Budgets. - Agents on your own provider key
On Pro, an agent can run on another provider's model, such as
openai/gpt-4.1-minioranthropic/claude-sonnet-4-5, with your own API key: name the model<provider>/<model>and, in the newproviderKey, the workspace secret that holds the key. Your provider bills its use: itsmodelitems read"byok": trueand$0, and it counts toward no budget, model cost or overage, only toward model tokens per 24 hours. Fallbacks are that provider's models, on the same key. The key is read for each request and goes only to the provider, through AI Gateway; each use is audited asprovider_key. A missing, trashed or readable secret, or a key the provider refuses or limits, ends the turn with an error that names the secret. Free workspaces get403. Before, agents ran only on the platform's Workers AI models. See Your own provider key.
- Deleted workflows, secrets, connections and vars can be restored for 7 days
A delete moves a workflow, secret, connection or var to the workspace's trash. It is gone at once: a workflow's trigger URLs answer
404and it starts no runs, and a secret can't be used or revealed. An admin restores it as it was, versions, state, triggers and links included, or deletes it for good, on the dashboard's Trash screen or withPOST /v1/trash/restoreandPOST /v1/trash/purge. After 7 days it is erased. While it's in the trash its name stays taken: creating or deploying it returns409, andshiftlabs deployexits7with what to do. Before, a delete was immediate and final. See Trash. - Agents can be deleted
Developers and admins delete an agent on its page on the dashboard's Agents screen, or with
DELETE /v1/agents/:agent. It moves to the trash for 7 days with its versions, conversations, code and schedules, and answers as an unknown agent at once. Its turns in progress end asfailed, its schedules skip their ticks, and its pending approval requests becomewithdrawn, a new status, without telling anyone. Its model usage stays counted. An admin restores it, or deletes it for good, on the Trash screen. While it's in the trash its name stays taken. From the SDK release after 0.4.0,shiftlabs deploysays how to delete an agent the project doesn't name. The built-in helper can't be deleted. Before, no agent could be. See Delete an agent. - Regions
Workspaces aren't pinned to a region yet, so a workspace's runs and stored data can be outside the US. The site, the privacy policy, the security page and the dashboard now say so. Before, they said runs execute in US regions only. See Security.
- The helper makes the changes you approve
The helper can deploy a workflow, run one, create a webhook trigger and, for an admin, set a secret's hosts. It gets only the changes your role or key allows, and each one waits for your own approval: you see the exact code, payload, signing or hosts in the conversation and on the Approvals screen, which developers now have, and nobody else can approve it. Approving makes exactly that change, with your access then. Denying it, or 72 hours without an answer, changes nothing. The audit log records each change as
helper_write, with who approved it. Before, the helper only read and drafted, and you made the changes. See What it can change. - Several workspaces, and a workspace menu
You can create up to 5 workspaces. The workspace at the top of the dashboard's sidebar opens a menu of every workspace you belong to, with your role in each, and New workspace. Choosing one opens it in place, with your role there, and keeps your session; other tabs follow on their next request. Signing in opens the workspace this browser opened last. Workspaces you join don't count toward the 5. Before, you could create one workspace, and reaching another meant signing out. See Workspaces.
- Runs get past a brief failure to load their code
When shiftlabs briefly fails to load a run's version at a dispatch, such as a dropped connection, it loads it again after 5 seconds, then 10 seconds, at most twice per run, and the run goes on. None of your code has run by then, and the wait may count as one more dispatch. Before, the run failed at once with
platform error. See Durable steps. - Python SDK reference and three Concepts pages
Python SDK lists every class and function a Python workflow imports from
shiftlabs, and the testing kit inshiftlabs.testing, generated from the module itself like the TypeScript SDK page. New Concepts pages explain workspaces and roles, runs and steps and projects, and link to the reference for each detail. - Agent costs count through a brief outage
When shiftlabs briefly fails while it counts a model response toward the agent's month and the model allowance, it tries twice more, and the response counts once. Before, that response was left out of
costMonthUsd,monthlyUsdand the model allowance, so an agent could spend a little past its monthly budget or the allowance. See Budgets. - Python sleeps until a time in epoch seconds
In Python,
step.sleep_until(name, until)withuntilin epoch seconds now sleeps until that time, as adatetimedoes. Before, the seconds were read as milliseconds, a time in January 1970, so the run didn't sleep: the step failed withYou can't sleep until a time in the past. A workflow gets this once it is deployed again. See Durable steps. - Slow agent code and payload checks answer in time
Uploading an agent's code, and an agent deploy or release that names
code, load the code once to read its tools. A load that takes more than 60 seconds now returns503 {"error": "temporarily unavailable"}with adetailandRetry-After: 30, and the agent's code and current version stay as they were. Checking a payload against a workflow's payload schema, for a webhook delivery, run now or a release's schedules, now takes at most 2 seconds: past that, the request returns the same503withRetry-After: 5and starts no run. Before, both waited as long as the platform took, until the request was cut off or the webhook sender gave up. See Code tools and Deploy and triggers. - Decisions in workflows
step.decide(name, decision, input)asks Cloudflare's Clef or Clef-flash a question fixed in code, about fields your code builds frominput, and returns the answer with every option's probability. Declare each decision withdecision()and name it inworkflow({ decisions }). Below its threshold,answerisnull, and the result still says where the model leaned. Card and bank numbers reach the model masked, and the run's detail keeps what the model read and answered. A deploy that changes a decision's question, choices or state fields under aversiondeployed before is refused with409. Decisions need agents on and count toward the model allowance. TypeScript workflows only; theshiftlabspackage's types for them, andrunWorkflow'sdecisions, come in the SDK release after 0.4.0. Before, a workflow could ask a model only through an agent, withstep.ask. See Decide with a model.
- Payloads too large to start a run are refused
A run's payload is at most 124 KiB as JSON, what the run queue can carry. A webhook or run now past it returns
413 {"error": "payload too large"}and starts no run.step.startfails at once, with no retry, and an agent's workflow tool call fails without starting a run; the model reads why. The dashboard's Run now checks the same limit. A body is still capped at 256 KiB, and a JSON body's whitespace doesn't count; a text body counts as a JSON string, so quotes, backslashes and control characters take 2 to 6 bytes each. Before, a payload the run queue couldn't take got an error, and its run stayed queued without starting for an hour, holding one of the workspace's concurrent runs. See Deploy and triggers. - Runners built for macOS or a BSD
A runner built from source for a system other than Linux now logs the warnings
not_hiddenandnot_subreaperwhen it starts, and goes on running commands as before: there, commands could read its token, and processes they move out of their process group live on. Before, it skipped those guards without a word. On macOS it now also keeps its environment, token included, out ofps -Ewhile System Integrity Protection is on. If workflows you don't trust with the token ran on such a runner, revoke its token and create a new one. The image, on Linux, is unchanged. See Your own image. - A run too large to start no longer holds up the runs behind it
A run waiting for its workflow's concurrency whose payload is too large to start now fails with
payload too largewhen its turn comes, unbilled, and the runs behind it start. Before, it stayed first in line and was tried again every 30 seconds, and the runs behind it waited until it passed its lifetime, 168 hours on the free tier. See Concurrency. - Faster refusals at runs at once
Starting a run past your workspace's runs at once now gets the
429right away, with the sameRetry-After. Before, the answer could take a few seconds while shiftlabs asked Workflows whether earlier runs had ended. That check now runs in the background, at most every 30 seconds, and a run it finds ended makes room for the next start. See Rate limits. - Sleeps use no subrequests
step.sleepandstep.sleepUntilno longer use one of an invocation's 50 subrequests each. Before, every sleep did, and each resume repeated the run's earlier sleeps, so a workflow that slept often and also calledfetchorsigncould run out and fail. A workflow gets this once it is deployed again, and the runs list still shows a sleeping run's deadline. See Durable steps. - Exact agent costs
Each model response's cost counts to the nearest $0.000001, and conversation and monthly budgets, the model allowance and
costMonthUsdadd up those amounts exactly. Before, adding many small costs could come out a little under the true total, and a monthly model allowance of some whole numbers of cents, such as 29, stopped an agent only past the allowance. See Budgets. - Slow deploys answer within a minute
A deploy loads its code once before it goes live. A load that takes more than 60 seconds now returns
503 {"error": "temporarily unavailable"}with adetailandRetry-After: 30, and nothing is deployed, so the current version stays. Before, a slow Python load held the deploy for up to 5 minutes, until the request was cut off. See The entry. - What a deploy leaves alone
POST /v1/releasesreturnsunnamed: the workspace's workflows and agents the release doesn't name, which it leaves as they are. From the SDK release after 0.4.0,shiftlabs deploylists them after the release, with how to delete a workflow, and--jsoncarries them. A deploy still deletes nothing. Before, nothing said what the workspace had beyond the project. See Releases. - Agent messages get past a brief outage
When shiftlabs briefly fails while it takes in an agent message, it sends the message to the agent again, at most twice, and the agent gets it once. A model request that fails because shiftlabs was briefly unavailable is retried twice, 0.5 and 1 second apart, and if it still fails the
erroritem says to send the message again. Before, either failure ended the turn asfailedat once, and a new conversation's first message was lost. See Conversations. - Webhooks from a shared sender
Webhook deliveries and events sent to event URLs no longer count toward the 600 requests a minute per IP of the API and the dashboard. A provider such as Stripe or GitHub sends every customer's webhooks from the same addresses, so other customers' deliveries, or deliveries to trigger URLs that don't exist, could use up that budget and get yours
429. Webhooks still count per trigger, per run and per workspace. See Rate limits. - Waiting runs wait at the caps
A run that hasn't started yet, waiting for its workflow's concurrency or its turn in a bulk re-run, or held until its workflow resumes, now starts only when a new run would: below the steps and CPU time per 24 hours, within the spending limit, with no failed payment, and while shiftlabs isn't pausing new runs. It starts within 5 minutes after that ends. Before, these runs started anyway, so a workspace could use far more steps and CPU time in a day than its caps. See Concurrency.
- Links added before the other workspace exists
A link you add to an id that no workspace holds is removed when a workspace with that id is created, whoever creates it. Add the link again once the workspace you meant exists. Links already added that way, to a workspace created after them, are removed too. Before, the new workspace saw the link as requested and could accept it. See Linked workspaces.
- Scoped keys' workflows start only their workflows
A workflow deployed with an API key scoped to some workflows can start and call only those with
step.startandstep.call. Another fails the step withthis workflow's deployer can't reach workflow <name>, and no run starts. Before, it could start any workflow in the workspace. Versions deployed before today still can, also when the same code is deployed again. See API keys. - Guides and a Limits page
The docs have a Guides section, each guide a task from start to a checked result: Stripe and GitHub webhooks, Python packages, alerts and webhook signatures, rate limits and retries, and AWS and Google Cloud events, which starts runs from EventBridge, SNS and Pub/Sub through a trigger URL. Limits lists every limit on Free, Pro and Enterprise and every request rate, built from the code that enforces them.
- Pro upgrades are open
An admin upgrades to Pro in Settings → Plan and billing, which opens a checkout page. Pro starts when the payment goes through. See Upgrade and manage billing.
- Home page
The story is runbooks and AI agents in code, with approvals. New sections cover runners, schedules, approvals in Slack, the spending limit and all five templates, with a plans summary, who it fits and common questions. See shiftlabs.org.
- Runaway code tool calls
A code tool call that runs past its CPU limit stops there, also after an earlier call of the same person stopped. This holds for a person's first four such calls with an agent each UTC day. Before, the later ones ran for about 30 seconds of CPU time, and all of it counted toward the workspace's CPU time. See Code tools.
- SDK 0.4.0
npx shiftlabs@latestandpip install shiftlabsget 0.4.0, with what 27 October added for code and the CLI:step.execandExecError,approvalsfor two or more approvers,shiftlabs promote,shiftlabs runs cancelandterminate,shiftlabs workflows pauseandresume,shiftlabs export, run control and diagnostics in the clients,execsin the testing kit, and thegithub-actions-runbooktemplate. The GitHub Action needs 0.4.0 or later.GET /v1/versionreturns{"sdk": "0.4.0"}, and the API still accepts a 0.1.0 CLI. See Versions. - Safe message retries
POST /v1/agents/:agent/conversationsand…/messagestake anIdempotency-Keyheader. A repeat within 24 hours sends the agent nothing and returns the first202, withIdempotent-Replayed: true. The same key on another request returns409. From the SDK release after 0.4.0,shiftlabs/clientand Python'sshiftlabs.clientkey each message and send it again after a network error or a short503. A repeated webhook delivery's200 {"duplicate": true}now carries therunIdit started. See API. - Brief outages return 503
When the API, webhooks or the dashboard briefly can't reach their storage, the database or one another, a request returns
503 {"error": "temporarily unavailable"}withRetry-After: 1. A change that gets it may have been saved: its answer adds ahintto check before sending it again, event sends included. Any other failure on our side returns500 {"error": "internal error"}, and the dashboard's sign-in and unsubscribe pages show a page asking you to try again. See Rate limits. - Promotions link connections first
A promoted workflow is linked to its connections in the workspace promoted to before its release goes live, and loses connections only its old version used just after. Before, the release showed
appliedabout a second before the links were in, so a run started then could find its connections missing. See Releases. - Approval answers after a failed or stopped turn
An approval answer that came in during a turn was lost if the turn then failed or stopped, and the agent never heard it. It now goes in within about a minute of the turn's end. A conversation stopped at
maxTurns, at its monthly budget or at the model allowance doesn't reply to an answer: it's added to the transcript, and the agent reads it with the next message. Atbudget reached, it's added to the transcript and the conversation is done: start a new one to go on. An answer that goes in more than 24 hours after its decision is added without a reply. Before, an answer to a stopped conversation got a reply. See What the agent hears. - Dashboard notices
What an action did shows in a notice in the corner of the dashboard, not in a line that pushes the page down. A success fades after 5 seconds, and stays while the pointer is on it. A success with a link or button, and a failure, stay until you close them. A list that couldn't refresh says so in a notice with Retry. On a phone, notices show at the top of the screen.
- Another way back in, and a second admin
If you're an admin of a Pro workspace and lose your authenticator, we can confirm it's you with a card check: we hold a random amount from 0.50 to 9.99 USD on the workspace's card, and you read it back to us. The hold is never charged. The audit log shows each check as
card_check. A workspace's only admin now sees a reminder to add a second admin, which they can hide for 30 days. See Sessions. - Stop runs
POST /v1/runs/:id/cancelends a run before its next step, andPOST /v1/runs/:id/terminate(admins) stops it at once, with the new statusescancelledandterminated. Runs it started withstep.callstop with it.POST /v1/workflows/:workflow/pauseholds a workflow's new runs, listedqueuedwith the reasonpaused, and its schedule ticks are skipped. Resume starts the held runs in order, or drops them, cancelled and unbilled.POST /v1/runs/cancelandPOST /v1/runs/reruncancel or re-run up to 1,000 runs that match a filter. A cancelled or terminated run bills only if its code ran. The dashboard, the CLI, the clients and MCP (cancel_run,pause_workflow,resume_workflow) do the same; no MCP tool terminates. See Stop a run, Pause a workflow and Cancel or re-run many runs. - Run commands in your network
step.exec(name, { run | command, env, files, timeout, runner, okExitCodes, retries })runs a bash script or a program on a runner you host, and returns its exit code and output; another exit code throwsExecErrorwith the result. The runner is theshiftlabsorg/runner:1.2.0@sha256:e8a4112e5c9e2dcb41e23fb09e6572624396d6062970b3108034b50704e08906image on Docker Hub, for Docker or Kubernetes. It only makes outbound HTTPS requests, uses the credentials you give it, and takes readable secrets passed per command as{ secret: "NAME" }. An admin creates runner tokens in Settings → Runners or withPOST /v1/runners/tokens, limited to a pool and to named workflows: 2 on Free, 20 on Pro. A runner runs whatever its allowed workflows send, so give it only the credentials those workflows need. In Python,ctx.step.exec. Deployed workflows can call it now; its editor types and the testing kits'execscome with the next SDK release. See Run commands in your network. - Linked workspaces
Run staging and production as two workspaces and link them. An admin of each adds the link in their own workspace with
PUT /v1/links/:workspace, or on the Workspace screen. Either side can remove it. Each audit log records the changes made in it. See Linked workspaces. - Promote a release
POST /v1/releases/:seq/promote,shiftlabs promote <release> --to <workspace>and the Releases screen copy a release's exact workflow and agent versions and its schedules to a linked workspace, as a new release there. Secrets, vars, connections, keys, limits and members stay as they are. If the target lacks a secret, var or connection the versions use, nothing changes and the answer names them. See Promote a release. - Promotion approvals
A promotion waits in the target workspace's Approvals until someone there approves it, in the dashboard, with the API or in Slack. The approver sees every version, definition and schedule it changes and the connections each workflow gets. The promotion is checked again before it applies, and is applied only if nothing in it changed meanwhile. An admin of the target can set a link to
directinstead, so promotions apply at once.GET /v1/releases/:seq/promote?to=andshiftlabs promote --waitfollow the request. See Promotion approvals. - Link and promote capabilities
Linking needs the new
workspace.linkcapability and promotingrelease.promote. Signed-in admins hold both. An API key holds them only when an admin lists them in itscapabilities, so admin keys made before today can't link or promote. See Roles and capabilities. - Deploy from GitHub
The shiftlabs GitHub Action deploys a project to staging on every push to
main, and promotes the release to production on a tag. Withwait: truethe job waits for production's approval. See Deploy from GitHub. - The release a deploy is in
A release that changes nothing now answers
current: the newest of the last 20 releases with the same versions and schedules.shiftlabs deployprints it, so CI can promote the release that holds its commit. See What a release changes. - TCP connections
A connection with
"protocol": "tcp"lists exacthost:porttargets, and workflow code that links it can open TCP connections to them, such as to a Postgres, MySQL or Redis server. Pro and Enterprise workspaces have them. See TCP. - Two approvers
Settings → Approvals can require two approvals for every request: two different members approve, and one denial ends it. Code can ask for up to 5 with
approvalsonstep.waitForApprovaland on a workflow tool'sapproval; in Python,approvals=. A member counts once, whether they answer in the dashboard or in Slack. Only members approve a request that needs two or more, never API keys. See Two approvers. - Finished runs read as complete
When Workflows is slow to mark a run complete,
GET /v1/runs/:idand the client'sruns.getnow show it complete, with its output, as soon as the run has ended and Workflows has the output. Agent tools get the output then too. Before, the run could readrunningfor minutes.step.callnow waits up to about 50 minutes for a result Workflows is slow to give, instead of failing the step. See Wait for another workflow. - Run tools in GitHub Actions
The
github-actions-runbooktemplate runs a script from your repository in your own GitHub Actions, after an approver says yes. Its workflow starts the GitHub run, gets the result, signed with your key, through an event URL, and asks GitHub how the run ended when no signed result arrives in time. The token stays in a connection, and your runners can sit inside your network. See Run tools in GitHub Actions. - Approve in Slack
Connect the shiftlabs Slack app in Settings → Approvals and choose a channel. Requests go there with Approve and Deny buttons, or straight to the members they name. Each approver links their own Slack account once, with Sign in with Slack; only that member can answer from it, and only requests they may answer. See Approve in Slack.
- Approval answers reach the conversation
An answer to a held tool call is tried again until it reaches the conversation: 30 seconds later, twice, then every 10 minutes, for about 90 minutes. Before, an approved call could run without the agent hearing its result, and the conversation stayed
waiting for approval. See What the agent hears. - SDK 0.3.0
npx shiftlabs@latestandpip install shiftlabsget 0.3.0, with the client, the testing kit and the types for the entries down to "Stream a conversation".GET /v1/versionreturns{"sdk": "0.3.0"}, and the API still accepts a 0.1.0 CLI. See Versions. - Client for your app
import { Shiftlabs } from "shiftlabs/client"chats with agents as your app's users and streams their answers, asks for an answer checked against a schema, runs workflows, reads runs, sends events, answers approvals and mints chat tokens. In a browser it takes a chat token, never an API key.shiftlabs typesnow also writes agent names and each workflow's payload type, so a wrong payload failstsc. Python apps get the same client asshiftlabs.client, withShiftlabsandAsyncShiftlabsfor asyncio, using only the standard library. See Client. - Chat tokens for browsers
POST /v1/chat-tokensturns a key withagent.chat_asinto a token for one agent and one end user, valid for up to an hour. A web page can chat as that person with it, stream the answers, and do nothing else. It sees the person's messages, not tool calls, results or costs. See Browsers. - End users of your app
A key with the new
agent.chat_ascapability names the end user it chats for withperson. Each person gets their own conversations, code tool database and message limit.agent.chat_asis in no role: an admin adds it to a key. See End users. - MCP sign-in
https://api.shiftlabs.org/mcpaccepts a WorkOS sign-in as well as an API key, so connectors that only sign in, such as claude.ai's, can reach it. A signed-in connection acts as you, with your role. See MCP sign-in. - MCP agent tools
MCP clients can list agents, their versions and conversations, read a conversation, send a message, and deploy an agent (developers). Admins can list approval requests. No tool answers an approval. See MCP.
- Who approves
approval: { approvers: [...] }on workflow tools andapproversonstep.waitForApprovalnamerole:admin,role:manageror members' emails. Only they see the request, get its notice and answer it; anyone else, admins included, gets403. A developer never approves. See Who approves. - Concurrency
workflow({ concurrency: { limit, key } }, fn)caps how many runs of a workflow run at once, for each value of the payload fieldkeynames. Runs past the cap wait their turn, listed asqueuedwith the reasonconcurrency, instead of being refused. At most 1,000 runs wait per workflow on Free and 10,000 on Pro. See Concurrency. - Idempotency keys
step.idempotencyKey(name)returns a key that stays the same on every retry and resume of the run, and differs in every other run. Pass it asIdempotency-Keyto Stripe and similar APIs. In Python,ctx.step.idempotency_key. See Idempotency keys. - Test a workflow
runWorkflowfromshiftlabs/testingruns a workflow in a unit test. Steps run at once, waits are answered by step name, the payload is checked against its schema, and a second pass checks the workflow takes the same steps when it resumes. In Python,shiftlabs.testing.run_workflow. See Test a workflow. - Events when a run can't be reached
Sending an event to a run that Workflows can't reach returns
503 {"error": "temporarily unavailable"}withRetry-After: 1instead of an error page. The event may still have arrived. See Events. - Stream a conversation
GET /v1/agents/:agent/conversations/:conversation/streamsends a conversation as Server-Sent Events: the agent's text as it is written, its tool calls and their results, approvals and status changes. A reconnect withLast-Event-IDgoes on without repeating text, and a conversation'slastEventIdstreams what came after it. The dashboard's conversation screen shows the reply as it is written instead of polling. See Stream a conversation. - SDK 0.2.0
npx shiftlabs@latestandpip install shiftlabsget 0.2.0, with the types for everything below and for events, approvals, schedules and npm packages from 26 October.GET /v1/versionreturns{"sdk": "0.2.0"}, and the API still accepts a 0.1.0 CLI. See Versions. - Start another workflow
step.start(name, { workflow, payload })starts a run of another workflow in the workspace and returns its id, the same id each time your run resumes. The new run has the originworkflow, and itsorigin_refnames your run.step.call(name, { workflow, payload })also waits for that run and returns what it returned, or fails with its error. In Python,ctx.step.startandctx.step.call. See Start another workflow. - Ask an agent
step.ask(name, { agent, message, schema })asks one of the workspace's agents and returns its answer, checked against the schema when there is one. Each run and step has one conversation, which the workflow owns. Agent conversation lists leave these out unless asked with?workflows=1or?run=. A workflow deployed by a key scoped to some agents can ask only those. In Python,ctx.step.ask. See Ask an agent. - Workflow state
state.get,set,deleteandlistkeep JSON values for a workflow across its runs. On the free tier a workflow holds up to 1,000 keys, each value is at most 64 KiB, and the workspace's state is at most 10 MiB in all (10,000 keys, 256 KiB and 1 GiB on Pro).GET /v1/usagereturnsstateandstateBytes. In Python,ctx.state. See State. - Editor types
shiftlabs typeswrites your workspace's secret and var names, never their values, toshiftlabs-env.d.tsandshiftlabs_types.pyi, so a misspelt name fails the type check. Theshiftlabspackage on PyPI is the module Python workflows run, with type hints. See Editor types. - Platform key rotation
When we replace the platform key that encrypts your workspace's data key and signing secrets, they are encrypted again under the new one, and the audit log shows
kek_reseal. Event URLs and chat tokens made before the change keep working until their run ends or they expire; an unsubscribe link in an alert email from before it stops working, and the next alert email carries a new one. See Security. - Pro outside the US is for businesses for now
Where checkout can take a business tax ID, it needs one before you pay. Customers in the US are unchanged. See PO number and tax ID.
- Sign out everywhere, and a lost authenticator
Settings → Sign out other sessions ends every other session you have, in every workspace. An admin can sign a member out of the workspace with Revoke sessions. If you lose your authenticator, we delete it once we've confirmed who you are, and you set up a new one at your next sign-in. The audit log shows each as
sessions_revokeormfa_reset, and our changes to your plan, limits, runtime and suspension asplan_set,limits_set,runtime_setandstatus_set. See Sessions and Security. - Pages and exports
GET /v1/audit,/v1/approvals,/v1/deploysand an agent's conversations page past their first page: send theNext-Beforeheader back as?before=.GET /v1/runs/export,/v1/audit/exportand/v1/usage/exportdownload a whole list as NDJSON, up to 100,000 rows a request and 10 exports a minute. Runs and Audit have a Download button, andshiftlabs export runswrites every run to one file. See Pages and exports. - Tool calls per model turn
One model turn calls at most 10 tools on Free and 50 on Pro. The answer stops at the first call past that, which fails without running, and the model reads
Tool call limit reached. The stopped answer's tokens are estimated and count toward budgets and the model allowance. See Conversations. - A stuck turn ends
A turn that stops without an answer ends as
failedwithin about 2 minutes, with the errorThe agent stopped without an answer., and the conversation takes the next message. Before, it could stayworking. See Conversations. - CPU time of stopped code
Code stopped at its CPU limit counts the CPU time it used before it stopped, about twice the limit. Before, it counted the limit. About 67 stopped calls now use Free's 300 seconds a day, instead of 150, and a run reaches its CPU time per run sooner. See What counts.
- What went wrong in a turn
A conversation's
diagnosticslists what went wrong in its turns: an answer stopped at the tool-call limit, a model that went silent or failed, a tool call that was refused or failed, or a stuck turn. It keeps the latest 20 diagnostics, and the latest 5 failed tool calls apart from them. Each has the model, the tool calls the model asked for, the time it took and the first 1,000 characters it wrote, without its reasoning, with your readable secrets' values replaced. See Conversations. - Retired models, tool results and model logs
Workers AI retired eight of the models agents could use on 30 May 2026, and the models table now shows the date. A conversation on one is answered by the successor Workers AI named, else the agent's first fallback still served, else a model the platform picks, at that model's price, and its trace says so. Kimi K2.5 conversations now cost Kimi K2.6's price per million tokens: input $0.60 → $0.95, cached input $0.10 → $0.16, output $3.00 → $4.00. Their budgets and your model allowance run out sooner. A retired fallback gives way to its successor or is skipped. Deploying a retired model returns
400, and one that retires within 30 days deploys with a warning. Tool results now reach the model marked as data, with a rule not to follow instructions in them. The AI gateway no longer keeps prompts or answers: at most each request's details, such as model, tokens and cost, for up to 30 days. See Models, Tool results are data and Privacy. - Status page
The status page at status.shiftlabs.org shows uptime and incidents. Every site footer and the dashboard's account menu link to it.
- Events
step.waitForEvent(name, { timeout })pauses a run until the eventnamearrives and returns its data, ornullonce the timeout passes, 24 hours by default.step.eventUrl(name)is a URL a third party can post the event to without an API key, andPOST /v1/runs/:id/events/:namesends one with an API key. An event sent before the run waits is kept. In Python,step.wait_for_eventandstep.event_url. See Events. - Approvals in workflows
step.waitForApproval(name, { message, timeout })puts a request in the Approvals inbox, sends the approval notices, and waits for an admin to answer. It returns{ approved, by, note }, and a request nobody answers by the timeout, 72 hours by default, counts as denied. The Approvals screen links each request to its run.GET /v1/approvals?kinds=agent,workflowlists them with agents' requests, each marked withkind; withoutkindsit lists agents' requests only, as before. Approvals now show in every workspace. In Python,step.wait_for_approval. See Approvals. - Agents are on in new workspaces
A new workspace starts with agents and the helper on. An admin can turn them off in Settings → Agents or with
PUT /v1/workspace/agents. See Turn agents on or off. - PO number when you upgrade
Upgrade to Pro in Settings → Plan and billing takes an optional PO number, and so does
POST /v1/billing/checkoutas{"poNumber"}. Every invoice carries it, the first one included. See PO number and tax ID. - npm packages and several files
A TypeScript workflow can import its own files and npm packages, and a Python workflow its own modules.
shiftlabs deploysends the files a workflow imports, withpackage.jsonandpackage-lock.json. The packages install once, when you deploy, at the versions the lockfile pins, from registry.npmjs.org, and their install scripts never run; a new set of packages takes about a minute, andshiftlabs deploywaits for it. Each version keeps the packages it was deployed with. A payload schema can now be a zod schema. See Files and npm packages. - Schedules
schedule("sync", { cron: "0 3 * * *", timezone: "America/Detroit" })inproject({ schedules })starts a workflow on a cron in your time zone, andschedule({ agent, message, cron })messages an agent. Schedules are part of the release, so a rollback puts them back. Scheduled runs have the originschedule, and the dashboard's Schedules screen lists and edits them. Free workspaces get 5 schedules running at most every 5 minutes, Pro 50 running as often as every minute. See Schedules. - Code tool calls
A person's code tool calls run one at a time, and each person's code runs apart from everyone else's. A call that runs out of CPU time fails alone, without failing the calls after it or anyone else's. A call still waiting for an earlier one when its
waitSecondspass fails without running. See Code tools. - pydantic in Python workflows
A Python workflow can list
pydanticunderdependenciesand pass a model to@workflow(payload=…). Until now, a deploy that imported pydantic failed withAttributeError. The next deploy of a Python workflow with packages records a new version, even if its code is unchanged. See Payload schemas. - Agent time limits
A model request that sends nothing for 120 seconds ends the turn as
failed, and the conversation takes the next message. A helper tool call fails after 30 seconds. See Conversations.
- CLI and API versions
The
shiftlabspackage and the SDK the platform runs share one version, starting at 0.1.0. Every/v1answer carries it inShiftlabs-Sdk-Version, andGET /v1/versionreturns it without an API key. The CLI says when a newer version is out, the API refuses a CLI older than the oldest it accepts with426, and each release records the version of the CLI that made it. The CLI needs Node 22.18 or later. See Versions. - Agent tools
workflowTool(workflow, {...})replacestool(workflow, {...})inshiftlabs.config.ts, and a workflow tool'sparameterscan be a zod 4.2+ schema or any Standard JSON Schema. A code tool is nowtool({ description, parameters }, fn)in the agent's code, andcodeadds every tool in it:codeToolis gone, andPUT /v1/agents/:agentno longer takes code tools intools. The upload refuses a code tool with no description. See Code tools. - Payload schemas
workflow({ payload }, fn)takes the payload's JSON Schema, and Python@workflow(payload=…)a JSON Schema dict. A webhook or run now whose payload fails it gets400with what doesn't match and starts no run. Each check may use 100 ms of CPU time, and patterns are JavaScript regular expressions. A workflow tool with noparametersshows the model the schema, MCP'slist_workflowsreturns it, and the dashboard's Run now builds a form from it. See Payload schemas. - FatalError
throw new FatalError(message)in a step fails the step and the run with no more attempts. A step with noretriesis retried 5 times, 10 seconds apart and doubling, with 10 minutes per attempt. See Durable steps. - Deploys load TypeScript too
A TypeScript deploy loads the code once, with no network, as Python deploys do. A module whose default export isn't
workflow(…)fails the deploy with400. See Deploy and triggers. - Agent settings
budget: { conversationUsd, monthlyUsd }replacesbudgetUsd. WithmonthlyUsd, an agent stops at that much model cost in a UTC month, and its messages return429 {"error": "monthly budget reached"}until the month ends.access: { role, members }says who may message an agent.description,welcomeand up to 4suggestionsshow in the dashboard. In a project,instructions: file("./x.md")reads the instructions from a file. See Budgets and Access. - Docs for coding agents
https://docs.shiftlabs.org/llms.txtlists every docs page,/llms-full.txtholds them all in one file, and every page is also Markdown at its address plus.md. See MCP. - Model fallbacks
An agent's
fallbackmodels now answer when its model fails before it answers, and that response is priced at the fallback's prices. Eachmodelitem in a conversation says which model answered and whether it was a fallback, and the trace marks it. Leavefallbackout and the platform picks one, so the next deploy of an agent that names none records a new version. See Models. - Model tiers
Each model has a tier, its answer quality from 1 to 5, shown in the models tables. A fallback below its model's tier returns
400, and so does a model agents can't use, with the list of those they can. See Models. - Default model
modelis optional: an agent without one runs on@cf/zai-org/glm-4.7-flash. The SDK'sModeltype completes model ids in your editor. See Define an agent. - Steps and CPU time
Free includes 5,000 steps and 300 seconds of CPU time a day. At either cap, new runs return
429with{"error": "quota exceeded", "limit": "stepsPerDay"}or"cpuSecondsPerDay"and aRetry-After. Runs already started continue. See Plans and billing. - Steps and CPU time on Pro
Pro includes 1,000,000 steps and 50,000 seconds of CPU time a month, then $0.02 per 1,000 steps and $0.05 per 1,000 CPU-seconds, up to your spending limit. See Overage and the spending limit.
- CPU time per run
A run fails at its next dispatch once its code has used 10 seconds of CPU time, or 60 on Pro, with
limit cpuMsPerRun=10000. See Plans and billing. - Usage
GET /v1/usagereturnsstepsLast24handcpuSecondsLast24h,GET /v1/billingreturnsstepsandcpuSecondsinusage, and the dashboard shows both. See What counts. - Steps per run
A run executes at most 100 steps on the free tier and 1,000 on Pro. The step after that fails the run, with the error
limit stepsPerRun=100on the free tier. Retries and sleeps don't count. Each run'sstepsare inGET /v1/runs,GET /v1/runs/:idand the run detail. See Durable steps. - Agents in the docs
Agents, approvals, the built-in helper, templates, and plans and billing each have a page, with the models agents can use and their prices. See Agents.
- CLI reference
Every
shiftlabscommand and option, and howshiftlabs deployreleases a project's workflows and agents together. See CLI reference. - API reference
The agent, approval and billing routes are in the route table, and the rate limits cover agent messages and the spending limit. See API.
- SDK reference
agent,tool,codeTool,toolsandproject, with their types. See SDK reference. - Home page
The story is AI agents and automation, built in code. A new Agents section covers conversations, approvals, the built-in helper, templates and budgets. The Limits tab shows Free and Pro, and Steer a run shows who started each run and opens a run over the list. Every footer and the link preview carry the new line. See shiftlabs.org.
- Pricing
Free and Pro side by side with every limit, the model allowance for agents, overage and the spending limit, plus Enterprise and new questions. Pro upgrades open soon. See Pricing.
- Security, privacy and terms cover agents
The security model has an Agents section (approvals, secret scrubbing, code tools, staff access) and Free and Pro limits side by side. The Privacy Policy says what conversations hold and how long they and model request logs are kept. The Terms and Acceptable Use Policy cover AI output, approvals and prompt injection. See Security.
- Run history
Runs are kept for 35 days after they end. A run that hasn't ended is kept until it does. See API.
- PO number and tax ID on invoices
Checkout collects a business tax ID. Admins set, change or remove a PO number in Settings → Plan and billing or with
PATCH /v1/billing/invoice, before upgrading so it's on every invoice. Each new invoice shows both. See PO number and tax ID. - Retried webhooks start their run
If a webhook delivery got a
5xx, a retry within 45 minutes starts its run once, unless the run has already started. The retry may still return200 {"duplicate": true}. See Deploy and triggers. - Stop alert emails
Every alert email has a link that stops alert emails to you without signing in, and every member has the same switch in Settings. Addresses that bounce or mark an email from shiftlabs as spam get no more alert emails, and Settings shows them. See Alert emails.
- Erasing a person
When someone asks us to delete their personal information, we replace their email address and user id in a workspace's records with an
erased-…reference. The audit log shows each erasure asperson_erase. Deleted or erased information stays in backups for up to 30 days. See Privacy. - Erasing a person
When someone asks us to delete their personal information, we replace their email address and user id in a workspace's records with an
erased-…reference. The audit log shows each erasure asperson_erase. Deleted or erased information stays in backups for up to 30 days. See Privacy. - Brief storage outages on webhooks and runs
Webhook deliveries retry reads, and a delivery that still fails returns
503with{"error": "temporarily unavailable"}andRetry-After: 1instead of an error page. Runs and agent tool calls retry their storage reads. See Rate limits.
- Scoped keys in the dashboard
New API key can leave out some of the role's capabilities and limit the key to named workflows. The API keys list shows each key's limits, and its popup lists them. See API keys.
- Paused runs
While new runs are paused, starting a run or sending an agent message returns
503with{"error": "runs paused"}and aRetry-After. It replacesplatform brake onand carries no reason. See Rate limits. - Brief storage outages
When a workspace's storage is briefly unavailable, reads retry, and a request that still fails returns
503with{"error": "temporarily unavailable"}andRetry-After: 1instead of an error page. See Rate limits. - Docs layout
A menu beside every docs page, grouped by section, the page's sections beside it, and a copy button on every code block. See Get started.
- Releases in the dashboard
A Releases screen lists recent releases with their workflow and agent versions, and developers can roll back to one. The dashboard menu is grouped into Agents, Automation and Workspace. See Releases.
- API key names on deploys
Workflow versions, agent versions and releases deployed with an API key carry the key's name in
deployed_by_name,deployedByNameorreleasedByName, and the dashboard shows that name instead of the key's id. See Releases. - API reference
The API reference covers every capability by role, the scoped-key
403, theapprovals.waitingalert webhook, theagentandmanualrun origins and every/v1/usagefield. Secrets, Triggers and Workflows list their routes. See Roles.
- Platform pause
When shiftlabs pauses new runs across the platform, starting a run and sending an agent message return
503with the reason and aRetry-After. Runs already started continue. See Rate limits. - Releases
Stage new versions of several workflows, make them current together in one release, and roll back to an earlier one. See Releases.
- Docs on their own address
The docs and this changelog are now at docs.shiftlabs.org. See Get started.
- Docs search
Search every docs page and the changelog from the box at the top of each page. See Get started.
- SDK reference
Every type and function a TypeScript workflow imports from
shiftlabs, generated from the SDK itself. See SDK reference. - Versioning
How
/v1changes, and how anything we remove is announced at least 90 days ahead. See Versioning. - Signed alert webhooks
Alert webhooks carry a
Shiftlabs-Signatureheader, failed posts are retried four times, andGET /v1/alertslists the last 20 attempts. See Alert webhooks. - Safe run retries
Run now takes an
Idempotency-Keyheader. A repeat within 24 hours returns the first run instead of starting another. See API. - Read audits
Reading a run's payload or a workflow's deployed source is written to the audit log, once per person and hour for each. See API.
- Scoped API keys
An API key can be narrowed to some of its role's capabilities and to named workflows. See API keys.
- Started by
Each run records what started it (a trigger, a re-run, the dashboard, the API or MCP) and who. Filter runs by it in the dashboard or with
?origin=. See API. - Rate limits
Per-workspace limits on API calls, run log and metrics reads, invitations and webhook deliveries. See Rate limits.
- Secret redaction
A readable secret's value is replaced by
[redacted]in logs, in a run's output and in errors. See Run context. - MCP server
MCP clients can list, deploy and run workflows at
https://api.shiftlabs.org/mcpwith an API key. See MCP. - Failure alerts
An email or a webhook when runs fail, and if you choose, when runs are refused at a limit. See Alert webhooks.
- 1,000 runs a day
The free tier includes 1,000 runs a day. See Pricing.
- Python workflows
Decorate one function with
@workflowand deploy it withcontent-type: text/x-python. A syntax or import error fails the deploy. See Workflows. - Python packages
List packages at the top of the file, the PEP 723 way. They're built once, when you deploy. See Python packages.
- Workflows in the dashboard
Write, deploy, run, roll back and delete workflows in the dashboard, and change a trigger's signing in place. See Deploy and triggers.
- Exact Retry-After
A run refused at the daily cap gets a
Retry-Afterwith the seconds until a slot frees. See Rate limits.