Skip to content

CLI

Your integrations, from the terminal.

One CLI to build integrations from API docs, manage them, query unified APIs, bulk-export data, run batch operations, and diff records across accounts. Built for engineers who live in the terminal. Works on every plan, including Free.

curl -fsSL https://cli.truto.one/install.sh | bash
truto — zsh
$ curl -fsSL https://cli.truto.one/install.sh | bash
✓ Installed to ~/.truto/bin/truto

$ truto login
✓ Logged in as profile "default"

$ truto batch requests.json -a acme-sf
5/5 succeeded in 223ms

Get started

One command to install.

No package managers, no dependencies. A single curl installs a standalone binary for your system.

  1. Install

    Detects your OS and architecture, downloads the correct binary, and installs to ~/.truto/bin/truto.

    zsh
    curl -fsSL https://cli.truto.one/install.sh | bash
  2. Authenticate

    Log in with your API token. Manage multiple profiles for different environments.

    zsh
    truto login --token <your-api-token>
    truto whoami
  3. Upgrade

    Self-updating. Check for new versions and upgrade in-place.

    zsh
    truto upgrade

Build

Build an integration from its API docs.

Build, lint, verify and apply. The integration is on your Truto team when apply finishes, with no deploy.

  1. 01Build

    Discovers the API from a doc or spec source (OpenAPI, Postman, Mintlify or ReadMe docs, GraphQL, or a single doc page), audits it against the pattern catalog, and writes one IntegrationFile JSON. Runs on your own Anthropic API key, or on Fireworks plus Firecrawl.

    truto integrations build https://docs.acme.com/api acme
  2. 02Lint

    Runs the static auditor over an IntegrationFile, or over a live integration by slug. No LLM, no writes. Prints findings grouped by severity.

    truto integrations lint acme.integration.json
  3. 03Verify

    Checks an IntegrationFile against the vendor’s OpenAPI 3.x or Swagger 2.0 document: operation coverage, verbs, body format, schemas, base URL, auth and pagination. Read-only.

    truto integrations verify acme.integration.json --spec openapi.json
  4. 04Apply

    Pushes the IntegrationFile, config and documentation, to Truto. It audits the file first with the same rules as lint. --dry-run prints what it would apply and makes no call to Truto.

    truto integrations apply acme.integration.json
  5. 05Unified mappings

    Builds the mappings from an integration to a unified model, from a connected account or from API docs. Validate the MappingFile, then apply it.

    truto unified-mappings build acme crm --source-url https://docs.acme.com/api --out acme.crm.json
    truto unified-mappings validate acme.crm.json
    truto unified-mappings apply acme.crm.json

Use them from Claude Code or Cursor with the Truto skills. See Build.

Features

Everything you need, nothing you don’t.

A complete CLI for Truto: admin resources, data-plane APIs, and power-user tools in a single binary.

  • 5 Output Formats

    Table, JSON, NDJSON, CSV, and YAML. Pick the format that fits your workflow: pipe JSON to jq, export CSV for spreadsheets, stream NDJSON for log processing.

  • Unified + Proxy + Custom APIs

    Query normalized data with the unified API, access raw integration-specific fields with proxy, or call your own custom endpoints. All from the same CLI.

  • Bulk Export with Auto-Pagination

    Export entire datasets with a single command. The CLI handles pagination automatically and streams results in your chosen format.

  • Batch Operations

    Send multiple API requests in a single command from a JSON file. Create, update, and delete records in bulk with parallel execution and per-request status reporting.

  • Field-Level Diff

    Compare two records side-by-side, or diff the same record across two different connections. See exactly which fields changed.

  • Stdin Pipe Support

    Pipe JSON or NDJSON into create commands for bulk operations. Chain CLI commands together or integrate with curl, jq, and other Unix tools.

  • Interactive Mode

    A guided wizard that walks you through resource selection, operations, and parameters. Perfect for exploring the API without memorizing commands.

  • Multi-Profile Configuration

    Maintain separate profiles for staging, production, and different teams. Switch between them with a single command.

  • MCP Token Management

    Create, list, and manage scoped MCP tokens for any connection directly from the terminal.

  • Integration Builder

    Build an integration from its API docs, lint it, verify it against the vendor’s OpenAPI document, and apply it. Then build its unified mappings.

