Coline Docs
Reference

apps

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

Apps: build, push, publish, run, and every app action.

A copy of coline-app inside a project runs only once you trust it: run coline app trust there. Every coline apps command, 61 in all.

apps create

Start a new app or site in a new folder, from a template, as npx create-coline-app does.

It runs create-coline-app from this project, or from the PATH, with your coline sign-in; its flags are create-coline-app's (--help shows them) and its exit code is create-coline-app's.

coline apps create [name] [flags…]

Built into coline. · Calls nothing in Coline · Effect read, changes nothing · Can wait for your approval no

coline app create pets
coline app create standup --template integration
coline app create

apps dev

Run the project while you build it. A site runs here with in-memory data and no account; open ?as=alice to be a signed-in visitor named alice. An app without a site is pushed again each time a file changes.

It runs coline-app from this project, or from the PATH, with your coline sign-in; its flags are coline-app's (--help shows them) and its exit code is coline-app's.

coline apps dev [flags…]

Built into coline. · Calls POST /api/v1/apps/[appKey]/versions · Effect write · Can wait for your approval no

coline app dev
coline app dev --port 4000
coline app dev --dir ./pets

apps check

Check the app's types, bundles and access rules without uploading anything.

It runs coline-app from this project, or from the PATH, with your coline sign-in; its flags are coline-app's (--help shows them) and its exit code is coline-app's.

coline apps check [flags…]

Built into coline. · Calls nothing in Coline · Effect read, changes nothing · Can wait for your approval no

coline app check
coline app check --no-access-check
coline app check --json

apps preview

Preview the app here with simulated data; --screenshots captures its states and reports browser errors.

It runs coline-app from this project, or from the PATH, with your coline sign-in; its flags are coline-app's (--help shows them) and its exit code is coline-app's.

coline apps preview [flags…]

Built into coline. · Calls nothing in Coline · Effect read, changes nothing · Can wait for your approval no

coline app preview
coline app preview --pattern board
coline app preview --screenshots ./shots

apps push

Build the app and upload a new version: for an app with its own packages, or one headed to the store. --internal makes it the workspace's own app, with no store review; that needs a workspace where you manage apps.

It runs coline-app from this project, or from the PATH, with your coline sign-in; its flags are coline-app's (--help shows them) and its exit code is coline-app's.

coline apps push [flags…]

Built into coline. · Calls POST /api/v1/apps/[appKey]/versions · Effect write · Can wait for your approval no

coline app push
coline app push --internal -w acme
coline app push --version 1.2.0 --json

apps publish

Build the app from its source and put it in the workspace in one step, just for you. coline do apps.publish is the action itself.

It runs coline-app from this project, or from the PATH, with your coline sign-in; its flags are coline-app's (--help shows them) and its exit code is coline-app's.

coline apps publish [flags…]

Built into coline. · Calls apps.publish · Effect write · Can wait for your approval no

coline app publish
coline app publish -w acme --json
coline app publish --entry tools.ts --key standup

apps run

Run a command an installed app adds to Coline, or one of its tools, by the app's key and the command's name or id (coline app run <app> lists them). The input is the tool's own: --input <file|->, --json '{…}', -f key=value for text and -F key=value for typed values.

A tool that changes things may wait for your approval: then nothing has run, the link to approve it is printed and the exit code is 10. Run it again with --approval <id> once you have.

coline apps run <app> [command|tool] [flags]

Built into coline. · Calls apps.commands.list, apps.tools.run · Effect write · Can wait for your approval yes (exit code 10, with the link)

FlagWhat it does
--input <file>The tool's input as JSON from a file; - reads stdin.
-f, --raw-field <key=value>Add a text field to the input; repeat for more.
-F, --field <key=value>Add a typed field: true, false, null, numbers, JSON, or @file.
--approval <id>Run it again after you approved it in Coline, with the approval's id.
coline app run standup
coline app run standup 'Add entry' -f text='Shipped the importer'
coline app run standup standup.add_entry --input entry.json --json

apps trust

Trust the copy of coline-app inside this project (its node_modules), as it is now, so app and site commands run it. It shows the copy's folder and version first. If the copy changes, you are asked again.

