Upload an artifact
Uploads a file a run produced to CliqHub and returns its id and a download link. Agents
call this through the SDK. The run must be running or awaiting_input. Send text as
UTF-8 in content, or binary as base64 with encoding: "base64".
Size: an artifact may be up to 50 MB (CLIQ_ARTIFACT_MAX_MB changes it), text or binary.
This route accepts request bodies big enough for that limit once base64 encoded (about
68 MB by default); every other route stays at 10 MB.
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.