powered by

CLI command reference

Every Anythink CLI command and flag, documented in one place — the fastest way to check a flag without running --help first.

Last updated

This page lists every command in the anythink CLI with its arguments, options, defaults and an example. It's a lookup page. To install the CLI, sign in and work with profiles, start with Install and use the Anythink CLI.

In a usage line, <name> is a required argument, [name] is optional, and [options] means the flags in the table below it. Commands that take a project profile use the active profile unless you pass --profile.

Global options

These work on every command.

Option Type Default Meaning
--profile <name>, -p <name> profile name the active profile Runs this one command against a named profile. It never changes the active profile. Works anywhere in the command line.
-h, --help flag Prints help for the CLI, a group or a command.
-v, --version flag Prints the CLI version.

--profile applies to commands that work on a project. The commands that use your platform session (signup, login, plans, accounts and projects) don't take a project profile.

Top-level commands

Commands that aren't part of a group. For a guided tour, see Install and use the Anythink CLI.

signup

Creates an Anythink account.

bash
anythink signup [options]
Option Type Default Meaning
--first-name <name> string prompted First name.
--last-name <name> string prompted Last name.
--email <email> string prompted Email address.
--password <password> string prompted (hidden) Password.
--referral <code> string none Optional referral code.
bash
anythink signup --email you@example.com

login

Signs in to the Anythink platform, or saves a project profile directly from an API key or token.

bash
anythink login [options]
Option Type Default Meaning
--email <email> string prompted Account email address.
--password <password> string prompted (hidden) Account password.
--google flag off Signs in with Google in your browser.
--org-id <id> string none Project ID. Saves a project profile directly, with no platform sign-in.
--api-key <key> string none API key (ak_...) to store in the profile.
--token <jwt> string none JWT access token to store in the profile.
--base-url <url> string the Anythink API Overrides the API address for this profile.
bash
anythink login --email you@example.com

logout

Removes the saved credentials for a profile.

bash
anythink logout

It removes the active profile's credentials.

bash
anythink logout

plans

Lists the plans you can choose when you create a project.

bash
anythink plans [options]
Option Type Default Meaning
--json flag off Prints the raw JSON.
bash
anythink plans --json

migrate

Copies entities and fields from one project profile to another.

bash
anythink migrate --from <profile> --to <profile> [options]
Option Type Default Meaning
--from <profile> profile name required Source project profile.
--to <profile> profile name required Target project profile.
--dry-run flag off Previews what would be migrated without changing anything.
--include-workflows flag off Includes workflows.
--include-roles flag off Includes roles and their permissions.
--include-settings flag off Includes project settings: theme, registration settings and URLs.
--include-menus flag off Includes menu configuration.
--force-menus flag off Deletes existing target menus before recreating them.
--include-files flag off Includes uploaded files.
--include-data flag off Includes records. Skips entities that already have records on the target.
--force-data flag off Migrates records even if the target already has some. Implies --include-data.
--force-data-entities <list> comma-separated entity names none Force-migrates only these entities. Implies --force-data.
bash
anythink migrate --from project-staging --to project-prod --dry-run

See Environments and migrating data.

fetch

Sends an authenticated request to the active project's REST API.

bash
anythink fetch <path> [options]
Name Type Default Meaning
<path> string required API path after the project, for example /integrations/definitions.
--method <method> HTTP method GET HTTP method to use.
--body <json> JSON string none Request body.
bash
anythink fetch /integrations/connections --method POST --body '{"name":"test"}'

See REST API reference for the endpoints.

api

Lists every API endpoint, including the routes generated for your entities.

bash
anythink api [options]
Option Type Default Meaning
--json flag off Prints JSON instead of a table.
--base-url <url> string the profile's API address Overrides the API address for this command.
bash
anythink api --json

docs

Prints the full CLI reference as markdown, or as JSON for tools.

bash
anythink docs [options]
Option Type Default Meaning
--json flag off Prints machine-readable JSON instead of markdown.
bash
anythink docs --json

config

View and manage saved profiles. See Install and use the Anythink CLI for how profiles work.

config show

Lists every profile and platform session, and marks the active profile.

bash
anythink config show
bash
anythink config show

config use

Makes a profile the active one.

bash
anythink config use <profile>
Name Type Default Meaning
<profile> string required Profile name to activate.
bash
anythink config use my-project

config remove

Removes a saved profile.

