Skip to content

Developer CLI

What an agent can be for

GET/v1/cli/purposes

The purposes of the console’s “Add an agent”, each with the rule it would get in this workspace, in words.

#Authentication

CLI token

A token (imc_...) the developer CLI gets by signing in through the browser (immiscible login, the OAuth device grant), sent as Authorization: Bearer. It acts for one person in one workspace: it reads agents and status, and registers an agent with a rule from the same purposes as the console's "Add an agent". It never approves anything or changes an existing rule. Every use re-checks the person's membership and the workspace's sign-in rules; it lasts 90 days and ends from the console's sessions.