Coline Docs
Reference

shares

Every coline shares command, with its flags and the action it runs.

Every coline shares command, 14 in all.

shares acts undo

Takes back an approval, answer or other act recorded on a share, for example one read from an email.

It removes or overwrites something, so it runs only with --confirm.

coline shares acts undo [flags]

Action shares.acts.undo · Effect destructive, runs only with --confirm · Can wait for your approval no · Scope files.write · Workspace yes, -w

FlagWhat it does
--share-id <id>Share id from a share result. Required.
--event-id <id>Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares acts undo -w acme --share-id <share-id> --event-id <event-id> --confirm
coline shares acts undo -w acme --json '{"shareId":"<share-id>","eventId":"<event-id>"}' --fields id --confirm

shares companies remove

Takes a share off a whole company. People who had it only through that company lose it at once.

It removes or overwrites something, so it runs only with --confirm.

coline shares companies remove [flags]

Action shares.companies.remove · Effect destructive, runs only with --confirm · Can wait for your approval no · Scope files.write · Workspace yes, -w

FlagWhat it does
--share-id <id>Share id from a share result. Required.
--place-id <id>Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares companies remove -w acme --share-id <share-id> --place-id <place-id> --confirm
coline shares companies remove -w acme --json '{"shareId":"<share-id>","placeId":"<place-id>"}' --fields id --confirm

shares create

Shares a thing (a doc, note, sheet, file, folder, task, goal, Kairo answer or chat) with people by email or handle, with a note and what is needed from them. Workspace members get it in Coline. People outside get an email with a link that needs no account; when an assistant or agent shares outside the workspace, it waits for the person's OK in Coline. Use it only when the person asks to share something with someone.

It reaches people outside Coline; mail and outside invites wait for your approval in Coline (exit code 10, with the link).

Set people, options with --json '{…}' or --input.

coline shares create [flags]

Action shares.create · Effect external, reaches people outside Coline · Can wait for your approval yes (exit code 10, with the link) · Scope files.write · Workspace yes, -w

FlagWhat it does
--kind <text>What is shared. For any Drive file, "file" works: the file's own type is used. Required. One of note, doc, sheet, file, folder, board, task, goal, goal_output, kairo_answer, kairo_chat, kairo_visual.
--target-id <id>Required.
--target-sub-id <id>A Kairo answer: the answer's message id.
--note <text>
--ask <text>What the sender needs: nothing, feedback, an approval, an answer, a time to meet, or a task done. One of none, feedback, approval, answer, time, task.
--ask-detail <text>
--answer-options <list>For an answer: the choices.
--link-access <text>"anyone": anyone with the link can view it. One of invited, anyone.
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares create -w acme --kind note --target-id <target-id>
coline shares create -w acme --json '{"kind":"note","targetId":"<target-id>"}' --fields id

shares held list

Shares Kairo, a crew member or an assistant prepared for people outside the workspace, waiting for the person's OK.

It changes nothing.

coline shares held list [flags]

Action shares.held.list · Effect read, changes nothing · Can wait for your approval no · Scope files.read · Workspace yes, -w

FlagWhat it does
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares held list -w acme
coline shares held list -w acme --json '{}' --fields id

shares join-request

A guest of the workspace asks its admins to make them a member. Nobody is added until an admin invites them on the screen that states the seat.

coline shares join-request [flags]

Action shares.joinRequest · Effect write · Can wait for your approval no · Scope workspace.read · Workspace yes, -w

FlagWhat it does
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares join-request -w acme
coline shares join-request -w acme --json '{}' --fields id

shares of-thing

The shares made from a Kairo chat (and its answers) or a goal, with what the people on them asked and replied.

It changes nothing.

coline shares of-thing [flags]

Action shares.ofThing · Effect read, changes nothing · Can wait for your approval no · Scope files.read · Workspace yes, -w

FlagWhat it does
--kind <text>Required. One of kairo_chat, goal.
--target-id <id>Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares of-thing -w acme --kind kairo_chat --target-id <target-id>
coline shares of-thing -w acme --json '{"kind":"kairo_chat","targetId":"<target-id>"}' --fields id

shares recipients remove

Takes one person off a share. Their links and access end at once.

It removes or overwrites something, so it runs only with --confirm.

coline shares recipients remove [flags]

