
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
@flock-io/api
Advanced tools
CLI for the FLock Model API Platform — manage models, API keys, teams, billing, and chat completions from the terminal.
CLI for the FLock Model API Platform — manage models, API keys, teams, billing, and chat completions from the terminal.
npm install -g flock-api
# 1. Point to the platform (default: https://platform.flock.io)
flock config set api-url https://platform.flock.io
# 2. Sign in
flock auth login --email you@yourorg.com --password '...'
# 3. Use it
flock models list --json
flock api-keys list --json
flock balance --json
flock chat --model qwen3-30b-a3b-instruct-2507 --api-key sk-your-key "Hello" --json
| Command | Description |
|---|---|
flock auth login | Sign in (interactive or --email/--password) |
flock auth logout | Remove stored credentials |
flock auth whoami | Show current user |
flock auth token | Print raw bearer token |
flock models list | Browse model catalog |
flock models providers | List LLM providers |
flock api-keys list | List API keys |
flock api-keys create | Create a new key |
flock api-keys update | Rename a key |
flock api-keys remove | Delete a key |
flock orgs list | List organizations |
flock orgs create | Create an organization |
flock orgs members | List org members |
flock teams list | List teams |
flock teams create | Create a team |
flock teams get | Get team details |
flock teams invite | Invite a member |
flock teams remove-member | Remove a member |
flock balance | Check credit balance |
flock usage | Query usage logs |
flock chat | Send a chat completion |
flock admin users list | Admin: list users |
flock admin models create | Admin: add a model |
flock config set api-url | Set platform URL |
flock config show | Show current config |
Run flock with no arguments to enter interactive REPL mode.
Every command supports --help. Most support --json for structured output.
| Variable | Purpose |
|---|---|
FLOCK_API_BASE_URL | Override platform URL (default: https://platform.flock.io) |
FLOCK_API_TOKEN | Bearer token (skips login) |
FLOCK_LLM_API_KEY | Default API key for flock chat |
See the complete agent skill reference at platform.flock.io/agents.
Proprietary. See LICENSE.
FAQs
CLI for the FLock Model API Platform — manage models, API keys, teams, billing, and chat completions from the terminal.
We found that @flock-io/api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.