Power features

Built for scripting and automation.

Chain commands together, pipe output to other tools, and automate complex data workflows from your terminal.

01Export

Bulk export any resource with automatic pagination. Streams NDJSON for large datasets, or buffers JSON/CSV for files.

zshExample
$ truto export crm/contacts -a acme-sf -o ndjson --out contacts.ndjson
Exported 50 records...
Exported 100 records...
Exported 247 records. Done.

$ truto export crm/contacts -a acme-sf -o csv --out contacts.csv
Exported 247 records to contacts.csv

02Batch

Send multiple API requests from a JSON file in a single command. Mix creates, updates, and deletes: each request runs in parallel with individual status reporting.

zshExample
$ truto batch requests.json -a acme-sf
✓ POST crm/contacts → 201 (42ms)
✓ PATCH crm/contacts/c_17 → 200 (51ms)
✓ DELETE crm/contacts/c_99 → 204 (29ms)

$ cat updates.ndjson | truto batch --stdin -a acme-sf
3/3 succeeded in 112ms

03Diff

Compare two records field-by-field, or diff the same record across different connections. Timestamp fields are excluded by default.

zshExample
$ truto diff crm/contacts abc-123 def-456 -a acme-sf

Diff: abc-123 vs def-456
┌─────────────┬─────────────────┬─────────────────┐
│ Field       │ abc-123         │ def-456         │
├─────────────┼─────────────────┼─────────────────┤
│ email       │ old@example.com │ new@example.com │
│ status      │ active          │ inactive        │
└─────────────┴─────────────────┴─────────────────┘
2 field(s) differ

Commands

A command for everything.

Admin resources, data-plane APIs, and power-user tools. Every command supports --help.

Admin

  • truto integrations list
  • truto accounts list
  • truto environments list
  • truto sync-jobs list
  • truto workflows list
  • truto webhooks list
  • truto api-tokens list
  • truto mcp-tokens list <id>

Data plane

  • truto unified crm contacts -a <id>
  • truto proxy tickets -a <id>
  • truto custom /my-endpoint
  • truto batch requests.json
  • truto logs --status 200
  • truto schema -o openapi.yml

Power tools

  • truto export crm/contacts -a <id>
  • truto batch requests.json -a <id>
  • truto diff crm/contacts <a> <b>
  • truto interactive
  • truto open accounts
  • truto upgrade

Build

  • truto integrations build <docs-url>
  • truto integrations lint <file>
  • truto integrations verify <file> --spec <spec>
  • truto integrations apply <file>
  • truto unified-mappings build <slug> <model> --source-url <docs-url>
  • truto unified-mappings apply <file>

FAQ

Common questions about the Truto CLI.

What is the Truto CLI?

The Truto CLI is a command-line tool for managing your Truto integrations from the terminal. It supports querying unified APIs, bulk-exporting data, running batch operations, diffing records, and managing MCP tokens.

How do I install the Truto CLI?

Run a single command: curl -fsSL https://cli.truto.one/install.sh | bash. It detects your OS and architecture, downloads the correct binary, and installs automatically. No package managers or dependencies required.

What output formats does the Truto CLI support?

The CLI supports five output formats: Table, JSON, NDJSON, CSV, and YAML. Choose the format that fits your workflow: pipe JSON to jq, export CSV for spreadsheets, or stream NDJSON for log processing.

Can I use the Truto CLI for automation and scripting?

Yes. The CLI supports stdin pipe input for bulk operations, NDJSON streaming for large datasets, and can be chained with Unix tools like jq, grep, and awk. It is built for scripting and CI/CD workflows.

Can the Truto CLI build a new integration?

Yes. truto integrations build builds an integration file from the vendor’s API docs. lint and verify check it, and apply pushes it to Truto. truto unified-mappings build maps it to a unified model. Custom integrations with the Truto CLI are free on every plan.

Does the Truto CLI support multiple environments?

Yes. The CLI supports multi-profile configuration for staging, production, and different teams. Switch between profiles with a single command using truto login.

Start today

Manage your integrations from the terminal.

Install the Truto CLI in seconds and start querying, exporting, and automating your integration data.