Generate a token
Mints a token by type and answers 201 with it (shown only here):
user: a user token, limited bypermissions(by default everything you can do).realm: a realm token for daemons ofrealm_ids(you must be a member of each).a2a: the A2A token ofrealm_id, replacing the previous one (realm admin).daemon_wire: a short-lived dispatch token forrealm_id, optionally for onerun_idandaction.
Requires a signed-in user token (Authorization: Bearer cliq_tok_…). Results are limited to what that user can see. Cannot mint wider than the calling token.
Authorizations
User PAT (cliq_tok_…, including session-scoped) or realm token (cliq_dt_…).
Body
user → cliq_tok_…; realm → cliq_dt_…; a2a → cliq_a2a_…; daemon_wire → short-lived RS256
user, realm, a2a, daemon_wire Label shown in your token list. Up to 100 characters.
100Required for type=realm (non-empty). User tokens omit this.
11a2a and daemon_wire: the realm.
1daemon_wire: the daemon the token is for.
daemon_wire: limit the token to this run.
daemon_wire: execute, cancel or access.
execute, cancel, access user and realm: what the token may do (domains: orgs and realms; access: read, write or admin per resource).