Download an artifact
Streams a stored file through the daemon — what agents use to read a file (ctx.download,
ctx.get_artifact, cliq hug files, cliq-artifact get). A file the daemon stored itself (a
Hug answered at the terminal) comes from its own store; any other from CliqHub, with the
daemon’s CliqHub credentials. The response is the file itself (its Content-Type,
Content-Length and file name), streamed, not JSON.
No credential is needed from this machine. From another host, send Authorization: Bearer with a dispatch token CliqHub signed for this daemon or a cliq_tok_… personal token of a user in the daemon’s realm; this only works once the daemon is connected to CliqHub. See Authentication.
Authorizations
Not needed from the same machine. From another host: a dispatch JWT CliqHub signed for this daemon, or a cliq_tok_… personal token whose user is in the daemon's realm.