Repository navigation
Releases
v0.5.3
Usage reports the base cost and its parts. Every kit stays a preview: pin the exact version.
Upgrading from 0.5.2: nothing to change.
- Usage answers (
usage.get, the enterpriseusage) carryvendor_cost_microsandfee_microsnext tocost_micros.cost_microsis now the base cost Omazy sets: the vendor's published price for each call plus the Omazy service fee on speech. Speech to text is priced per second, text to speech per character. A platform that bills its own customers adds its margin tocost_microsand keeps no copy of vendor prices. The TypeScript and Go types gain the two fields; Python returns them in the same dicts. Additive: nothing to change.
v0.5.2
Fixes from running the "Build an AI product in a day" tutorial end to end. Every kit stays a preview: pin the exact version.
Upgrading from 0.5.1: the catalog snapshot gains actor_confirm, and actor_start's version follows its list of actors; both are additive, so accept them with OMAZY_UPDATE_SNAPSHOTS=1. A tenant isolation check that skips the actor tools should skip actor_confirm too. A project made with create-omazy-app 0.5.1 or earlier should add /core to OMAZY_BASE_URL in wrangler.jsonc. Everything else is unchanged in name and shape.
create-omazy-app: the generatedwrangler.jsoncsetsOMAZY_BASE_URLtohttps://mw.omazy.ai/api/v1/core. Before, it said/api/v1, so every model call went to/api/v1/ai/completeand answered 404.actorTools:actor_start's version is the number of actors it offers whenactorslists them. Adding an actor to the door is now an additive change in the catalog snapshot (a new value and a higher version), accepted withOMAZY_UPDATE_SNAPSHOTS=1; before, it was breaking ("schema changed but version is still 1") and the kit fixed the version, so nothing but deleting the snapshot fixed it. Removing an actor is still breaking. Without a list,actor_startstays at version 1.actorToolshas a fourth capability,actor_confirm(R2), and the card'ssubmitnames it with the session and the card id instead of the target call. Over MCP the client calls it once the person agrees; the guard asks the person (an elicitation or a confirm token, its preview the card's summary and rows), and the runtime submits the card as a click on it does. The session then sees the outcome, soactor_statusreadsdoneorpending_approval. Before, the client called the target itself and the session never learned of it:actor_statusreadconfirmfor good. A confirm given for a card that changed since is refused as stale. A client that still calls the target directly makes the change, but the session does not see it. The copilot keepsactor_confirmfrom its model, as it does the other three. Upgrading: the catalog snapshot gainsactor_confirm(an additive change), and a tenant isolation check that skips the actor tools should skip it too.fakeCore().on(match, answer)says in its JSDoc and on the testing kit page what it always did: without{ times }a rule answers every later request it matches, so a secondon()for the same unit never fires. Give each turn's reply{ times: 1 }. The behaviour is unchanged.create-omazy-app: the generatednpm run setupbuilds the page (npm run build:page) before it touches Cloudflare, so its deploy ships the current page. Before, it deployed whateverpublic/app.jsheld, which was nothing on a fresh checkout that had not runnpm run dev. A build error now stops setup before anything is created.uikit: an approver can ask for a step-up code from the page.uiRoutestakesapprovals.codes(the guard'scodeStepUp, the same one given tocreateGuard) and servesPOST <base>/approvals/<id>/code, which sends a code to whoever may decide the approval now and answers{ channels, method, expiresAt }. It answers 404 to someone who may not see the approval, 403 to someone who may see it but not decide it, 409 once it is decided, and 400 when its policy asks for another method.uiClient().approvals.sendCode(id)calls it.CodeStepUpFormfrom@omazyai/sdk/ui/reactis a readystepUpslot forApprovalsInboxandApprovalDetail: a button that sends the code, a field for each channel, and the proof passed to the decide call. New words inUiText, English and Bangla:codeSend,codeSent,codeLabel,codeResend,codeSubmit,codeRequired. Before, a product had to write its own route and form, and the scaffold had neither.create-omazy-app: every preset wires the guard'scodeStepUp.AppPartstakessendCode, the app returnscodes, and the guard gets it as itsstepUp; with the copilot,uiRoutesserves the code route and the page'sApprovalsInboxhasCodeStepUpFormin itsstepUpslot, so an owner approves in the page.src/index.tsprints the code to thewrangler devconsole when.dev.varshasSTEP_UP_LOG=1(written there by the scaffolder, never inwrangler.jsonc) and refuses otherwise until you wire a mail or SMS sender. The test harness records each code inh.codes. A product adds a policy that namesstepUp: 'code'and nothing else.
v0.5.1
The fixes from the sixth independent review of the oauth kit, and the end of its review warning.
Six independent reviews of the oauth kit are done. The last one found nothing high and no unconditional medium, and its findings are fixed below. Each review's proofs run as regression tests. The kit stays a preview, like every kit: pin the exact version.
A door may now open with it, as long as the product follows the setup rules on the kit's reference page: platformDoors named, a list of known clients on every platform door, checkSeat, a consistent refresh store (the Durable Object or D1), the rate-limit bindings, and @cloudflare/workers-oauth-provider pinned at the tested version.
Upgrading from 0.5.0: RefreshStore has five new methods, so a custom store must implement them. On D1, run applyOAuthD1Migrations again (migration 0003_oauth_person_index, additive). checkSeat is now required at every door. Everything else is unchanged in name and shape.
Fixes from the sixth review of the oauth kit:
personLostRole,revokeAppandconnectedAppsno longer find a person's grants and keys by KV'slist()alone. KV's listing is eventually consistent, so a grant or key made in the last minute or so was missing from it:personLostRolereturned{ grants: 0, keys: 0 }for a grant and a key made ten seconds earlier, and both kept working (the grant refreshing for good). The refresh store now keeps an index per person, written when a grant is made (before the client has its code, failing closed) and renewed on every refresh, and when a key is minted; the three functions read it, with KV's listing for older records.personLostRolefirst records a revocation of the person (at the door or tenant given) in the store, for a little over a year: anything made for the person before that moment is refused at its next refresh, code exchange orresolveSeat, even if the index missed it, and a grant is revoked there (new eventgrant_revoked, reasonperson_revoked).RefreshStorehas five new methods (indexPut,indexDelete,indexList,revokePerson,personRevocations), which a custom store must implement. D1 needs the new tables: runapplyOAuthD1Migrationsagain (migration0003_oauth_person_index, additive);pruneclears them. The Durable Object keeps them in objects of the same class, with no new migration.checkSeatis required at every door, a tenant door too; without itauthorizationServerthrows at start. It also runs inside the library (itstokenExchangeCallback) on every refresh and code exchange, before any token is minted: a seat it says is gone revokes the grant, tombstone first (grant_revoked, reasonseat_gone), and a throw answers503and revokes nothing, leaving the refresh token good for the retry. Before, a tenant door could omit it, with a start-up warning that said a removed seat kept working until its access token expired; in fact its grants kept refreshing, and withcheckSeatits access tokens stopped but the grant kept refreshing. The warning is gone with the option's optionality.- Key revocation no longer lives only in KV. With a refresh store, a revoked key gets a tombstone there before its KV records are deleted, and
resolve,listandtransferServiceread it, so a revoked key stops at once in every location.transferServicerefuses a revoked key (false): a location whose KV cache still held it wrote it back for good, under its new owner. A key moved withtransferServiceis covered by its new owner's revocations from the moment it moved.Keystakes the store as an optional fifth argument, andauthorizationServerpasses its refresh store to its keys.@omazyai/sdk/oauth/keysexportsdurableObjectRefreshStore,d1RefreshStore,applyOAuthD1Migrations,OAuthRefreshLockandkvRefreshStore, and still loads no provider. Without a store,Keysworks as before, with the KV window, now documented. Joya, on keys with KV alone, should bind theOAuthRefreshLockDurable Object (or its D1) and pass that store toauthorizationServerand to anyKeysit builds in the Worker. - Every numeric option is a whole number, checked at start:
keys.personal.maxDays,keys.service.maxDays,registration.perHourPerIp,perHourPer48andclientTtlDays,turnstile.after,ttl.accessSecondsandttl.refreshSeconds(at least 60), andsignInCodesttlSeconds.NaN,Infinity, a fraction or zero throws. Before,NaNpassed every comparison and lifted the limit:maxDays: NaNminted a ten-year personal key,perHourPerIp: NaNremoved the registration limit,turnstile.after: NaNnever showed the challenge. oauth.api()returns the library's helpers withrevokeGrantanddeleteClientgoing through the kit:revokeGranttombstones the grant first, asrevokeAppdoes, anddeleteClienttombstones and revokes every grant of the client (found through a new per-client index in the refresh store and a listing of every grant in KV) before the library deletes the client. Before, a grant revoked throughapi()came back from a location whose KV cache still held it.- A tenant door on the KV refresh store warns at start, unless
refresh.acceptKvRaceis set: there a replayed refresh token, a revoked grant or key, and a person who lost a role keep working for about 60 seconds in another location. signInCodes(kv, { store })takes the refresh store. With a consistent one, a redeem claims the code there under a lock, so a code is single use across locations; before, a location whose KV cache still held a redeemed code could redeem it once more with the same flow's state. Without a store nothing changes.- The docs say that revoking an access token alone (RFC 7009) is the library's KV delete, with no tombstone, so other locations stop accepting it within about 60 seconds; revoking the refresh token or calling
revokeAppstops the grant at once.
v0.5.0
The product kits and create-omazy-app, as a preview.
Everything new in this release is a preview. The kits and the scaffolder may change their names and their shapes before 1.0. Pin the exact version, read this changelog before moving to the next one, and expect to change code when you do.
The oauth kit is still under independent security review. Do not open a door with it in production yet. Five reviews found issues, and each one is fixed with a regression test (listed below), but the review is not finished.
What is in it:
- The kits, TypeScript only, each its own entry point:
@omazyai/sdk/capabilities(one definition of each action),/guard(who may run it, confirms, approvals, switches, limits, a request log),/mcp(an MCP server per door),/oauth(the authorization server for those doors),/ai(the run layer every model call passes through),/ai-sdk(a Vercel AI SDK model on that run),/actors(a form as a conversation),/flows(workflows and automations, each step in a ledger),/copilot(an open conversation on the product's data, streamed touseChat),/ui,/ui/reactand/ui/server(the screens and their routes) and/testing(unit, actor and door tests without the network, and release gates). create-omazy-app, a new package versioned with the SDK, which writes a new product on the kits. Itspackage.jsonpins the SDK release tarball of the same version.- Model roles, tags and cost, and spend caps on the Core API, in all three clients.
- Fixes to the 0.4.x clients: the response details of one call (
withResponse,with_response,WithResponseInfo), so a Worker serving requests at once reads its own; a 30 second timeout on live transcriptioncommit()andend()in TypeScript; and retries after a 429, a gateway error or a dropped connection for document changes, document deletes and MCP server removal. @omazyai/sdkand@omazyai/sdk/serverare unchanged in name and shape: code written for 0.4.0 runs unchanged. The TypeScript package now says Node 20 or later, which is what it already needed.
The details, kit by kit:
The capabilities kit, experimental: the first of the product kits. TypeScript first; the Python and Go clients stay API clients. Nothing in 0.4.0 changed its name or its shape, and @omazyai/sdk/server is unchanged.
- A new entry point,
@omazyai/sdk/capabilities. Each action a product offers is defined once withcapability({ ... }): a<noun>_<verb>name, the doors (audiences) that see it, a title, a description of 80 to 600 characters written as a prompt, synonyms, an opaque permission for the product's own check, a risk tier R0 to R4, an approval policy name (required at R3 and R4), input and output schemas, the fields that hold personal data, a version, andpreview(required at R2 and above) andrun. A definition that breaks a rule throws when the module loads, listing every problem. defineCapabilities<Ctx, Permission, Door>()binds the product's own context, permission and door types once.Ctxcarries the principal, seat, tenant, channel, approval id and request id, plus the product's own fields.- Schemas: any Standard Schema that also gives Standard JSON Schema, so zod 4.2 and later works as is. Valibot, TypeBox and others go through
withJsonSchema. Theschemahelpers (object, text, id, integer, minorUnits, enum, array and more) do the same with no dependency. Every object in the JSON Schema is closed withadditionalProperties: false.parserefuses a field the closed JSON Schema does not name, at any depth, even when the library would drop it (zod's plainz.object). registry([...])lists capabilities by door and gives the MCP tool list (inputSchema,outputSchemaand annotations), the tool definitions forai.complete, a form schema, argument parsing with the tier of the call, redaction of personal fields for logs (capped at 4 KB without splitting a character) and BM25 tool search over names, descriptions and synonyms.- Read or write, and the MCP hints, come from the tier and are never stored. Anything that is not R0 to R4 counts as R4. R3 and R4 are marked destructive.
riskFor(input)lowers the tier for some inputs (turning a kill switch off). It never weakens caution: a tier above the declared one is used and reported, and anything that is not a tier counts as R4.- Versioning:
snapshot()gives the catalog as data to commit.assertAdditive(before, after)fails on any change that would break a client: a removed field, a new required field, narrower values, an output field that may now be missing, a schema change without a new version, or a capability removed before its deprecation date (90 days by default).toolsChangelog(before, after)writes the tools changelog. reg.parity({ ... })andassertParityfor a product's CI: every entry is sound, names are unique, and no surface names a tool the registry lacks or one its door cannot see.parityProblemsandassertParitytakesurfacesas the same recordreg.paritytakes (Surfaces: a name to a list of tools, or to{ audience, tools }). The array form[{ name, audience?, tools }]still works and is deprecated; it goes before the first release.
The guard kit, experimental: whether a capability call runs, who decides the sensitive ones, and a record of every request.
- A new entry point,
@omazyai/sdk/guard.createGuard({ registry, can, secret, store, policies, ... })takes the product's pieces: its permission check, policy table, record-owner lookup, roles, step-up verifiers, switches, rate limiter and request log. guard.call(ctx, name, args, { confirmToken?, waitUntil? })checks, in order, kill switches, rate limits, the arguments, the tenant and the product'scan(), and the tier, then runs R0 and R1 (R1 masked), asks for a confirm at R2 and holds R3 and R4 for a person. It never throws: the outcome is one ofok,confirm_required,pending_approval,refused_permission,refused_tier,read_only,stale,rate_limited,invalid,switched_offorerror, with a plain sentence.- Confirm tokens: an HMAC over the seat, the tool, the hash of the canonical arguments, the preview's state version and a nonce kept 10 minutes. Single use, bound to the arguments,
stalewhen the target moved. - Approvals: the arguments sealed with AES-GCM and hashed, the preview, the policy and the expiry. The approver comes from the policy table:
approver.authorOrRecordOwner(),approver.role(),policies.single()andpolicies.fourEyes(). Every decision needs a step-up proof; a refusal needs a reason; decisions are a compare-and-swap. Execution re-checks both people as of now, re-runs the preview, refusesstalewhen the state moved and runs the stored arguments once, idempotent on the approval id. A tenant's own policy can only tighten the base. guard.withdraw(id, ctx, reason)takes back a waiting approval: a compare-and-swap fromwaitingto the new statuswithdrawn, so it is never decided or run. Only its requester (same principal, same tenant) or a principal of kindsystem(SYSTEM_PRINCIPAL_KIND) may, with a reason kept on the row. Every attempt is logged asapproval/withdraw, andonApprovalgets awithdrawnevent. A flow waiting on a withdrawn approval endsrefusedwithapproval_withdrawn.codeStepUp()sends and checks one-time codes (one channel, or two for a super admin without a passkey); a passkey is the product's own verifier.- Kill switches by key (
all, a door, a kind of caller, a tool, the product's own) at global, tenant and person scope, read deny first on every call with no cache. guard.doorSwitch(door, ctx?)reads only theallanddoor:<door>switches, for a door that must stop every request and not only tool calls. It returns the first one that is off, or null, and throws when the switches cannot be read.- Rate limits through Cloudflare Rate Limiting bindings, per seat for reads and writes and per tenant.
- A request log row per call, arguments redacted through the capability's personal fields, written after the response so it never delays or fails a call; listings sampled one in ten;
logAnonymous()records a request refused before it had a principal asrefused_auth. The request id travels inX-Omazy-Request-Id. auditStatement()for the product's own audit row withvia,approval_idandrequest_id, in the same batch as the change.purgeTenant()deletes a tenant's rows in resumable chunks within D1's limits, with tables and rows to keep.- Stores for Cloudflare D1 (
d1GuardStore,d1RequestLog,d1Switches, with the SQL inGUARD_MIGRATIONS) and in memory for tests. Web standard APIs only.
The mcp kit, experimental: an MCP server per door, built from the registry and the guard.
- A new entry point,
@omazyai/sdk/mcp, on the official MCP TypeScript SDK v2. Install@modelcontextprotocol/server2.4.0 beside the SDK; it is an optional peer dependency, so a product that does not serve MCP installs nothing more. mcpServer({ registry, guard, door, resolveSeat, info })returns a Worker-shapedfetchfor one door. It serves spec revision 2026-07-28 (no sessions, noinitialize,server/discover,input_required) and, statelessly, 2025-11-25, 2025-06-18 and 2025-03-26 clients, each request by a fresh server and answered as one JSON body. JSON-RPC batches are accepted only on 2025-03-26. Schemas are checked with the SDK'scf-workervalidator, so nothing compiles code at runtime.- Tools come from the registry for the door, in registry order, with annotations from the tier,
outputSchemaandstructuredContent, and cursor paging (50 a page by default).tools/listcarries a one-minute private cache hint for 2026-07-28 clients. A seat may carrymaxTier(a personal key) or an allow list of tools (a service key); tools above it are neither listed nor callable. - Every
tools/callgoes throughguard.call.confirm_required...
v0.4.0
The Enterprise API: one workspace per customer. Nothing in 0.3.0 changed its name or its shape.
- A second client for a product that serves many customers, each in a workspace of their own:
OmazyEnterprisein TypeScript and Python,omazy.NewEnterprisein Go. It takes an account key (eak_...), not an install token. - Create the workspace of a customer, with its agent, its plan and its install, and get that customer's Core API token once. Your own id for the customer (
external_id) makes the call safe to repeat: a repeat returns the same workspace and no token, so the client retries it like a read. - List the account's workspaces page by page or all at once, find one by your own id, read one, rename and rebrand it, suspend and resume it, close it and reopen it.
- Rotate a customer's install token, with the old one kept for an overlap. This is never sent twice by the client.
core(token)(Corein Go) gives the Core API client for one customer on the same deployment, so a product picks a customer's token and calls models, knowledge and the agent as that customer.- An account key never reaches the Core API, and an install token never reaches the Enterprise API.
- The routes are listed in a contract of their own,
contracts/enterprise-api.routes.json, and each client's tests are held to it. - An account key is issued by Omazy to a product. There is no self-serve way to get one yet.
The agent's settings, under a new scope agent:configure:
- Read how the agent runs and change it from your backend: the model it answers on, the cap on one reply, the temperature, and the loop switches (the shared agent loop, streaming, masking of personal data,
memory, which gives the agent remember and forget tools, andfiles, which gives it a create_file tool).agent.settings.getandagent.settings.updatein TypeScript and Python,Agent.SettingsandAgent.UpdateSettingsin Go. - A change names only what changes. Null puts a setting back to what the agent inherits:
nullin TypeScript,Nonein Python (an argument left out isUNSET),omazy.Clearin Go besideomazy.Set. - A new model is tested with one real call before it is saved.
403 MODEL_NOT_AVAILABLEis a model the plan does not allow;422 MODEL_NOT_SERVINGis one that did not answer. Nothing changes in either case. - The same change sent twice leaves the same settings, so the client sends it again after a 429, a gateway error or a dropped connection.
- A token made before this release does not hold
agent:configure. Scopes are fixed when a token is made, so make a new one.
Live speech to text, on the existing scope voice:speech:
voice.transcribeStreamin TypeScript,voice.transcribe_streamin Python,Voice.TranscribeStreamin Go: a WebSocket session that hears audio while the person speaks, so the text is ready a few hundred milliseconds after they stop instead of after the whole recording is uploaded and heard.- Send audio as it is captured (
pcm_s16le,mulaw,alawwith a sample rate, orautofor WebM/Opus, Ogg or WAV).commitafter each utterance returns its final;endreturns every final joined and the audio length it is billed by;keepaliveholds a quiet session. Frames areready,partial,finalanddone; anerrorframe arrives as the client's error with its code and request id. - Voice minutes are counted once per session with a one-minute floor. Hold one session for a conversation and commit per utterance.
- The token goes on the upgrade: run it on your server, and relay from a browser. Zero dependencies: TypeScript uses the runtime's WebSocket (Cloudflare Workers, Node 22 and later, Bun, Deno;
webSocketto bring another), Python and Go carry a small client of their own. termsonvoice.transcribe(trailing arguments in Go): names and words to expect, so "Rashed Karim" is not heard as "Rasht Kareem". At most 200; more is refused, never cut.- The contract marks a WebSocket route with
websocket, and each client's tests hold its list to it.
Control over the gateway's response cache on completions:
cache_ttlonai.completeandai.stream(CacheTTLin Go): leave it out for the gateway's own setting,0for a reply that never comes from the cache, or 60 to 2592000 seconds to bound how long a stored reply may be served again. Send0on any request that carries live data.cache_hiton the result (CacheHitin Go) says the reply came from the cache. Such a reply cost nothing and used no AI turn.
Agent turns that stream and take the person's context, on the existing scope agent:run:
agent.streamin TypeScript and Python,Agent.Streamin Go: the reply arrives in pieces as the agent writes it, then the whole turn. The frames are a streamed completion's. In TypeScriptStreamEventtakes the result type,StreamEvent<AgentTurnResult>;StreamEventalone is still a completion's.- The agent's markup for quick replies and images is held back from the pieces, so a piece is safe to read aloud. Keep the text of the whole turn.
- When the agent's settings turn streaming off or masking of personal data on, only the whole turn arrives. An agent with connected tools sends its whole reply as one piece for now: its tool loop does not stream a turn made through the Core API yet.
contexton a turn (Contextin Go): one object of at most 2048 bytes about where the person is, read by the agent as a hint, as a widget page's context is.{"interaction": "voice"}makes it answer for the ear.- Nothing changed for
agent.turn.
The agent's MCP servers, under a new scope agent:tools:
- Connect, list, read, change and remove the MCP tool servers the agent may call:
agent.mcpServersin TypeScript,agent.mcp_serversin Python,Agent.ListMCPServersand its siblings in Go. For a product with a workspace per customer, this is how each customer's agent gets that customer's tools. - A server's name is unique within the app, ignoring case. A second one is
409 CONFLICT. - The endpoint must be https on a public host, or the call is refused with
400. - The credential is write-only. No call returns it.
- Connecting a server takes an idempotency key and is sent again only with one. A change is sent again like a read. A removal is never sent twice.
subject_checkon asession_bearerserver:whoami(the default) asks the server whose token it is,hosttakes your backend's word for a server that has nowhoami, such as Notion's, Slack's or Microsoft 365's. Each conversation stays locked to one person either way. Binding a token now answersverifiedwith the one that was used.
Usage and cost, under a new scope usage:read:
usage.getin TypeScript and Python,Usage.Getin Go: what the workspace used and what it cost, per UTC day, with totals. Model calls, replies from the gateway's response cache (free), tokens, speech sessions and seconds, cost in millionths of a US dollar, and the plan's counters (conversations, AI turns, API calls, voice minutes).- A range is two days as
YYYY-MM-DD, both included, at most 90 days; the last 30 days when you name none. It is a read, so the client sends it again after a 429 or a gateway error. - Text to speech is priced from a list price per character until it is checked against an invoice; that part of the cost is in
estimated_cost_micros. - A token made before this release does not hold
usage:read. A managed workspace's install gets it by default. - Across an enterprise account:
usage()onOmazyEnterprise(Usagein Go) gives a page of the account's workspaces, each with its totals and days, and the account's totals over every workspace. Needs the account scopeusage:read, which has the same name.
v0.3.0
Idempotency keys. Nothing in 0.2.0 changed its name or its shape.
- A request that changes something takes an idempotency key: placing a call, posting a message, publishing, running an agent turn, starting a voice job, adding a document, importing a file, adding a source and crawling one. With a key the platform runs the request once and answers a repeat with the first answer, and the client retries the request the way it retries a read. Without a key these are still sent once.
- TypeScript: a last argument
{ idempotencyKey }.agent.turntakes anAbortSignalas before, or{ signal, idempotencyKey }. - Python: a keyword argument
idempotency_key. - Go:
omazy.WithIdempotencyKey(ctx, key).
- TypeScript: a last argument
- A repeat that arrives while the first request is still running (
409 IDEMPOTENCY_IN_PROGRESS) is waited out and sent again. The same key with a different request (422 IDEMPOTENCY_KEY_REUSED) is an error. - The last response says whether it was a replay:
last.replayedin TypeScript and Python,Last().Replayedin Go. whoamireports the plan's voice minutes next to its AI turns. Speech, voice jobs and call placement answer402 PLAN_LIMIT_REACHEDwhen the minutes are used up.- The error of a failed stream carries the API's own error code.
- Fixed: a voice job named its app in the request body, where the API did not read it, so a workspace with more than one app always got its default app. The app now goes in the query string.
v0.2.0
Knowledge documents. Nothing in 0.1.0 changed its name or its shape.
- Read and write the agent's knowledge base: list, read, add, change and delete a document, with how its indexing stands (
queued,indexing,ready,failed). Reads needkb:read, writeskb:write. - Upload a file (PDF, spreadsheet, image or text) as a document.
- List the websites a knowledge base is crawled from, add one, and crawl it again.
- Export what changed in the knowledge base since a version, with the passages search uses, to keep a copy of your own.
- The body of the
kb.updatedevent is typed in the TypeScript client (KnowledgeUpdatedEvent). Verify it with the signature helper every client already has. - Knowledge writes are never sent again by a client after a failure. The reads are, as other reads are.
- Fixed: the TypeScript and Go types named a voice job kind
notes. The API takestranscribeandmeeting_notes.
v0.1.0
First release.
- Every Core API route over HTTP: completions (whole or streamed), knowledge search, agent turns, speech, outbound calls, voice jobs, customers, conversation messages, page publishing and session credentials.
- The Core API's MCP server: list tools, call a tool, or get the URL and headers for another MCP client.
- One error type with the status, the stable code, the message and the request id.
- Retries on 429, 502, 503, 504 and dropped connections, only for routes that are safe to send twice.
- The request id, the rate limit and the token's deadline readable after each call.
whoamireports the workspace's plan: its rate per minute and the AI turns used and included.- Signature verification for requests the platform sends to your server.
- TypeScript only:
@omazyai/sdk/serverwith the flow and context request shapes, block builders and an MCP tool server for a Worker.