bash
anythink config remove <profile>
Name Type Default Meaning
<profile> string required Profile name to remove.
bash
anythink config remove my-project-staging

config reset

Asks for confirmation, then resets the CLI configuration to its defaults. You sign in again afterwards.

bash
anythink config reset
bash
anythink config reset

accounts

Manage billing accounts.

accounts list

Lists your billing accounts.

bash
anythink accounts list
bash
anythink accounts list

accounts create

Creates a billing account.

bash
anythink accounts create [options]
Option Type Default Meaning
--name <name> string prompted Organisation name.
--email <email> string prompted Billing email address.
--currency <code> gbp, usd, eur gbp Billing currency.
bash
anythink accounts create --name "Acme Ltd" --email billing@acme.com

accounts use

Sets the active billing account.

bash
anythink accounts use [id]
Name Type Default Meaning
[id] UUID or prefix picked interactively Billing account ID.
bash
anythink accounts use a1b2c3d4

projects

Create and manage projects. See Build your first app.

projects list

Lists the projects in a billing account.

bash
anythink projects list [options]
Option Type Default Meaning
--account <id> billing account ID the active account Billing account to list.
bash
anythink projects list

projects create

Creates a project.

bash
anythink projects create [name] [options]
Name Type Default Meaning
[name] string prompted Project name.
--plan <id> plan UUID picked interactively Plan to use. Run anythink plans to see the options.
--region <region> string, such as lon1 picked interactively Deployment region.
--description <text> string none Project description.
--account <id> billing account ID the active account Billing account to create the project in.
bash
anythink projects create "My App" --region lon1

projects use

Connects to a project and saves it as the active profile.

bash
anythink projects use [id] [options]
Name Type Default Meaning
[id] project name, project ID or UUID prefix picked interactively Project to connect to.
--account <id> billing account ID the active account Billing account the project belongs to.
--api-key <key> string one is generated API key to store in the profile.
bash
anythink projects use my-app

projects delete

Deletes a project.

bash
anythink projects delete <id> [options]
Name Type Default Meaning
<id> UUID or prefix required Project ID.
--account <id> billing account ID the active account Billing account the project belongs to.
--yes flag off Skips the confirmation prompt.
bash
anythink projects delete a1b2c3d4 --yes

entities

Manage entities, the database tables in your project. See Model your data: entities, fields, relations.

entities list

Lists all entities.

bash
anythink entities list
bash
anythink entities list

entities get

Shows an entity and its fields.

bash
anythink entities get <name>
Name Type Default Meaning
<name> string required Entity name.
bash
anythink entities get customers

entities create

Creates an entity.

bash
anythink entities create <name> [options]
Name Type Default Meaning
<name> string required Entity name, such as customers or orders.
--public flag off Makes the entity publicly queryable, with no sign-in.
--rls flag off Turns on row-level security.
--lock-records flag off Stops new records being created through the API.
--junction flag off Marks the entity as a many-to-many junction table.
bash
anythink entities create orders --rls

entities update

Changes an entity's settings.

bash
anythink entities update <name> [options]
Name Type Default Meaning
<name> string required Entity name.
--public <bool> true, false unchanged Sets public access.
--rls <bool> true, false unchanged Turns row-level security on or off.
--lock-records <bool> true, false unchanged Turns record locking on or off.
bash
anythink entities update orders --public false

entities delete

Deletes an entity and all its records.

bash
anythink entities delete <name> [options]
Name Type Default Meaning
<name> string required Entity name.
--yes flag off Skips the confirmation prompt.
bash
anythink entities delete temp_data --yes

fields

Manage the fields on an entity. See Field types reference and Model your data: entities, fields, relations.

fields list

Lists the fields on an entity.

bash
anythink fields list <entity>
Name Type Default Meaning
<entity> string required Entity name.
bash
anythink fields list customers

fields get

Shows one field's full definition, including relationship settings.

bash
anythink fields get <entity> <field>
Name Type Default Meaning
<entity> string required Entity name.
<field> string required Field name.
bash
anythink fields get artists members

fields add

Adds a field to an entity.

