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.1.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.1.0
File Size Uploaded
daknode_cli-0.1.0.tar.gz 4.9 kB Details

Built distribution (wheel)

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

Total release size: 10.4 kB

Release files / daknode_cli-0.1.0.tar.gz

Download URL daknode_cli-0.1.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b0bccf7182b1c6ea7f0408300e0f4862816e872df056fb8b99c386fee257e1ad
BLAKE2b-256 checksum
How to use checksums
663b65877d9382285d97b60d07928d05b59d763236d7c4fbeb542507e79e6028
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 14, 2026.

Transparency log

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

Download URL daknode_cli-0.1.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc988a2ce14828c15d9568b1b0914b9dfb81a6e264a45d9e28857f03b5f8d98c
BLAKE2b-256 checksum
How to use checksums
3fc8b485ce970f3450f05cca9d5d17635cdae31b9a9589e1d472ebb3cc4f8ba3
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 14, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.0 This release

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