cockpit terms
Generated reference for cockpit terms, including its syntax, options, results, and constraints from the canonical cockpit CLI source.
This reference is generated from the same canonical source distributed as cockpit CLI help. See Cockpit CLI for concepts and safe operating guidance.
Read whether a person has agreed to the AGI Cockpit Terms of Use on this computer. Agreeing is possible only on the AGI Cockpit screen of the computer itself; the CLI cannot agree, withdraw, reset, or skip the agreement.
cockpit terms status
cockpit terms status --host <host|alias> [--port <sync-port>] [--https true|false]
status returns:
{"ok": true, "data": {"state": "required", "reason": "not_accepted", "requiredVersion": "<version>", "acceptedVersion": null, "acceptedAt": null, "acceptedAppVersion": null, "message": "Read the Terms of Use on the AGI Cockpit screen and agree to them. The CLI cannot agree for you."}}
state:accepted,required(no agreement to the version this app requires), orunavailable(the agreement cannot be confirmed).reason:nullwhen accepted.not_acceptedornew_version(an earlier version was accepted) when required. When unavailable:terms_not_ready(this app has no Terms of Use that can be agreed to),record_unreadable(the agreement record cannot be read),record_invalid(the record is damaged), orsave_failed(an agreement could not be saved; load the record again on the AGI Cockpit screen).requiredVersion: the Terms of Use version this app requires, ornullwhen the terms are not ready.acceptedVersion,acceptedAt,acceptedAppVersion: the agreement to the required version, or the latest earlier agreement when a new version is required.acceptedAtis the computer's clock in UTC when the person agreed, not a time certified by a third party.message: what to do on the AGI Cockpit screen, ornullwhen accepted.
Until a person agrees, AGI Cockpit starts nothing else: tasks, terminals, Crews, Autorun, Hooks, Fleet, and Remote Access stay stopped. Every other command that reaches this computer's AGI Cockpit is refused with terms_acceptance_required, or with terms_acceptance_unavailable when the agreement cannot be confirmed, and runs nothing. When the agreement is saved but AGI Cockpit could not start, commands are refused with normal_startup_failed. status is the only command answered before the agreement.
--host reads the status of another computer through its Remote Access with the existing authentication. Remote Access starts only after that computer's agreement, so another computer that has not agreed is not reachable.
Before the first agreement on a computer, its status may not be readable at all:
- A new installation has no
cockpitcommand until the agreement, because the CLI is installed when AGI Cockpit starts normally. - After an update, the CLI of the earlier version stays installed until the agreement. It reports
Cannot reach AGI Cockpit(exit 7) for task commands such astask list, shows the refusal for other commands, and has noterms status. - The PWA and
--hostcannot reach the computer, because Remote Access is not running.
A failure to connect, including exit 7, does not mean that the agreement is required. Check the AGI Cockpit app on that computer.
The agreement is kept in terms-acceptance.json in AGI Cockpit's data folder, together with the version, the time, the app version, and the language shown. Signing out or changing settings does not remove it; deleting the data folder or reinstalling with a new data folder does. A record that cannot be read is never overwritten silently: the screen offers to load it again, and a damaged record is kept under another name in the same folder before a new agreement is saved.
Related: cockpit help account for the AGI Lab sign-in.