bash
anythink fields add <entity> <name> [options]
Name Type Default Meaning
<entity> string required Entity name.
<name> string required Field name, in snake_case.
--type <type> varchar, varchar array, text, integer, integer array, bigint, bigint array, decimal, decimal array, boolean, date, timestamp, jsonb, geo, file, user, one-to-one, one-to-many, many-to-one, many-to-many, dynamic-reference none Database type.
--display <display> input, textarea, rich-text, select, entity-select, radio, country-select, checkbox, short-date, long-date, timestamp, relationship, file, secret, user, jsonb, geo, dynamic-reference none How the field is shown in the Anythink dashboard.
--label <label> string none Human-readable label.
--description <text> string none Field description.
--default <value> string none Default value.
--name-field flag off Uses this field as the record's name.
--required flag off Marks the field as required.
--unique flag off Enforces a unique value.
--searchable flag off Includes the field in full-text search.
--public flag off Marks the field as public.
--indexed flag off Adds a database index.
--target <entity> string none Target entity for relationship fields.
--on-delete <action> CASCADE, SET NULL, SET DEFAULT, RESTRICT CASCADE What happens to this record when the target is deleted. SET_NULL and SET_DEFAULT are also accepted.
--options <list> comma-separated none Choices for a select field, such as Running,Cycling,Rugby. Use label=value to set the stored value separately.
--multiple flag off Allows several values on a select field.
bash
anythink fields add customers email --type varchar --unique --required

fields update

Changes the properties of an existing field.

bash
anythink fields update <entity> <field> [options]
Name Type Default Meaning
<entity> string required Entity name.
<field> string required Field name.
--label <label> string unchanged Human-readable label.
--description <text> string unchanged Field description.
--display <display> same values as fields add --display unchanged How the field is shown in the Anythink dashboard.
--default <value> string unchanged Default value.
--required, --no-required flag unchanged Sets or removes the required constraint.
--searchable, --no-searchable flag unchanged Turns full-text search on the field on or off.
--public, --no-public flag unchanged Sets or removes the public searchable flag.
--indexed, --no-indexed flag unchanged Adds or removes the database index.
--options <list> comma-separated unchanged Choices for a select field, as in fields add.
--multiple, --no-multiple flag unchanged Allows several values, or restricts the field to one.
bash
anythink fields update doc_page status --public --searchable

fields delete

Deletes a field from an entity.

bash
anythink fields delete <entity> <field> [options]
Name Type Default Meaning
<entity> string required Entity name.
<field> name or ID required Field to delete.
--yes flag off Skips the confirmation prompt.
bash
anythink fields delete customers 1234 --yes

workflows

Manage automation workflows and their steps. See Build your first workflow, How workflows work and Step types.

workflows get

Shows a workflow and its steps.

bash
anythink workflows get <id>
Name Type Default Meaning
<id> integer required Workflow ID.
bash
anythink workflows get 76

workflows jobs

Shows a workflow's job history.

bash
anythink workflows jobs <id>
Name Type Default Meaning
<id> integer required Workflow ID.
bash
anythink workflows jobs 31

workflows create

Creates a workflow.

bash
anythink workflows create <name> [options]
Name Type Default Meaning
<name> string required Workflow name.
--trigger <type> Manual, Timed, Event, Api Manual Trigger type.
--description <text> string none Workflow description.
--cron <expression> cron string none Schedule for a Timed trigger, such as 0 9 * * *.
--entity <entity> string none Entity name for an Event trigger.
--event <event> EntityCreated, EntityUpdated, EntityDeleted none Event type for an Event trigger.
--api-route <route> string none Custom API route for an Api trigger.
--filter <json> JSON string none Filter for an Event trigger. The workflow fires only when the record matches.
--filter-file <path> file path none Reads the filter JSON from a file.
--enabled flag off Switches the workflow on when it's created.
bash
anythink workflows create daily-sync --trigger Timed --cron "0 6 * * *" --enabled

See Triggers and scheduling.

workflows update

Changes a workflow's name or description.

bash
anythink workflows update <id> [options]
Name Type Default Meaning
<id> integer required Workflow ID.
--name <name> string unchanged New name.
--description <text> string unchanged New description.
bash
anythink workflows update 31 --name "Daily sync"

workflows trigger

Runs a workflow now.

bash
anythink workflows trigger <id> [options]
Name Type Default Meaning
<id> integer required Workflow ID.
--payload <json> JSON string none A JSON record to pass in. The workflow reads it as $anythink.trigger.data.
--entity <name> string none Entity for the trigger. Needed for workflows with a Manual trigger.
--entity-id <id> string none Record to associate with the trigger.
bash
anythink workflows trigger 76

