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
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.2.0

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.2.0
File Size Uploaded
daknode_cli-0.2.0.tar.gz 4.9 kB Details

Built distribution (wheel)

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

Total release size: 10.4 kB

Release files / daknode_cli-0.2.0.tar.gz

Download URL daknode_cli-0.2.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1e84019d8207ebd1c0e58beec2075be27d8684ee919ef68b86ba494344f6fb89
BLAKE2b-256 checksum
How to use checksums
70f4eb7ef3929b81e6c31b1ee41a32b99b865665483485dbe1ec42add63198a1
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

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

Download URL daknode_cli-0.2.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e09b16ce8090f819b75c40d8af8e069820808a7dd72e2fda54bbeffe2ef1d4b8
BLAKE2b-256 checksum
How to use checksums
c022e8cafb85d66d89283bc4bbe672d0dd6eb8bdf390e35e0211b6f300b28b86
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

Release history Release notifications | RSS feed

0.3.0

2 release files

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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