Skip to content

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.

CommandPurpose
initInstall the CLI and coding-agent skills.
auth login, auth status, auth logoutManage authentication.
search <query>Find matching APIs.
listBrowse published APIs.
docs <api-reference>Read an API contract.
call <api-reference> <route-slug>Call an operation.
accountRead allowance and credits.
whoamiRead local API-key configuration.
notifyPreview or send an email.
parse, parse status, parse list, parse eventsRequest and follow a build.
parse revise, parse resume, parse cancelManage supported build actions.
parse extension target, parse extension submit, parse extension statusManage 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.

OptionEffect
-V, --versionPrint the installed version at the root command.
-h, --helpShow help for the selected command.
--auth-dir <path>Select the OAuth directory at the root command.
--quietSuppress 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.
--verbosePrint 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.

init optionEffect
--codex, --claude-code, --open-claw, --hermes, --nano-clawSelect the coding agent.
--api-key <key>Save an explicit API key.
--base-url <url>Select the service.
-y, --yesSkip setup confirmations. Authentication still requires approval without an existing credential.
--nano-claw-path <path>Supply NanoClaw’s repository path. Required for NanoClaw with --yes.

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.

PreviewEffect
call --dry-runResolve a data request without a data call.
notify --dry-runPreview a message without email submission.
parse --dry-runPreview a build request without submission.
parse extension submit --dry-runCheck 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.

Use HTTP for application requests. Use MCP for tools inside a connected client.