workflows delete

Deletes a workflow.

bash
anythink workflows delete <id> [options]
Name Type Default Meaning
<id> integer required Workflow ID.
--yes flag off Skips the confirmation prompt.
bash
anythink workflows delete 31 --yes

workflows step-get

Shows a step and its parameters.

bash
anythink workflows step-get <workflow-id> <step-id>
Name Type Default Meaning
<workflow-id> integer required Workflow ID.
<step-id> integer required Step ID.
bash
anythink workflows step-get 31 8

workflows step-add

Adds a step to a workflow.

bash
anythink workflows step-add <workflow-id> <key> [options]
Name Type Default Meaning
<workflow-id> integer required Workflow ID.
<key> string required Step key, a unique identifier within the workflow.
--name <name> string the key Step display name.
--action <action> ReadData, CreateData, UpdateData, UpsertData, DeleteData, CallAnApi, RunScript, Condition, SendAnEmail, SendACommand, SendPushNotification, FileHandler, Integration none Step type. For Integration, use integration-add.
--params <json> JSON string none Step parameters.
--start flag off Makes this the start step.
--enabled flag off Switches the step on straight away.
bash
anythink workflows step-add 31 parse_response --action RunScript --params "{\"script\":\"return {}\"}"

workflows step-update

Changes a step's parameters or properties.

bash
anythink workflows step-update <workflow-id> <step-id> [options]
Name Type Default Meaning
<workflow-id> integer required Workflow ID.
<step-id> integer required Step ID.
--params <json> JSON string unchanged Step parameters.
--name <name> string unchanged Step name.
--enabled flag unchanged Switches the step on.
bash
anythink workflows step-update 31 8 --params "{\"entity\":\"orders\"}"

Sets which step runs next on success or failure.

bash
anythink workflows step-link <workflow-id> <step-id> [options]
Name Type Default Meaning
<workflow-id> integer required Workflow ID.
<step-id> integer required Step to update.
--on-success <step-id> integer unchanged Step to run on success.
--on-failure <step-id> integer unchanged Step to run on failure.
bash
anythink workflows step-link 31 8 --on-success 9

workflows step-delete

Deletes a step. It warns you if other steps link to it.

bash
anythink workflows step-delete <workflow-id> <step-id> [options]
Name Type Default Meaning
<workflow-id> integer required Workflow ID.
<step-id> integer required Step to delete.
-y, --yes flag off Skips the confirmation prompt.
bash
anythink workflows step-delete 31 8 --yes

workflows seed

Creates a workflow and its steps from a JSON file.

bash
anythink workflows seed <file> [options]
Name Type Default Meaning
<file> file path required Workflow JSON file. Produce one with workflows export.
--var <KEY=VALUE> string, repeatable none Fills {{KEY}} placeholders in the JSON.
--enabled flag off Switches the workflow on, whatever the file says.
bash
anythink workflows seed workflow.json --var connection_id=abc-123

workflows export

Writes a workflow to JSON that workflows seed can read back.

bash
anythink workflows export <id> [options]
Name Type Default Meaning
<id> integer required Workflow ID.
-o, --output <file> file path standard output Writes to a file instead.
bash
anythink workflows export 31 --output workflow.json

workflows file-handler-add

Adds a FileHandler step from named flags, with no parameters JSON to write.

bash
anythink workflows file-handler-add <workflow-id> <key> [options]
Name Type Default Meaning
<workflow-id> integer required Workflow ID.
<key> string required Step key, in snake_case.
--operation <op> fetch_and_link, link_existing, detach none FileHandler operation.
--source-url <url> string, templatable none URL to fetch the file from. Needed for fetch_and_link.
--file-name <name> string, templatable none File name to store the upload as.
--entity <name> string required Target entity.
--record-id <template> string, templatable required Target record ID, usually {{ $anythink.trigger.id }}.
--field <name> string required Field on the record to link the file to, in snake_case.
--folder-id <template> string, templatable none Folder to upload the file into.
--is-public flag off Makes the uploaded file public.
--link-mode <mode> set, add set set stores a single value. add appends to a multi-value field.
--existing-file-id <template> string, templatable none Existing file ID. Needed for link_existing.
--overwrite-if-present flag off Processes the file again even if the field already has a value.
--name <name> string the key Step display name.
--start flag off Makes this the start step.
--enabled flag off Switches the step on straight away.
--on-success <step-id> integer none Step to run on success.
--on-failure <step-id> integer none Step to run on failure.
bash
anythink workflows file-handler-add 31 fetch_photo --operation fetch_and_link --source-url "{{ $anythink.steps.fetch_detail.data.images[0].uri }}" --entity artists --record-id "{{ $anythink.trigger.id }}" --field primary_image --is-public --enabled

