Repository navigation
v0.1.0
apic v0.1.0
apic is epic: run API requests from plain .http files — in the terminal, in
CI, or from an AI agent — on any platform, from one static binary.
The first release. Everything below already worked; this is the first time it is
installable without a Go toolchain.
Install
# Linux / macOS: downloads the release binary and verifies its checksum
curl -fsSL https://raw.githubusercontent.com/dataGriff/api-caller/main/install.sh | sh
# or, with Go 1.25+
go install github.com/dataGriff/api-caller/cmd/apic@latestWindows: download the .zip for your architecture below.
Try it with no account, key or clone: apic ui --demo serves a fake API
in-process and opens the terminal UI on an example project that targets it.
What's in it
- The
.httpformat editors already understand. Compatible with VS Code
REST Client and JetBrains; everything apic adds is a# @directivecomment
those tools ignore, so the same file stays clickable in your editor. - Environments from
http-client.env.json, plus.env, shell and--var. - Captured variables that persist.
# @capture token = body.$.access_token
inloginmeans the nextapic run get-user— new shell, new agent call —
has{{token}}. - Assertions and flows.
# @assert status == 200, whole files run as
ordered flows with a pass/fail summary and meaningful exit codes. - Auth that is otherwise impossible in a text file. AWS SigV4 signed from
your normal AWS credentials with no SDK in the binary; OAuth2 (client
credentials, password, device code) with token caching and refresh; plus
basic, bearer and exec. - Gherkin without Cucumber.
apic testruns.featurefiles against the
same requests, with a built-in step vocabulary. - A terminal UI.
apic uibrowses the project, runs requests and flows and
switches environment without leaving the keyboard. - Agent-first output.
--jsongives a stable object per request;listand
describemake requests discoverable. - MCP server.
apic mcpexposes every request as a tool for Claude Code,
Cursor and friends. - Escape hatches.
apic curl <id>prints the equivalent curl;
apic import openapi.yamlscaffolds files from a spec.
Safe to log
--redact masks values on both sides of the exchange — request and response
bodies, all header values, query values, captured values and assertion
values — while keeping status, timing, size and pass/fail, so a stored CI log
still says what failed without carrying a credential. set-cookie and
www-authenticate are masked even without it, as Authorization is on the
request side. Values passed via --var and APIC_VAR_* are treated as secrets.
apic curl --redact substitutes $TOKEN and $APIC_USER/$APIC_PASSWORD for
bearer and basic credentials; without --redact the printed command stays
runnable as-is.
Notes
- Licensed under the MIT Licence. Each release archive carries
LICENSEand a
THIRD_PARTY_NOTICES.mdreproducing the licence of every module compiled in. - Archives are verified against
checksums.txt;install.shrefuses to install
on a mismatch. - Docs: https://datagriff.github.io/api-caller/