SintetizAI developers

Command line

SintetizAI CLI

The CLI gives agents and developers a small scriptable entry point for the public documentation, the OpenAPI contract and authenticated application requests.

Install or run with npx

npx @sintetizai/cli docs
npx @sintetizai/cli openapi
SINTETIZAI_SESSION=YOUR_SESSION npx @sintetizai/cli api /api/generations

The source package lives in packages/sintetizai-cli. The application API currently uses an Auth.js session cookie rather than a general-purpose API key. The CLI sends X-SintetizAI-API-Version: 1 and preserves structured JSON errors for scripts.

When should an agent use it?

Use the CLI when a task needs a repeatable shell command, a machine-readable API contract or a signed-in request from an authorized user. Use the web application for learner-facing interactions. Do not send private study material without user authorization.