workflows file-handler-example

Prints FileHandler parameters you can copy.

bash
anythink workflows file-handler-example
bash
anythink workflows file-handler-example

workflows integration-add

Adds an Integration step (Claude, OpenAI, Slack and others) from named flags.

bash
anythink workflows integration-add <workflow-id> <key> [options]
Name Type Default Meaning
<workflow-id> integer required Workflow ID.
<key> string required Step key, in snake_case.
--provider <provider> string, such as claude, openai, slack required Integration provider key.
--operation <op> string required Operation key. See integrations get <provider>.
--credential-source <source> system, current_user, connection, entity_field system Where the credentials come from.
--connection-id <id> string, templatable none Connection ID. Needed when the source is connection.
--credential-field <template> string none Credential field path. Needed when the source is entity_field.
--input <KEY=VALUE> string, repeatable none Operation input. Values can use {{templating}}.
--inputs <json> JSON string none Operation inputs as a JSON object, merged with any --input flags.
--model <model> string none Shortcut for the model input on AI providers.
--name <name> string the key Step display name.
--start flag off Makes this the start step.
--enabled flag off Switches the step on straight away.
--on-success <step-id> integer none Step to run on success.
--on-failure <step-id> integer none Step to run on failure.
bash
anythink workflows integration-add 154 analyse_ai --provider claude --operation generate-text --credential-source system --input "prompt={{ $anythink.steps.guard.data[0].prompt }}" --on-success 381 --enabled

data

Create, read, update and delete records. See Records, views and CSV import and Filter operators reference.

data list

Lists records in an entity.

bash
anythink data list <entity> [options]
Name Type Default Meaning
<entity> string required Entity name.
--page <n> integer 1 Page number.
--limit <n> integer 20 Records per page.
--filter <filter> JSON object or field=value pairs none Field filters, such as {"status":"draft","price":{"gte":10}} or status=draft&price=GTE:10.
--json flag off Prints raw JSON instead of a table.
--all flag off Streams every page to standard output as one JSON object per page. Needs --json.
bash
anythink data list blog_posts --limit 10

data get

Gets one record by ID.

bash
anythink data get <entity> <id>
Name Type Default Meaning
<entity> string required Entity name.
<id> integer required Record ID.
bash
anythink data get blog_posts 42

data create

Creates a record.

bash
anythink data create <entity> --data <json>
Name Type Default Meaning
<entity> string required Entity name.
--data <json> JSON object required Field values, such as {"name":"Alice","age":30}.
bash
anythink data create blog_posts --data '{"title":"Hello World"}'

data update

Updates a record.

bash
anythink data update <entity> <id> --data <json>
Name Type Default Meaning
<entity> string required Entity name.
<id> integer required Record ID.
--data <json> JSON object required The fields to change.
bash
anythink data update blog_posts 42 --data '{"status":"approved"}'

data delete

Deletes a record.

bash
anythink data delete <entity> <id> [options]
Name Type Default Meaning
<entity> string required Entity name.
<id> integer required Record ID.
-y, --yes flag off Skips the confirmation prompt.
bash
anythink data delete blog_posts 42 --yes

data rls

Shows, or sets, which users can access a record under row-level security. See Groups and row-level security.

bash
anythink data rls <entity> <id> [options]
Name Type Default Meaning
<entity> string required Entity name.
<id> integer required Record ID.
--user <id> integer none User to grant access to. Without it, the command lists who has access.
--readonly flag off Grants read-only access instead of full access.
bash
anythink data rls completed_workouts 3 --user 72

Full-text search and index management. See Search records across your entities.

search query

Runs a search.

bash
anythink search query <text> [options]
Name Type Default Meaning
<text> string required Search text. Use * to browse everything.
--entities <list> comma-separated all indexed entities Entities to search.
--filter <expression> string none Filter, such as status=published AND category=news. Supports _geoRadius and _geoBoundingBox.
--sort <list> comma-separated none Sort fields, such as created_at:desc,id:asc.
--facet <fields> comma-separated none Fields to count facets on.
--highlight flag off Highlights matched terms.
--page <n> integer 1 Page number.
--limit <n> integer, 1 to 100 20 Results per page.
--public flag off Uses the public search endpoint, which returns only fields marked public.
--json flag off Prints the raw response.
bash
anythink search query "*" --entities posts,users --filter "status=published"

