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
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 … [--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.
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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| daknode_cli-0.3.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| daknode_cli-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / daknode_cli-0.3.0.tar.gz
| Download URL | daknode_cli-0.3.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73da14a41d43958d412e9fa8dbc7bc5260f4af27d4bd1e946cf96fdb23dfbcf8
|
|
BLAKE2b-256 checksum How to use checksums |
af78ed35e361326bfde1ad161f123834e61b065b24b0791775e41254a8da9c0d
|
| 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 15, 2026.
Transparency logRelease files / daknode_cli-0.3.0-py3-none-any.whl
| Download URL | daknode_cli-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f13322ed60e3385813ede21fa463d5d3bb9dc05e5f64a9c26686ef58826d1c36
|
|
BLAKE2b-256 checksum How to use checksums |
8e45012d5894f0b6b767cb3cd30ff8d5026374612069fc576c3c2281f625eedd
|
| 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 15, 2026.
Transparency log