API StudioSDK StudioMonitoringMCP ServerSpec AuditFeatures
ComparePricingBlogDocs
Log inStart for free
API StudioSDK StudioMonitoringMCP ServerSpec AuditFeatures
ComparePricingBlogDocs
Log inStart for free
API StudioSDK StudioMonitoringMCP ServerSpec AuditFeatures
ComparePricingBlogDocs
Log inStart for free
Blog/Product
Product·September 4, 2026·3 min read

The Octri CLI: Your Whole Project From a Terminal

One binary pushes your spec, builds SDKs in ten languages, publishes docs, uploads source maps from CI, and reads back the production errors those SDKs report. It carries an MCP server, so an AI assistant can drive the same commands.

#product#cli#developer-experience#monitoring
The Octri CLI: Your Whole Project From a Terminal

Octri has a command line.

bash
12
npm install -g @octri/cli
octri auth login

It does what the dashboard does. Push a spec, build SDKs across ten languages, publish a docs version, upload source maps from CI, then work through the errors those SDKs report from production. One binary, the whole loop.

The shape of a session

bash
123
octri specs push ./openapi.yaml
octri sdk build --lang go,typescript --download
octri docs versions publish <specId>

specs push waits for the pipeline, not the upload. The spec parses in about a second; the doc pages, search index and changelog are written behind it, and the spinner names the stage it is on rather than sitting on a generic "working".

sdk build renders a lane per language in a terminal and repaints it through generating, verifying, packaging, installing, ready. Piped or in CI it drops to append-only lines and exits non-zero if any language fails, so it works as a build step without a flag.

Monitoring, from the same prompt

An SDK you hand to someone else is the least observed code you ship. Octri instruments the ones it generates, and the CLI reads both ends of that.

Uploading symbols from CI needs three secrets, because a CI job has no session:

bash
1234
octri monitoring sourcemaps upload ./dist \
  --url "$MONITORING_URL" \
  --token "$MONITORING_TOKEN" \
  --environment "$MONITORING_ENVIRONMENT"

On your own machine you are already signed in, and the CLI knows which project you selected. So it collapses to this:

bash
1
octri monitoring sourcemaps upload ./dist

Run octri monitoring config when you need those three values to paste into a secret store.

Then read what came back:

bash
12
octri monitoring issues --status unresolved
octri monitoring issue a70f33c1
text
12345678910
── CheckoutUnavailableError: The payment dependency did not respond in time
  status          unresolved
  events          412
  users affected  38
  endpoint        POST /v1/checkouts

Stack
  ✓ createCheckout src/checkout/createCheckout.ts:42
      throw new CheckoutUnavailableError(payment.requestId);
  ✓ processCheckout src/routes/checkouts.ts:88

The tick on each frame means it resolved against a source map you uploaded. When none of them resolve, the release those errors came from has no symbols, and the CLI says so instead of leaving you to work out why the trace is unreadable.

Triage lands in the dashboard against your name, the same as clicking:

bash
12
octri monitoring resolve a70f33c1
octri monitoring comment a70f33c1 "Fixed in 2.4.1, watching"

After a deploy

The question after every release is whether it made things worse.

bash
1
octri monitoring releases

One row per release with its error rate, its new issues, and its regressions. octri monitoring performance gives you the slowest transactions with p50 and p95, and any N+1 query patterns underneath them.

What else is in there

  • Docs. Publish a version, label it, set the default, add a custom domain and read back the DNS records to create. Regenerate pages, publish a draft, inspect the navigation.
  • Organisation. Members, roles, invites, usage, billing status, invoices. Switch between organisations without logging out.
  • API keys. Create one for a pipeline, list them, revoke them.
  • GitHub. Point a project at a spec file in a repo, turn on sync, pull it now.
  • Spec quality. octri sdk audit scores your spec and marks which findings the generator can fix. octri sdk audit apply <key> writes the fix in.

Everything takes --json, which prints one document on stdout and nothing else, so it composes with jq.

And for an assistant

bash
1
octri mcp serve

That exposes the same surface over MCP as typed tools. An assistant can push a spec, wait for the build, read the generated Go, and then read the production error that build caused. Credentials stay in your profile; the assistant never sees them. Publishing to public registries and deleting specs are refused unless you start the server with --allow-publish or --allow-delete.

Full reference in the CLI docs.


Octri turns an OpenAPI spec into docs, SDKs in ten languages, an MCP server and monitoring. Try it on your own spec.

← PreviousWhat your OpenAPI security scheme actually produces in an SDK
Next →Modelling API errors in OpenAPI so your SDK can throw something useful

Related articles

Inside Octri API Studio: Docs You Edit Like an App, Not a Repo
Product·3 min read

Inside Octri API Studio: Docs You Edit Like an App, Not a Repo

API Studio is a three-pane visual workspace for your docs. Edit an endpoint, watch the page render beside it, drag pages into groups, tune the playground and SEO, and publish a version. No markdown-in-a-repo ceremony.

July 6, 2026
Inside Octri Monitoring: Observability for the SDKs You Ship
Product·3 min read

Inside Octri Monitoring: Observability for the SDKs You Ship

The SDKs you hand to other developers are the least-observed code you ship. Octri Monitoring watches them: de-minified stack traces tagged to a release, grouped issues, traces, performance, alerts, and a live tail. Included on every plan.

July 6, 2026
Inside Octri SDK Studio: Tune Every SDK, See the Code Change Live
Product·3 min read

Inside Octri SDK Studio: Tune Every SDK, See the Code Change Live

SDK Studio turns every knob on your generated SDKs in a real UI, per endpoint, with a live preview of the code as you change it. Package names, retries, pagination, streaming, deprecations, auth, custom transforms, and which endpoints ship.

July 6, 2026
Introducing Octri: API Docs and SDKs, Automatically
Product·2 min read

Introducing Octri: API Docs and SDKs, Automatically

Upload an OpenAPI spec and get complete documentation plus production-ready SDKs in ten languages, updated on every push.

June 10, 2026

A letter when something ships

New SDK languages, changes in the generator, and now and then a longer piece on keeping docs from rotting. Roughly one a month.

Join developers keeping tabs on Octri.

Octri

Upload an OpenAPI spec. Get complete docs and production-ready SDKs in 10 languages, live in minutes.

Contact support

Product

  • API Studio
  • SDK Studio
  • Monitoring
  • MCP Server
  • Pricing
  • Compare
  • Blog
  • Changelog
  • Press Kit

From your spec

  • Spec Audit
  • TypeScript SDK
  • Python SDK
  • Go SDK
  • Java SDK
  • MCP Server

Developers

  • Documentation
  • API Reference
  • SDK Libraries
  • MCP Server
  • Monitoring
  • CLI
  • Support

Legal

  • Terms of Service
  • Privacy Policy
  • Fair Use Policy
  • Data Processing (DPA)
  • Cookie Policy
  • Security
  • Subprocessors

© 2026 Octri, LLC. All rights reserved.

Made by devs who got tired of hand-writing SDKs.