$ cli-blog docs

Introduction

Add a blog to your product, choose the right interface, and move from setup to published delivery.

Cli Blog adds publishing to a website or application without requiring your team to build a CMS. Editors work in the dashboard. Developers, CI jobs, and agents use the REST API, Node SDK, CLI, or agent skill. Published content returns as structured JSON for your frontend to render.

Start with an outcome

Choose an interface

InterfaceDescriptionStart here
DashboardSet up the organization, write and review posts, manage members and keys, and see billingDashboard and billing
REST APIRead or manage content from any technology that can send HTTP requestsPosts
Node SDKUse typed resource methods from Node.js 20+ servers, scripts, CI jobs, and agentsNode SDK
CLIRun publishing commands and JSON workflows from a trusted terminalCLI
Agent skillGive supported agents Cli Blog context, tool choices, key rules, and approval gatesAgent skill

You can combine them. An agent can create a draft with the Node SDK, an editor can review it in the dashboard, a release job can publish it with the CLI, and a website can read it through the REST API.

Compare boundaries and common tasks on the Tools page.

Browse resources and API details

Each resource guide explains what the resource is for, compares REST, SDK, and CLI actions, lists important fields, and embeds the generated endpoint schemas.

The generated endpoint schemas remain available when you need the exact OpenAPI request and response definitions.

Learn the shared concepts

Use predictable API conventions

  • Send organization API keys in the x-api-key header.
  • Use public keys for published-content delivery.
  • Use private keys only in trusted servers, CI jobs, local shells, and agent environments.
  • Send JSON request bodies except direct media upload, which uses multipart/form-data.
  • Put filtering, sorting, pagination, field groups, and includes in query parameters.
  • Use POST for create and update operations.
  • Use DELETE for delete operations.
  • Keep locale explicit when the same slug can exist in more than one language.

Production examples use https://api.cli-blog.com.

Give AI tools the docs

On this page