CLI for setting up and using Open Responses API
open-responses.json
, which can be located in:
camelCase
and snake_case
formats are supported)setup
again with an existing configuration, it will let you update your settings while preserving your previous values as defaults. If timestamps are missing from an existing configuration, they’ll be added automatically when the configuration is updated.
HOST
: Host address for the API (default: 127.0.0.1
)PORT
: Port for the UI service (default: 8080
)RESPONSES_API_PORT
: Port for the API service (default: 8080
)DOCKER_TAG
: Docker image tag (default: latest_responses
)API_VERSION
: API version (default: 0.0.1
)NODE_ENV
: Node.js environment (default: production
)LOG_LEVEL
: Logging level (default: info
)REQUEST_TIMEOUT
: API request timeout in ms (default: 120000
- 2 minutes)MAX_PAYLOAD_SIZE
: Maximum request payload size (default: 10mb
)RATE_LIMIT_WINDOW
: Rate limit window in ms (default: 60000
- 1 minute)RATE_LIMIT_MAX
: Maximum requests per rate limit window (default: 100
)docker-compose.yml
file if needed.
open-responses compose down
).
--help
flag:
POST /v1/responses
- Create a new responseGET /v1/responses/{id}
- Retrieve a responseGET /v1/responses
- List all responsesDELETE /v1/responses/{id}
- Delete a responsehttp://localhost:8080
(or your configured port).
main.go
: Core CLI functionality built with Goopen_responses/__init__.py
: Python wrapper for binary distributionscripts/postinstall.js
: Node.js script for platform detection and setupbin/
: Directory for compiled binariesbin/
directory:
bin/open-responses-linux
bin/open-responses-macos
bin/open-responses-win.exe
go fmt