Only a person at a terminal can trust a project: it asks, and no flag answers for you (-y and --confirm don't count). Where nobody can be asked, install coline-app yourself instead, which needs no trust.

coline apps trust [flags]

Built into coline. · Calls nothing in Coline · Effect read, changes nothing · Can wait for your approval no

FlagWhat it does
--dir <path>The project's folder (default: this one)
coline app trust
coline app trust --dir ./pets

apps untrust

Forget that you trusted the copy of coline-app inside this project. App and site commands then ask again before they run it, or refuse where they can't ask.

coline apps untrust [flags]

Built into coline. · Calls nothing in Coline · Effect read, changes nothing · Can wait for your approval no

FlagWhat it does
--dir <path>The project's folder (default: this one)
coline app untrust
coline app untrust --json
coline app untrust --dir ./pets

apps ai-models list

The AI models an app can call through coline.ai, with each one's price per call, what it supports and its limits.

It changes nothing.

coline apps ai-models list [flags]

Action apps.aiModels.list · Effect read, changes nothing · Can wait for your approval no · Scope tools.read · Workspace no

FlagWhat it does
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps ai-models list
coline apps ai-models list --json '{}' --fields id

apps analytics get

For an app you own: active installs, installs and runs by day, runs by kind, top errors and schedule health, and the health of each install.

It changes nothing.

coline apps analytics get [flags]

Action apps.analytics.get · Effect read, changes nothing · Can wait for your approval no · Scope tools.read · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps analytics get --app-key "…"
coline apps analytics get --json '{"appKey":"…"}' --fields id

apps commands list

The commands your installed apps add to Coline's command palette: the workspace's apps and your own, only from installs allowed to add commands. Each runs a tool, opens the app, or opens a link.

It changes nothing.

coline apps commands list [flags]

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

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

apps connections disconnect

Disconnects one of an installed app's own sign-ins: your own, or the workspace's shared one for an admin. The app can't reach that service until someone connects it again in Coline.

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

coline apps connections disconnect [flags]

Action apps.connections.disconnect · Effect destructive, runs only with --confirm · Can wait for your approval no · Scope apps.write · Workspace yes, -w

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--install-id <id>One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's.
--key <text>The connection's key, from apps.connections.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps connections disconnect -w acme --app-key "…" --key "…" --confirm
coline apps connections disconnect -w acme --json '{"appKey":"…","key":"…"}' --fields id --confirm

apps connections list

The services an installed app signs in to with its own sign-in, as its manifest declares them: whether each is connected for you or for the workspace, the account and scopes, and which you may disconnect.

It changes nothing.

coline apps connections list [flags]

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

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--install-id <id>One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps connections list -w acme --app-key "…"
coline apps connections list -w acme --json '{"appKey":"…"}' --fields id

apps deliveries list

An installed app's last 100 runs of events, endpoint calls and jobs, newest first, with status, attempts and errors. For the person who manages the install.

It changes nothing.

coline apps deliveries list [flags]

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

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--install-id <id>One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps deliveries list -w acme --app-key "…"
coline apps deliveries list -w acme --json '{"appKey":"…"}' --fields id

apps deliveries replay

Runs one of an installed app's past runs again. For the person who manages the install.

coline apps deliveries replay [flags]

Action apps.deliveries.replay · Effect write · Can wait for your approval no · Scope apps.write · Workspace yes, -w

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--install-id <id>One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's.
--delivery-id <id>The run's id, from apps.deliveries.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps deliveries replay -w acme --app-key "…" --delivery-id <delivery-id>
coline apps deliveries replay -w acme --json '{"appKey":"…","deliveryId":"<delivery-id>"}' --fields id

apps deliveries send

Sends an installed app one test event of a type you choose, with your payload marked test: true. It runs once, as you, through the app's real queue. For the person who manages the install.

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

coline apps deliveries send [flags]

Action apps.deliveries.send · Effect write · Can wait for your approval no · Scope apps.write · Workspace yes, -w

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--install-id <id>One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's.
--event-type <text>The event type, e.g. task.created. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps deliveries send -w acme --app-key "…" --event-type "…"
coline apps deliveries send -w acme --json '{"appKey":"…","eventType":"…"}' --fields id

apps developer-secrets delete

For an app you own: deletes one developer secret by name. Every workspace's install stops getting it at once.

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

coline apps developer-secrets delete [flags]

Action apps.developerSecrets.delete · Effect destructive, runs only with --confirm · Can wait for your approval no · Scope tools.write · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--key <text>The secret's name, from apps.developerSecrets.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps developer-secrets delete --app-key "…" --key "…" --confirm
coline apps developer-secrets delete --json '{"appKey":"…","key":"…"}' --fields id --confirm

apps developer-secrets list

For an app you own: the names of the secrets you set once for every workspace (such as an OAuth client secret), with when each was set. Never their values; set one with apps.developerSecrets.set.

It changes nothing.

coline apps developer-secrets list [flags]

Action apps.developerSecrets.list · Effect read, changes nothing · Can wait for your approval no · Scope tools.read · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps developer-secrets list --app-key "…"
coline apps developer-secrets list --json '{"appKey":"…"}' --fields id

apps developer-secrets set

For an app you own: stores a secret every workspace's install of it gets (such as an OAuth client secret), replacing the value a secret of that name had. Nobody can read it back. Only a person sets one, never an agent.

value is secret: pass it with --value-file <path> or --value-stdin, in --input, or type it when asked. Never as text on the command line or in --json.

coline apps developer-secrets set [flags]

Action apps.developerSecrets.set · Effect write · Can wait for your approval no · Scope tools.write · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--key <text>The secret's name, e.g. GITHUB_CLIENT_SECRET. Required.
--value-file <path>Read value, a secret, from this file. The secret's value. Required; asked for at a terminal when not given.
--value-stdinRead value, a secret, from stdin.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps developer-secrets set --app-key "…" --key "…" --value-file value.txt
printenv VALUE | coline apps developer-secrets set --json '{"appKey":"…","key":"…"}' --value-stdin --fields id

apps executions list

For an app you own, in every workspace it is installed in: its recent runs newest first, with errors already stripped of private data, and a 7-day summary. Filter by failures, kind, error code or text; follow nextCursor for older runs.

It changes nothing.

coline apps executions list [flags]

Action apps.executions.list · Effect read, changes nothing · Can wait for your approval no · Scope tools.read · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--failures-onlyOnly runs that failed.
--search <text>Only runs whose operation or error mentions this.
--kind <text>Only runs of this kind. One of tool, render, schedule, capability, event, job, endpoint.
--error-code <text>Only runs that failed with this error code.
--cursor <text>nextCursor from the page before.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps executions list --app-key "…"
coline apps executions list --json '{"appKey":"…"}' --fields id

apps files create

Makes a new file of an installed app's type in a drive, as the file tree's new-file button does. Name the type when the app has more than one.

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

coline apps files create [flags]

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

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--name <text>The file's name. Required.
--type-key <text>The app's file type. Needed when the app has more than one.
--drive-id <id>The drive to put it in. Default: your own drive.
--parent-id <id>The folder to put it in. Null or left out for the drive's top level.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps files create -w acme --app-key "…" --name "…"
coline apps files create -w acme --json '{"appKey":"…","name":"…"}' --fields id

apps files get

Reads one of an app's files in the workspace: its name, type and whole document, with its version. You need access to the file's drive.

It changes nothing.

coline apps files get [flags]

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

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--file-id <id>The file's id, from the drive. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps files get -w acme --app-key "…" --file-id <file-id>
coline apps files get -w acme --json '{"appKey":"…","fileId":"<file-id>"}' --fields id

apps files update

Replaces the whole document of one of an app's files. What you leave out of the document is gone; there is no version check, so the last save wins. Read it with apps.files.get first.

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

coline apps files update [flags]

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

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--file-id <id>The file's id, from the drive. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps files update -w acme --app-key "…" --file-id <file-id>
coline apps files update -w acme --json '{"appKey":"…","fileId":"<file-id>","document":"…"}' --fields id

apps get

Reads one installed app: its version, status, and whether it's suspended.

It changes nothing.

coline apps get [flags]

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

FlagWhat it does
--app-key <text>appKey from list_apps. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps get -w acme --app-key "…"
coline apps get -w acme --json '{"appKey":"…"}' --fields id

apps grants list

For a paid app you own: the workspaces you gave it to for free, up to 100. Giving or taking one away stays in the app.

It changes nothing.

coline apps grants list [flags]

Action apps.grants.list · Effect read, changes nothing · Can wait for your approval no · Scope tools.read · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps grants list --app-key "…"
coline apps grants list --json '{"appKey":"…"}' --fields id

Makes a private install link for an app you own, pinned to one version (default: the newest approved one). Anyone with the link can ask to install the app; the workspace that installs it still approves its access. The link is shown only now.

coline apps install-links create [flags]

Action apps.installLinks.create · Effect write · Can wait for your approval no · Scope tools.write · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--version-id <id>The version to pin. Default: the newest approved one.
--label <text>A name for the link, to tell links apart.
--max-installs <number>How many installs it allows. Default: no limit.
--expires-at <text>When it stops working, ISO 8601 with a time zone. Default: never.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps install-links create --app-key "…"
coline apps install-links create --json '{"appKey":"…"}' --fields id

For an app you own: its private install links, newest first, with label, version, limits, uses and expiry. The links themselves are shown only when made.

It changes nothing.

coline apps install-links list [flags]

Action apps.installLinks.list · Effect read, changes nothing · Can wait for your approval no · Scope tools.read · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps install-links list --app-key "…"
coline apps install-links list --json '{"appKey":"…"}' --fields id

Turns off one of an app's private install links; nobody can install with it any more. Apps already installed with it stay.

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

coline apps install-links revoke [flags]

Action apps.installLinks.revoke · Effect destructive, runs only with --confirm · Can wait for your approval no · Scope tools.write · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--link-id <id>The link's id, from apps.installLinks.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps install-links revoke --app-key "…" --link-id <link-id> --confirm
coline apps install-links revoke --json '{"appKey":"…","linkId":"<link-id>"}' --fields id --confirm

apps integrations list

The services an app uses, what each is connected to, and the connections that could fill it.

It changes nothing.

coline apps integrations list [flags]

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

FlagWhat it does
--app-key <text>Required.
--install-id <id>
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps integrations list -w acme --app-key "…"
coline apps integrations list -w acme --json '{"appKey":"…"}' --fields id

apps integrations unbind

Stops an app using a connection for one of the services it lists.

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

coline apps integrations unbind [flags]

Action apps.integrations.unbind · Effect destructive, runs only with --confirm · Can wait for your approval no · Scope apps.write · Workspace yes, -w

FlagWhat it does
--app-key <text>Required.
--install-id <id>
--slot <text>Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps integrations unbind -w acme --app-key "…" --slot "…" --confirm
coline apps integrations unbind -w acme --json '{"appKey":"…","slot":"…"}' --fields id --confirm

apps inventory

Every app installed in the workspace that you may see: the workspace's and your own, or, for an admin, everyone's with whose each is. Each says who published it, how and when, what it can reach, what waits for approval, when it last ran and how many runs failed in the last 7 days.

It changes nothing.

coline apps inventory [flags]

Action apps.inventory · Effect read, changes nothing · Can wait for your approval no · Scope apps.read · Workspace yes, -w

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

apps list

Lists the Coline apps installed in a workspace and the apps it can install.

It changes nothing.

coline apps list [flags]

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

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

apps listing delist

Takes an app you own off the store. Nobody new finds or installs it there; installs keep working.

coline apps listing delist [flags]

Action apps.listing.delist · Effect write · Can wait for your approval no · Scope tools.write · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps listing delist --app-key "…"
coline apps listing delist --json '{"appKey":"…"}' --fields id

apps listing get

For an app you own: its store listing, with the published revision, the 20 newest revisions, the draft, and what is still missing before the draft can go to review.

It changes nothing.

coline apps listing get [flags]

Action apps.listing.get · Effect read, changes nothing · Can wait for your approval no · Scope tools.read · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps listing get --app-key "…"
coline apps listing get --json '{"appKey":"…"}' --fields id

apps listing relist

Puts an app you own that was taken off the store back on it, where anyone can find and install it again.

It reaches people outside Coline right away.

coline apps listing relist [flags]

Action apps.listing.relist · Effect external, reaches people outside Coline · Can wait for your approval no · Scope tools.write · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps listing relist --app-key "…"
coline apps listing relist --json '{"appKey":"…"}' --fields id

apps listing submit

Sends the store listing draft of an app you own to Coline's review. Refused while the checklist in apps.listing.get has anything missing. Nothing is public until a reviewer approves it.

coline apps listing submit [flags]

Action apps.listing.submit · Effect write · Can wait for your approval no · Scope tools.write · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps listing submit --app-key "…"
coline apps listing submit --json '{"appKey":"…"}' --fields id

apps listing update

Changes the store listing draft of an app you own. It changes only the fields you name and keeps the rest of the draft (or of the newest revision, when there is no draft). Nothing is public until you submit it and Coline's review approves it.

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

coline apps listing update [flags]

Action apps.listing.update · Effect write · Can wait for your approval no · Scope tools.write · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--tagline <text>One line, up to 80 characters.
--description-md <text>The full description, in markdown.
--category <text>One of productivity, crm_sales, project_management, developer_tools, finance, hr_recruiting, marketing, data_reporting, communication, utilities.
--tags <list>Up to 5 tags. Replaces the tags.
--icon-url <text>The store icon: uploaded store media or an https address. Null to remove it.
--hero-url <text>The wide image at the top of the listing. Null to remove it.
--website-url <text>The app's website. Null to remove it.
--support-email <text>
--privacy-policy-url <text>
--mobile-support <text>How it works on a phone: mobile, web_desktop or limited. One of mobile, web_desktop, limited.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps listing update --app-key "…"
coline apps listing update --json '{"appKey":"…"}' --fields id

apps oauth-connections delete

Deletes one stored service token from an installed app; the app can't use that account until it is connected again. For the person who manages the install.

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

coline apps oauth-connections delete [flags]

Action apps.oauthConnections.delete · Effect destructive, runs only with --confirm · Can wait for your approval no · Scope apps.write · Workspace yes, -w

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--install-id <id>One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's.
--connection-id <id>The token's id, from apps.oauthConnections.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps oauth-connections delete -w acme --app-key "…" --connection-id <connection-id> --confirm
coline apps oauth-connections delete -w acme --json '{"appKey":"…","connectionId":"<connection-id>"}' --fields id --confirm

apps oauth-connections list

The service tokens stored for an installed app: the service, account, scopes and expiry, never the tokens. For the person who manages the install.

It changes nothing.

coline apps oauth-connections list [flags]

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

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--install-id <id>One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps oauth-connections list -w acme --app-key "…"
coline apps oauth-connections list -w acme --json '{"appKey":"…"}' --fields id

apps owned get

One app you own, as the Developer app shows it: every version newest first with its review state and what it asks for, the workspace it belongs to when it is internal, the workspaces you can install it in, and the developer secrets its newest version needs (names only).

It changes nothing.

coline apps owned get [flags]

Action apps.owned.get · Effect read, changes nothing · Can wait for your approval no · Scope tools.read · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps owned get --app-key "…"
coline apps owned get --json '{"appKey":"…"}' --fields id

apps owned list

The apps you own and build, newest change first, with each one's latest upload, its review state and the version the store has.

It changes nothing.

coline apps owned list [flags]

Action apps.owned.list · Effect read, changes nothing · Can wait for your approval no · Scope tools.read · Workspace no

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

apps permissions get

What an installed app declares it needs and what it has been granted. Granting more stays in the app. For the person who manages the install.

It changes nothing.

coline apps permissions get [flags]

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

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--install-id <id>One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps permissions get -w acme --app-key "…"
coline apps permissions get -w acme --json '{"appKey":"…"}' --fields id

apps policy get

The workspace's rules for apps: who may install from the store, the apps allowed when only listed apps may be installed, the permissions no app may have, and whether members may publish apps just for themselves. Changing them stays in the app.

It changes nothing.

coline apps policy get [flags]

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

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

apps prices list

For an app you own: its prices, newest first. Adding or retiring a price stays in the app.

It changes nothing.

coline apps prices list [flags]

Action apps.prices.list · Effect read, changes nothing · Can wait for your approval no · Scope tools.read · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps prices list --app-key "…"
coline apps prices list --json '{"appKey":"…"}' --fields id

apps resume

Lets an install an admin suspended run again. An app the workspace's app policy suspended resumes only when the policy allows it. Admins only.

coline apps resume [flags]

Action apps.resume · Effect write · Can wait for your approval no · Scope apps.write · Workspace yes, -w

FlagWhat it does
--install-id <id>installId from apps.inventory. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps resume -w acme --install-id <install-id>
coline apps resume -w acme --json '{"installId":"<install-id>"}' --fields id

apps secrets create

Stores a secret value for an installed app under a name, replacing the value a secret of that name had. The app reads it; nobody can read it back. Only a person sets one, never an agent. For the person who manages the install.

value is secret: pass it with --value-file <path> or --value-stdin, in --input, or type it when asked. Never as text on the command line or in --json.

coline apps secrets create [flags]

Action apps.secrets.create · Effect write · Can wait for your approval no · Scope apps.write · Workspace yes, -w

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--install-id <id>One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's.
--key <text>The secret's name, e.g. STRIPE_KEY. Required.
--value-file <path>Read value, a secret, from this file. The secret's value. Required; asked for at a terminal when not given.
--value-stdinRead value, a secret, from stdin.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps secrets create -w acme --app-key "…" --key "…" --value-file value.txt
printenv VALUE | coline apps secrets create -w acme --json '{"appKey":"…","key":"…"}' --value-stdin --fields id

apps secrets delete

Deletes one of an installed app's secrets; the app can't read it any more. For the person who manages the install.

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

coline apps secrets delete [flags]

Action apps.secrets.delete · Effect destructive, runs only with --confirm · Can wait for your approval no · Scope apps.write · Workspace yes, -w

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--install-id <id>One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's.
--secret-id <id>The secret's id, from apps.secrets.list. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps secrets delete -w acme --app-key "…" --secret-id <secret-id> --confirm
coline apps secrets delete -w acme --json '{"appKey":"…","secretId":"<secret-id>"}' --fields id --confirm

apps secrets list

The names of an installed app's secrets, never their values. Set one with apps.secrets.create. For the person who manages the install.

It changes nothing.

coline apps secrets list [flags]

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

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--install-id <id>One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps secrets list -w acme --app-key "…"
coline apps secrets list -w acme --json '{"appKey":"…"}' --fields id

apps sessions create

Makes a short-lived token for coline-app to build, push, publish and deploy apps and sites in one workspace, holding only the apps permissions this sign-in has there. coline app and coline site ask for one before each run and hand it to coline-app instead of your sign-in. It lasts an hour, can't be renewed, and shows under coline-app in Settings › Connections, where you can revoke it.

coline apps sessions create [flags]

Action apps.sessions.create · Effect write · Can wait for your approval no · Scope apps.read · Workspace yes, -w

FlagWhat it does
--long-runningFor a command that keeps running, like coline app dev: the token lasts twelve hours instead of one.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps sessions create -w acme
coline apps sessions create -w acme --json '{}' --fields id

apps share preview

What sharing an app you published with the workspace grants, needs and removes, and whether you can confirm it or who can. For an admin, an app a member published works the same way.

It changes nothing.

coline apps share preview [flags]

Action apps.share.preview · Effect read, changes nothing · Can wait for your approval no · Scope apps.read · Workspace yes, -w

FlagWhat it does
--app-key <text>appKey from list_apps. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps share preview -w acme --app-key "…"
coline apps share preview -w acme --json '{"appKey":"…"}' --fields id

apps source get

Reads the files of a version of an app published with apps.publish (the latest by default). Yours, or any a workspace admin can see; a shared app's for anyone who could install it. To make a copy, change its key and publish it.

It changes nothing.

coline apps source get [flags]

Action apps.source.get · Effect read, changes nothing · Can wait for your approval no · Scope apps.publish · Workspace yes, -w

FlagWhat it does
--app-key <text>appKey from list_apps. Required.
--version <text>A version such as 0.0.3. Default: the latest.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps source get -w acme --app-key "…"
coline apps source get -w acme --json '{"appKey":"…"}' --fields id

apps suspend

Stops one install from running until an admin resumes it: nothing it declares runs and its screens say it is suspended. Its data is kept. Admins only.

coline apps suspend [flags]

Action apps.suspend · Effect write · Can wait for your approval no · Scope apps.write · Workspace yes, -w

FlagWhat it does
--install-id <id>installId from apps.inventory. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps suspend -w acme --install-id <install-id>
coline apps suspend -w acme --json '{"installId":"<install-id>"}' --fields id

apps tools describe

One installed app tool: what it does, its input as JSON Schema, its effect, and its app's guide (what the app is for, its other tools and what it can reach). Read it before the first run_app_tool call.

It changes nothing.

coline apps tools describe [flags]

Action apps.tools.describe · Effect read, changes nothing · Can wait for your approval no · Scope tools.read · Workspace yes, -w

FlagWhat it does
--tool <text>The tool's full name from list_app_tools, e.g. "standup.add_entry". Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps tools describe -w acme --tool "…"
coline apps tools describe -w acme --json '{"tool":"…"}' --fields id

apps tools list

Lists the tools of the apps installed in the workspace for everyone, and of the apps installed just for you, sorted by app and tool name. Call describe_app_tool for a tool's input and how its app is meant to be used, then run_app_tool to run it.

It changes nothing.

coline apps tools list [flags]

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

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

apps tools run

Runs an installed app tool with its input. A tool that changes things may need the person's approval: then nothing runs, the answer is status "requires_approval" with an approvalUrl to give the person, and after they approve you repeat the same call with its approvalId. A read tool never asks.

It can wait for your approval in Coline (exit code 10, with the link).

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

coline apps tools run [flags]

Action apps.tools.run · Effect write · Can wait for your approval yes (exit code 10, with the link) · Scope tools.write · Workspace yes, -w

FlagWhat it does
--tool <text>The tool's full name from list_app_tools, e.g. "standup.add_entry". Required.
--approval-id <id>From an earlier requires_approval answer to this same call, once the person approved it.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps tools run -w acme --tool "…"
coline apps tools run -w acme --json '{"tool":"…"}' --fields id

apps uninstall

Uninstalls an app. Its data is kept for 30 days unless purgeNow is set. Only when the person clearly asks for it.

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

coline apps uninstall [flags]

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

FlagWhat it does
--app-key <text>appKey from list_apps. Required.
--purge-nowDelete the app's data now instead of keeping it for 30 days. Default false.
--install-id <id>One install by id: how an admin removes an app someone installed just for themselves.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps uninstall -w acme --app-key "…" --confirm
coline apps uninstall -w acme --json '{"appKey":"…"}' --fields id --confirm

apps updates get

An installed app's update state: the version it is on, whether it updates by itself, the versions it could move to, what the newest would change in its access, and whether you may decide. Applying an update stays in the app.

It changes nothing.

coline apps updates get [flags]

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

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--install-id <id>One install by id, when you have the app both just for you and for the workspace. Leave it out for your own install, else the workspace's.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps updates get -w acme --app-key "…"
coline apps updates get -w acme --json '{"appKey":"…"}' --fields id

apps versions deprecate

Stops new installs of an approved version of an app you own. Installs on it keep running and can still roll back to it.

coline apps versions deprecate [flags]

Action apps.versions.deprecate · Effect write · Can wait for your approval no · Scope tools.write · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--version-id <id>The version's id. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps versions deprecate --app-key "…" --version-id <version-id>
coline apps versions deprecate --json '{"appKey":"…","versionId":"<version-id>"}' --fields id

apps versions restore

Lets anyone install a version of an app you own that you stopped before. Only approved versions.

It reaches people outside Coline right away.

coline apps versions restore [flags]

Action apps.versions.restore · Effect external, reaches people outside Coline · Can wait for your approval no · Scope tools.write · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--version-id <id>The version's id. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps versions restore --app-key "…" --version-id <version-id>
coline apps versions restore --json '{"appKey":"…","versionId":"<version-id>"}' --fields id

apps versions submit

Sends one version of an app you own to Coline's store review. Nothing reaches the store until a reviewer approves it.

coline apps versions submit [flags]

Action apps.versions.submit · Effect write · Can wait for your approval no · Scope tools.write · Workspace no

FlagWhat it does
--app-key <text>The app's key, as in its app.config.ts or from apps.list. Required.
--version-id <id>The version's id. Required.
--input <file>Read the input as JSON from a file; - reads stdin.
coline apps versions submit --app-key "…" --version-id <version-id>
coline apps versions submit --json '{"appKey":"…","versionId":"<version-id>"}' --fields id

On this page