search similar

Finds records similar to one record, using vector search.

bash
anythink search similar <entity> <id> [options]
Name Type Default Meaning
<entity> string required Entity name.
<id> integer required Source record ID.
--limit <n> integer 10 Maximum results.
--public flag off Uses the public endpoint, which returns only fields marked public.
--json flag off Prints raw JSON.
bash
anythink search similar posts 42

search rehydrate

Rebuilds the search index for an entity, or for everything. Admin only.

bash
anythink search rehydrate [entity] [options]
Name Type Default Meaning
[entity] string the whole index Entity to rebuild.
-y, --yes flag off Skips the confirmation prompt.
bash
anythink search rehydrate posts

search purge

Empties the search index for an entity, or for everything. Admin only.

bash
anythink search purge [entity] [options]
Name Type Default Meaning
[entity] string the whole index Entity to empty.
-y, --yes flag off Skips the confirmation prompt.
bash
anythink search purge posts --yes

search audit

Compares the fields marked public with what public search returns, and flags any extra fields.

bash
anythink search audit <entity> [options]
Name Type Default Meaning
<entity> string required Entity to audit.
--query <text> string * Search text to use for the audit.
--sample <n> integer 5 How many records to inspect.
--json flag off Prints the audit result as JSON.
bash
anythink search audit posts --sample 10

users

Manage the users in the project. See Manage app users and team members.

users list

Lists all users.

bash
anythink users list
bash
anythink users list

users me

Shows the signed-in user.

bash
anythink users me
bash
anythink users me

users get

Gets a user by ID.

bash
anythink users get <id>
Name Type Default Meaning
<id> integer required User ID.
bash
anythink users get 42

users invite

Creates a user and sends them an invitation email.

bash
anythink users invite <email> <first-name> <last-name> [options]
Name Type Default Meaning
<email> string required Email address.
<first-name> string required First name.
<last-name> string required Last name.
--role-id <id> integer none Role to assign.
bash
anythink users invite alice@example.com Alice Smith --role-id 3

users delete

Deletes a user.

bash
anythink users delete <id> [options]
Name Type Default Meaning
<id> integer required User ID.
--yes flag off Skips the confirmation prompt.
bash
anythink users delete 42 --yes

files

Manage uploaded files. See Upload and manage files.

files list

Lists uploaded files.

bash
anythink files list [options]
Option Type Default Meaning
--page <n> integer 1 Page number.
--limit <n> integer 25 Items per page.
bash
anythink files list --page 1 --limit 50

files get

Shows a file's metadata.

bash
anythink files get <id>
Name Type Default Meaning
<id> integer required File ID.
bash
anythink files get 12

files upload

Uploads a file.

bash
anythink files upload <path> [options]
Name Type Default Meaning
<path> file path required File to upload.
--public flag off Makes the file publicly readable.
bash
anythink files upload logo.png --public

files delete

Deletes a file.

bash
anythink files delete <id> [options]
Name Type Default Meaning
<id> integer required File ID.
--yes flag off Skips the confirmation prompt.
bash
anythink files delete 12 --yes

roles

Manage roles and their entity permissions. See Roles and permissions.

roles list

Lists all roles.

bash
anythink roles list
bash
anythink roles list

roles create

Creates a role.

bash
anythink roles create <name> [options]
Name Type Default Meaning
<name> string required Role name.
--description <text> string none Role description.
bash
anythink roles create editor --description "Can edit content"

roles delete

Deletes a role.

bash
anythink roles delete <id> [options]
Name Type Default Meaning
<id> integer required Role ID.
-y, --yes flag off Skips the confirmation prompt.
bash
anythink roles delete 5 --yes

roles permissions list

Lists a role's entity permissions.

bash
anythink roles permissions list <role-id>
Name Type Default Meaning
<role-id> integer required Role ID.
bash
anythink roles permissions list 239

roles permissions add

Adds entity permissions to a role. You can also grant role permissions in the Anythink dashboard under Roles.

