Skip to main content

DakNode CLI

The API from a terminal. JSON to stdout by default, because the caller is as likely to be a script as a person.

Install

pipx install daknode-cli      # or: pip install daknode-cli

Get an API key with the two-request signup at https://daknode.com/developers.

export DAKNODE_API_KEY=…

daknode inboxes create --alias support [--display-name Support] [--domain-id …]
daknode inboxes list --limit 10 [--cursor …]
daknode inboxes get <inbox_id>
daknode inboxes rename <inbox_id> --display-name Support
daknode inboxes delete <inbox_id> --dry-run
daknode inboxes delete <inbox_id> --yes
daknode threads list --inbox-id … --limit 10
daknode threads get <thread_id>
daknode messages list --inbox-id …
daknode messages get <message_id>
daknode search --query "invoice from stripe"
daknode send --inbox-id … --to … --subject … --body … --request-id … [--thread-id …]

From a repository checkout, python -m cli.main runs the same commands.

--format table for reading. --dry-run on send prints the request and exits without sending it — a command that emails a real person deserves a way to be inspected first.

Inbox deletion deactivates, not erases. It requires --yes; its --dry-run does not contact the API. Use --request-id for real sends: choose a stable, non-secret identifier and reuse it only when retrying the identical send. The CLI never retries sends automatically. API errors, including parsed validation errors, exit nonzero. Use identifiers appropriate for your own retention policy.

Exit codes

0 success
2 the API refused the request
3 the API could not be reached
4 DAKNODE_API_KEY is not set

2 and 3 are separate on purpose: a script retrying a network failure must not retry a 422 forever.

Two deliberate constraints

No credential flag. The key comes from the environment only. argv is visible to every process through ps, and shells record it in history. A test walks the parser and fails if any flag name contains key or token.

No third-party dependency. argparse from the standard library, plus the first-party generated SDK. Click and Typer are nicer to write against — and one day before this was written, installing mcp silently upgraded a pinned pydantic and changed the API's published OpenAPI output. Every dependency here is another chance to move a pin production depends on. A test enumerates the imports and fails on anything new.

send --thread-id replies into a conversation; without it the message opens a new one in the recipient's client.

Metadata

Release files for daknode-cli 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for daknode-cli 0.3.2
File Size Uploaded Provenance Actions
daknode_cli-0.3.2.tar.gz 5.8 kB With provenance Details for daknode_cli-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for daknode-cli 0.3.2
File Interpreter ABI Platform Actions
daknode_cli-0.3.2-py3-none-any.whl Python 3 none any Details for daknode_cli-0.3.2-py3-none-any.whl

Total release size: 12.2 kB

Release files / daknode_cli-0.3.2.tar.gz

Download URL daknode_cli-0.3.2.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7b9f8a683a8cde2a6866a41c798f85aed13b205d5780452c64f81c31165787ec
BLAKE2b-256 checksum
How to use checksums
73c0fa49de27cc5efda49b111457868f70ebcdb2a5219f0d8b8ebfa0be4eceeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / daknode_cli-0.3.2-py3-none-any.whl

Download URL daknode_cli-0.3.2-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fe263eb015cc0728575b74f96cf42281bb95310d4e54b08ee0431c0c3839836
BLAKE2b-256 checksum
How to use checksums
d663240ee248fded91f93aa164f882fbee698202b769e92ebcc287353abb06e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for daknode-cli 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for daknode_cli-0.3.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page