Skip to main content

What is rqb-cli?

rqb-cli is the terminal interface to Reqbook. Every capability is accessible as a subcommand. Use it for:
  • Scripted API testing and CI/CD pipelines
  • Importing and validating specs
  • Running ad-hoc HTTP requests from the terminal
  • AI agent tool integration via MCP

Commands

CommandWhat it does
rqb initScaffold a new collection in the current project
rqb request <METHOD> <URL>Send an ad-hoc HTTP request
rqb exec <file>Execute one endpoint spec
rqb diagnose <file>Diagnose a failed endpoint with likely cause and next action
rqb flow <file>Run a multi-step pipeline, or inspect resolved step requests with --dry-run
rqb validate <path>Validate endpoint or pipeline files
rqb check <path>Run PR-focused contract checks and reports
rqb context <target>Print bounded executable API context for coding agents
rqb agent pack <target>Write an agent-ready context pack with guardrails and verify commands
rqb import postman|insomnia|openapi|collection|http|curlImport from another tool or local collection format
rqb export openapi <path>Export markdown endpoint specs as OpenAPI
rqb serveLaunch rqb-ui in a browser
rqb mockStart a mock HTTP server
rqb mcpStart MCP server for AI agent integration
rqb doctorDiagnose project setup

Same binary two interfaces

rqb serve → opens rqb-ui in your browser
rqb exec → runs in the terminal (rqb-cli)
Both ship in one binary. There is no separate installation.