bash
anythink roles permissions add <role-id> <entity> [options]
Name Type Default Meaning
<role-id> integer required Role ID.
<entity> string required Entity name.
--actions <list> comma-separated from read, create, update, delete read Actions to grant.
bash
anythink roles permissions add 239 badges --actions read,create

roles permissions remove

Removes entity permissions from a role. You can also change role permissions in the Anythink dashboard under Roles.

bash
anythink roles permissions remove <role-id> <entity> [options]
Name Type Default Meaning
<role-id> integer required Role ID.
<entity> string required Entity name.
--actions <list> comma-separated from read, create, update, delete read Actions to remove.
-y, --yes flag off Skips the confirmation prompt.
bash
anythink roles permissions remove 239 badges --actions create --yes

Manage the menus in the Anythink dashboard. See Menu configuration.

Lists all menus and their items.

bash
anythink menus list
bash
anythink menus list

Adds a menu item for an entity.

bash
anythink menus add-item <menu-id> <entity> [options]
Name Type Default Meaning
<menu-id> integer required Menu to add the item to.
<entity> string required Entity name. It sets the item's link and default display name.
--icon <icon> Lucide icon name, such as MessageCircle Database Icon for the item.
--name <name> string the entity name, title-cased Display name.
--parent <id> integer none Parent menu item, for a nested item.
bash
anythink menus add-item 250 badges --icon Award --parent 168

pay

Manage Anythink Pay: the Stripe Connect account, payments and payment methods. See Sell a subscription in 15 minutes.

pay status

Shows the Stripe Connect account status.

bash
anythink pay status
bash
anythink pay status

pay connect

Creates a Stripe Connect account and starts onboarding.

bash
anythink pay connect
bash
anythink pay connect

pay payments

Lists recent payments.

bash
anythink pay payments [options]
Option Type Default Meaning
--page <n> integer 1 Page number.
--limit <n> integer 25 Items per page.
bash
anythink pay payments --page 1 --limit 50

pay methods

Lists saved payment methods.

bash
anythink pay methods
bash
anythink pay methods

api-keys

Manage API keys for scripts, CI and integrations. See API keys.

api-keys list

Lists your API keys.

bash
anythink api-keys list
bash
anythink api-keys list

api-keys create

Creates an API key. The key is shown once and can't be retrieved later.

bash
anythink api-keys create <name> --permissions <list> [options]
Name Type Default Meaning
<name> string required Name for the key, such as github-actions.
--permissions <list> comma-separated permission names required Permissions to give the key, such as data:read,data:create.
--expires-in <days> integer 90 Days until the key expires. The maximum is 365 unless you add --no-expiry-cap.
--no-expiry-cap flag off Allows --expires-in above 365 days.
--save-as <profile> profile name none Saves the key straight into a CLI profile instead of printing it.
--json flag off Prints the response as JSON, including the key.
-y, --yes flag off Skips the confirmation prompt.
bash
anythink api-keys create scraper --permissions data:read --save-as scraper-bot

api-keys revoke

Revokes an API key.

bash
anythink api-keys revoke <id> [options]
Name Type Default Meaning
<id> integer required API key ID.
-y, --yes flag off Skips the confirmation prompt.
bash
anythink api-keys revoke 42 --yes

integrations

Browse providers and manage connections. See Post to Slack when a record is created and Integration providers and operations.

integrations list

Lists the available providers.

bash
anythink integrations list
bash
anythink integrations list

integrations get

Shows a provider's details and operations.

bash
anythink integrations get <provider>
Name Type Default Meaning
<provider> string, such as claude, slack, hubspot required Provider key.
bash
anythink integrations get claude

integrations connections list

Lists your connections.

bash
anythink integrations connections list [options]
Option Type Default Meaning
--provider <provider> string all providers Shows only this provider's connections.
bash
anythink integrations connections list --provider claude

integrations connect

Connects to a provider with an API key.

bash
anythink integrations connect <provider> [options]
Name Type Default Meaning
<provider> string, such as claude, openai required Provider key.
--api-key <key> string prompted (hidden) API key for the provider.
--name <name> string <provider> connection Friendly name for the connection.
--user-connection flag off Makes the connection visible only to you. By default it's shared across the project.
bash
anythink integrations connect claude --name main

integrations oauth status

Shows whether the OAuth client for a provider is set up.

bash
anythink integrations oauth status <provider>
Name Type Default Meaning
<provider> string, such as slack, google, github required Provider key.
bash
anythink integrations oauth status slack

