Jeden/Docs

CLI command

jeden token status

Inspect the selected model route and credential source without revealing keys.

Exact invocation#

Shell
jeden token status [--json]

Inputs and options#

  • No token ID is required. Use --json for route, endpoint, origin, keySource, selected ID, Stado's alternatives or routeRefusal, and token metadata.

Output and state effect#

Prints direct-provider endpoint and whether its process key or local list is selected, or the route Stado's inference alternatives give, in Stado's order. It reads but does not select a stored key.

Refusals and boundaries#

  • A refused route is reported, not raised: a refused direct route as keySource refused, a null endpoint and the declared routeRefusal; a Stado that cannot be run or list its alternatives as route stado with Stado's declared routeRefusal. A token store that cannot be read is refused with its jeden.token.store cause.
  • A command line of the wrong form (an unknown command or option, a missing, unexpected or invalid argument, a missing confirmation) prints the error and the usage and exits 2; a refusal that retrying unchanged can help (a dependency down or not answering, a rate limit) exits 69; any other refusal or failure exits 1. A refusal a functionality declares ends with fix: … and cause: <operation>.<cause>, and jeden errors show <operation> lists every cause of that functionality.