Action shares.recipients.remove · Effect destructive, runs only with --confirm · Can wait for your approval no · Scope files.write · Workspace yes, -w

FlagWhat it does
--share-id <id>Share id from a share result. Required.
--recipient-id <id>Person on the share, from the Share dialog. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares recipients remove -w acme --share-id <share-id> --recipient-id <recipient-id> --confirm
coline shares recipients remove -w acme --json '{"shareId":"<share-id>","recipientId":"<recipient-id>"}' --fields id --confirm

shares recipients update

Changes what one person on a share may do, or the brief written for them.

coline shares recipients update [flags]

Action shares.recipients.update · Effect write · Can wait for your approval no · Scope files.write · Workspace yes, -w

FlagWhat it does
--share-id <id>Share id from a share result. Required.
--recipient-id <id>Person on the share, from the Share dialog. Required.
--access <text>One of view, comment, edit.
--brief <text>
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares recipients update -w acme --share-id <share-id> --recipient-id <recipient-id>
coline shares recipients update -w acme --json '{"shareId":"<share-id>","recipientId":"<recipient-id>"}' --fields id

shares replies confirm

A reply that read like an approval or answer, but not clearly: count it, or keep it as a message.

coline shares replies confirm [flags]

Action shares.replies.confirm · Effect write · Can wait for your approval no · Scope files.write · Workspace yes, -w

FlagWhat it does
--share-id <id>Share id from a share result. Required.
--event-id <id>Required.
--decision <text>Required. One of count, dismiss.
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares replies confirm -w acme --share-id <share-id> --event-id <event-id> --decision count
coline shares replies confirm -w acme --json '{"shareId":"<share-id>","eventId":"<event-id>","decision":"count"}' --fields id

shares revoke

Stops sharing a thing: every link, session and reply address it gave ends at once.

It removes or overwrites something, so it runs only with --confirm.

coline shares revoke [flags]

Action shares.revoke · Effect destructive, runs only with --confirm · Can wait for your approval no · Scope files.write · Workspace yes, -w

FlagWhat it does
--share-id <id>Share id from a share result. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares revoke -w acme --share-id <share-id> --confirm
coline shares revoke -w acme --json '{"shareId":"<share-id>"}' --fields id --confirm

shares sent list

Everything shared outside the workspace, with each person's state. Admins can see the whole workspace's.

It changes nothing.

coline shares sent list [flags]

Action shares.sent.list · Effect read, changes nothing · Can wait for your approval no · Scope files.read · Workspace yes, -w

FlagWhat it does
--scope <text>Default mine. One of mine, workspace.
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares sent list -w acme
coline shares sent list -w acme --json '{}' --fields id

shares settings get

The workspace's rules for sharing things with people outside it.

It changes nothing.

coline shares settings get [flags]

Action shares.settings.get · Effect read, changes nothing · Can wait for your approval no · Scope workspace.read · Workspace yes, -w

FlagWhat it does
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares settings get -w acme
coline shares settings get -w acme --json '{}' --fields id

shares settings update

Changes who may share outside the workspace and which sharing features are on. Admins only.

coline shares settings update [flags]

Action shares.settings.update · Effect write · Can wait for your approval no · Scope workspace.read · Workspace yes, -w

FlagWhat it does
--outside-policy <text>One of everyone, admins, nobody.
--anyone-link-allowed
--outside-must-sign-in
--ask-enabled
--briefs-enabled
--secrets-check-enabled
--reply-acts-enabled
--team-offers-enabled
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares settings update -w acme
coline shares settings update -w acme --json '{}' --fields id

shares update

Changes a share's note, what is asked, its link access or options.

Set options with --json '{…}' or --input.

coline shares update [flags]

Action shares.update · Effect write · Can wait for your approval no · Scope files.write · Workspace yes, -w

FlagWhat it does
--share-id <id>Share id from a share result. Required.
--note <text>
--ask <text>What the sender needs: nothing, feedback, an approval, an answer, a time to meet, or a task done. One of none, feedback, approval, answer, time, task.
--ask-detail <text>
--answer-options <list>
--link-access <text>One of invited, anyone.
--input <file>Read the input as JSON from a file; - reads stdin.
coline shares update -w acme --share-id <share-id>
coline shares update -w acme --json '{"shareId":"<share-id>"}' --fields id

On this page