CLI reference
The agent-data CLI exposes catalog, data, account, build, and extension commands in your terminal. These examples use version 0.13.0.
Run agent-data --version to check your installation. Run agent-data help for its commands.
Commands
Section titled “Commands”| Command | Purpose |
|---|---|
init | Install the CLI and coding-agent skills. |
auth login, auth status, auth logout | Manage authentication. |
search <query> | Find matching APIs. |
list | Browse published APIs. |
docs <api-reference> | Read an API contract. |
call <api-reference> <route-slug> | Call an operation. |
account | Read allowance and credits. |
whoami | Read local API-key configuration. |
notify | Preview or send an email. |
parse, parse status, parse list, parse events | Request and follow a build. |
parse revise, parse resume, parse cancel | Manage supported build actions. |
parse extension target, parse extension submit, parse extension status | Manage an extension request. |
help [command] | Show help for a command. |
<api-reference> means an API handle or listing ID. For example, youtube-com identifies the YouTube API. <route-slug> names an operation inside it, such as search-videos.
Global and common options
Section titled “Global and common options”| Option | Effect |
|---|---|
-V, --version | Print the installed version at the root command. |
-h, --help | Show help for the selected command. |
--auth-dir <path> | Select the OAuth directory at the root command. |
--quiet | Suppress non-error warnings and version messages at the root command. |
--api-key <key> | Override the credential on commands that support this option. |
--base-url <url> | Select the marketplace service on commands that support this option. |
--verbose | Print diagnostics to standard error on commands that support this option. |
--verbose redacts the API key but may print an OAuth user identifier. Previews and whoami may include masked key fragments. Omit credential fields and private account information from shared output.
See authentication for credential, directory, and service precedence. AGENT_DATA_AGENT_TYPE labels the invoking agent. It is not a credential.
Setup options
Section titled “Setup options”init option | Effect |
|---|---|
--codex, --claude-code, --open-claw, --hermes, --nano-claw | Select the coding agent. |
--api-key <key> | Save an explicit API key. |
--base-url <url> | Select the service. |
-y, --yes | Skip setup confirmations. Authentication still requires approval without an existing credential. |
--nano-claw-path <path> | Supply NanoClaw’s repository path. Required for NanoClaw with --yes. |
Output and errors
Section titled “Output and errors”Read commands normally print JSON to standard output. call prints the endpoint’s response body. init also prints setup progress.
Errors and diagnostics use standard error. A failed command exits with a nonzero status. Retain the exit status and error for diagnosis.
| Preview | Effect |
|---|---|
call --dry-run | Resolve a data request without a data call. |
notify --dry-run | Preview a message without email submission. |
parse --dry-run | Preview a build request without submission. |
parse extension submit --dry-run | Check the saved request locally without submission. |
A successful preview establishes request construction, not the result of a submitted operation. See build options and extension compatibility before you submit work.
When to use another interface
Section titled “When to use another interface”Use HTTP for application requests. Use MCP for tools inside a connected client.