Critique API CLI
The official command-line client for creating, inspecting, modifying, deleting, and invoking private Critique API research endpoints.
The CLI is optional. Critique's agent skill and HTTP API work from projects in any language without Python. Install this package as a standalone tool when a terminal interface is convenient; do not add it to an application's runtime dependencies unless that application directly needs it.
Install
With pipx:
pipx install critique-api-cli
With uv:
uv tool install critique-api-cli
Set the API key in the environment:
export CRITIQUE_API_KEY="your-api-key"
Create a key at Billing & API Keys. Never paste an API key into source code, command arguments, URLs, or commits.
Usage
# Create an endpoint
critique-api create \
--prompt "For a company name, return its latest funding round, investors, date, amount, and primary-source citations."
# List or inspect endpoints
critique-api list
critique-api get 42
# Modify only the intended fields
critique-api update 42 \
--stub latest-company-funding \
--inputs '[{"name":"company","type":"string"}]' \
--output '{"company":"string","amount":"number","investors":[{"name":"string"}]}'
# Invoke the generated endpoint
critique-api run latest-company-funding \
--data '{"company":"OpenAI"}'
# Permanently delete an endpoint
critique-api delete 42 --yes
JSON arguments may be literal JSON or @path/to/file.json.
Use CRITIQUE_BASE_URL only to target a non-production deployment.
Development
python -m venv .venv
source .venv/bin/activate
python -m pip install -e '.[dev]'
pytest
python -m build
python -m twine check dist/*
Releases
Releases use PyPI Trusted Publishing and do not require a stored API token.
- Update the version in
pyproject.tomlandsrc/critique_api_cli/__init__.py. - Merge the release commit to
main. - Create and push the matching tag, such as
v0.1.1. - The publish workflow builds, verifies, and uploads the distribution.
Before the first release, configure a pending GitHub Actions publisher on PyPI with these exact values:
| Field | Value |
|---|---|
| PyPI project name | critique-api-cli |
| GitHub owner | parthh01 |
| GitHub repository | critique-api-cli |
| Workflow filename | publish.yml |
| GitHub environment | pypi |
The pending publisher creates the PyPI project when the first release workflow succeeds; no PyPI API token or repository secret is needed.
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file critique_api_cli-0.1.1.tar.gz.
File metadata
- Download URL: critique_api_cli-0.1.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42781e641486cc936c6c8e21552a35d620b9cd266e69c3cd50fc4e6b1ee1a4d7
|
|
| MD5 |
c82cd9e4e6e69c318b14bc979f7f430f
|
|
| BLAKE2b-256 |
35a1d79cce70b5b956107b6cbae6145bd05460defa028311670e3355f59f5128
|
Provenance
The following attestation bundles were made for critique_api_cli-0.1.1.tar.gz:
Publisher:
publish.yml on parthh01/critique-api-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
critique_api_cli-0.1.1.tar.gz -
Subject digest:
42781e641486cc936c6c8e21552a35d620b9cd266e69c3cd50fc4e6b1ee1a4d7 - Sigstore transparency entry: 2620944874
- Sigstore integration time:
-
Permalink:
parthh01/critique-api-cli@5f3ae787de0ed7dbf58c700fb153a5d6ca169ad4 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/parthh01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5f3ae787de0ed7dbf58c700fb153a5d6ca169ad4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file critique_api_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: critique_api_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bce9baab024e2e61edd5f6789e8673590e6eef6fdcb57443cee902205532f36d
|
|
| MD5 |
6bef95166a60efc60d7dae4ee790c149
|
|
| BLAKE2b-256 |
8bc45aaa5b2d06570e3b21cbf6d8f52c5801e49db603aea85e4f5c2da75b5e4a
|
Provenance
The following attestation bundles were made for critique_api_cli-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on parthh01/critique-api-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
critique_api_cli-0.1.1-py3-none-any.whl -
Subject digest:
bce9baab024e2e61edd5f6789e8673590e6eef6fdcb57443cee902205532f36d - Sigstore transparency entry: 2620944878
- Sigstore integration time:
-
Permalink:
parthh01/critique-api-cli@5f3ae787de0ed7dbf58c700fb153a5d6ca169ad4 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/parthh01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5f3ae787de0ed7dbf58c700fb153a5d6ca169ad4 -
Trigger Event:
push
-
Statement type: