Before you begin
You need three things: membership in an Antigen organization, a credential, and an approved target.
Confirm the target list returns the value you intend before you submit a Run.
Authentication covers the roles, the credential kinds, the scopes, and what to do
when a request is refused.
Quick start
- TypeScript SDK
- CLI
- HTTP API
Install the SDK, set Save the program below as Continue in the TypeScript SDK reference.
ANTIGEN_API_KEY to an organization API key, and set ANTIGEN_TARGET to one
of your approved targets.assess.ts and run it on Node 22 or later with npx tsx assess.ts. It
confirms the requested target is approved, records the Run ID and event position in
application-owned files, then reports the first finding’s remediation.Use Platform instead
Platform is the visual workflow over the same organization, approved targets, Runs, and findings. Sign in, choose an approved target, start a Run, and follow its progress and findings in the browser. It suits review and triage work that does not need to be scripted, and it supplements the programmatic clients rather than replacing them. If you started a Run from the CLI,antigen open <run-id> opens that same Run in Platform.