Trending storyDeveloping
OpenAI ships official CLI for its REST API
1 report1 sourceupdated 3 hours ago
What happened
AI digest
OpenAI CLI, the official command-line tool for the OpenAI REST API, was reported on the Hacker News front page on October 22, 2026. It creates responses, manages files, generates images and calls admin endpoints, and installs via Homebrew or Go. Successful responses print as readable text by default; scripts that need to parse API data must pass --format json or --format jsonl.
Written by AI from the coverage · updated 2 hours ago
Coverage
Follow the reports to see the story from different sides.
Oct 22
- Hacker News front pageOpenAI CLI
OpenAI CLI 是 OpenAI REST API 的官方命令行工具,支持响应创建、文件管理、图像生成及管理端接口调用。可通过 Homebrew 或 Go 安装,成功响应默认输出可读文本,脚本解析 API 数据时需显式使用 --format json 或 --format jsonl。
Heat over time
Not enough continuous observations to draw a trend yet.