integrations oauth callback-url

Prints the redirect address to register in OAuth apps. It's the same for every provider.

bash
anythink integrations oauth callback-url
bash
anythink integrations oauth callback-url

integrations oauth configure

Saves the OAuth client ID and secret for a provider.

bash
anythink integrations oauth configure <provider> [options]
Name Type Default Meaning
<provider> string required Provider key.
--client-id <id> string prompted OAuth client ID.
--client-secret <secret> string prompted (hidden) OAuth client secret.
--use-social-sign-in flag off Also offers the provider as a social sign-in option for your users.
--disable flag off Saves the credentials but marks the provider disabled.
bash
anythink integrations oauth configure slack

integrations oauth connect

Connects to a provider through your browser.

bash
anythink integrations oauth connect <provider> [options]
Name Type Default Meaning
<provider> string required Provider key.
--name <name> string <provider> connection Friendly name for the connection.
--user-connection flag off Makes the connection visible only to you. By default it's shared across the project.
--port <port> integer 8745 Local port that receives the OAuth callback.
--no-open flag off Prints the address instead of opening your browser.
--timeout <seconds> integer 300 Seconds to wait for the callback before giving up.
bash
anythink integrations oauth connect slack --name main

integrations test

Tests a connection.

bash
anythink integrations test <connection-id>
Name Type Default Meaning
<connection-id> string required Connection ID.
bash
anythink integrations test 3f2a9c10-0000-0000-0000-000000000000

integrations enable

Turns a connection on.

bash
anythink integrations enable <connection-id>
Name Type Default Meaning
<connection-id> string required Connection ID.
bash
anythink integrations enable 3f2a9c10-0000-0000-0000-000000000000

integrations disable

Turns a connection off.

bash
anythink integrations disable <connection-id>
Name Type Default Meaning
<connection-id> string required Connection ID.
bash
anythink integrations disable 3f2a9c10-0000-0000-0000-000000000000

integrations disconnect

Deletes a connection.

bash
anythink integrations disconnect <connection-id> [options]
Name Type Default Meaning
<connection-id> string required Connection ID.
-y, --yes flag off Skips the confirmation prompt.
bash
anythink integrations disconnect 3f2a9c10-0000-0000-0000-000000000000 --yes

integrations execute

Runs an operation on a connected provider.

bash
anythink integrations execute <provider> <operation> [options]
Name Type Default Meaning
<provider> string required Provider key.
<operation> string required Operation key. See integrations get <provider>.
--input <KEY=VALUE> string, repeatable none An input parameter.
--inputs <json> JSON object none Inputs as JSON, such as {"prompt":"hello"}.
--json flag off Prints the full JSON response. By default it prints just the content text, if there is any.
bash
anythink integrations execute claude generate-text --input "prompt=Tell me a haiku"

secrets

Manage project secrets. Values are encrypted and never shown. See Store API keys and tokens as secrets.

secrets list

Lists secret names. Values are never shown.

bash
anythink secrets list
bash
anythink secrets list

secrets create

Stores a new secret.

bash
anythink secrets create <key> [options]
Name Type Default Meaning
<key> string required Secret name, such as CLAUDE_API_KEY.
--value <value> string prompted (hidden) Secret value, for scripts.
bash
anythink secrets create CLAUDE_API_KEY

secrets update

Replaces an existing secret's value.

bash
anythink secrets update <key> [options]
Name Type Default Meaning
<key> string required Secret name.
--value <value> string prompted (hidden) New value, for scripts.
bash
anythink secrets update CLAUDE_API_KEY

secrets delete

Deletes a secret.

bash
anythink secrets delete <key> [options]
Name Type Default Meaning
<key> string required Secret name.
--yes flag off Skips the confirmation prompt.
bash
anythink secrets delete CLAUDE_API_KEY --yes

oauth

Manage OAuth and social sign-in providers for your project's users. See Social sign-in with Apple, Google, GitHub and LinkedIn.

oauth google status

Shows whether Google sign-in is configured.

bash
anythink oauth google status
bash
anythink oauth google status

oauth google configure

Sets the Google OAuth client ID and secret. It prompts for each value, and the secret is hidden as you type. You get both from Google Cloud Console under APIs & Services, then Credentials.

bash
anythink oauth google configure

This command takes no flags.

bash
anythink oauth google configure

Next steps