Skip to Content
CLI ReferenceGenerated Command Reference

Generated Command Reference

Every command the CLI emits from the contract, with the flags each one takes.

This is the exhaustive list. The Command Reference beside it is the one to read first: it carries the worked examples, the flows that take more than one command, and the explanations a table cannot hold. This page exists so that the exhaustive list is never the thing that falls behind: it is emitted from the same declarations the commands themselves are emitted from.

A flag marked required must be passed. A flag typed json takes a JSON value: quote it for your shell.

foir agents

foir agents connect-mcp-server

Begin connecting the caller’s own account to an agent’s MCP server.

FlagType
--agentstringrequired
--serverstringrequired
--return-urlstringrequired

foir agents create

Create an agent. It is a draft until a release publishes it.

FlagType
--agentjson

foir agents create-attachment-upload

Make an upload address for an image or PDF to send an agent with a message.

FlagType
--agentstringrequired
--filenamestringrequired
--media-typestringrequired
--sizenumberrequired
--visitor-tokenstringrequired

foir agents delete

Delete an agent. A released one keeps running until a release carries the deletion.

FlagType
--idstringrequired

foir agents delete-mcp-connection

Remove a connected account. The agent cannot reach it from the next call.

FlagType
--idstringrequired

foir agents delete-thread

Delete one of the caller’s own threads.

FlagType
--idstringrequired
--visitor-tokenstringrequired

foir agents discard-draft

Throw away an agent’s unreleased changes, so it is again what production runs.

FlagType
--idstringrequired

foir agents discard-project-brief-draft

Throw away the project brief’s unreleased changes, so it is again what agents are given.

Takes no flags.

foir agents discover-mcp-tools

List the tools a remote MCP server offers, to choose which an agent may use.

FlagType
--urlstringrequired
--credentialstringrequired; one of MCP_CREDENTIAL_KIND_UNSPECIFIED, MCP_CREDENTIAL_KIND_NONE, MCP_CREDENTIAL_KIND_PROJECT, MCP_CREDENTIAL_KIND_PER_USER
--secret-refstringrequired

foir agents get

Fetch an agent by id or key.

FlagType
--idstringrequired
--keystringrequired

foir agents get-assistant-allowance

Read the workspace’s included Ask Fóir requests this month, and whether it carries on with credits.

Takes no flags.

foir agents get-choices

List the Fóir verbs an agent may be given, to choose an agent’s tools.

Takes no flags.

foir agents get-project-brief

Read the project brief: the house rules every agent working in the project is given.

Takes no flags.

foir agents get-thread

Fetch one of the caller’s own threads with its messages.

FlagType
--idstringrequired
--after-seqnumberrequired
--visitor-tokenstringrequired

foir agents list

List the project’s agents.

Takes no flags.

foir agents list-project-mcp-connections

List every person’s connected account to the project’s agents’ MCP servers. A person lists their own as me.

FlagType
--agentstringrequired
--user-idstringrequired
--afterstring
--firstnumber

foir agents list-provider-models

List the models a provider offers the project’s own key, to choose an agent’s model.

FlagType
--providerstringrequired; one of MODEL_PROVIDER_UNSPECIFIED, MODEL_PROVIDER_ANTHROPIC, MODEL_PROVIDER_OPENAI
--secret-refstringrequired

foir agents list-threads

List the caller’s own threads with agents.

FlagType
--agentstringrequired
--afterstring
--firstnumber
--visitor-tokenstringrequired

foir agents rename-thread

Rename one of the caller’s own threads.

FlagType
--idstringrequired
--titlestringrequired
--visitor-tokenstringrequired

foir agents set-assistant-continuation

Let Ask Fóir carry on with AI credits once the included requests are spent, up to a monthly ceiling, or stop it.

FlagType
--continue-on-creditsbooleanrequired
--continuation-cap-micronumberrequired

foir agents unpublish

Withdraw an agent from production now, as a release that can be rolled back: nobody starts it from then on. It stays withdrawn until a release names it.

FlagType
--idstringrequired

foir agents unpublish-project-brief

Withdraw the project brief from what agents are given now, as a release that can be rolled back. It stays withdrawn until a release names it.

Takes no flags.

foir agents update

Change an agent. The change is a draft until a release publishes it.

FlagType
--idstringrequired
--agentjson

foir agents update-project-brief

Change the project brief. The change is a draft until a release publishes it.

FlagType
--textstringrequired
--model-rulesjsonrepeatable

foir app-auth

foir app-auth issue-exchange-ticket

Issue a single-use ticket an installed app exchanges for a session.

FlagType
--app-namestringrequired

foir app-auth redeem-exchange-ticket

Exchange a single-use ticket for an app session.

FlagType
--ticketstringrequired

foir app-installation

foir app-installation complete-app-install

Runs the __validate_credentials probe (when the app’s manifest declares it), then writes one vault row per credential field.

FlagType
--app-namestringrequired
--valuesjson

foir app-installation get-app-credential-struct

Lists every app-owned vault row for the given app, decrypts each, and returns a struct keyed by field name (the vault row’s label).

FlagType
--app-namestringrequired

foir app-installation rotate-app-credential

Rotates a single named field.

FlagType
--app-namestringrequired
--field-namestringrequired
--plaintextstringrequired
--idempotency-keystringrequired

foir app-status

foir app-status get-app-status

Fetch an app status by id.

FlagType
--app-namestringrequired

foir app-status list-app-events

List app events.

FlagType
--app-namestringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber
--wherejson

foir app-status upsert-app-status

Create an app status, or update it when one with the same key exists.

FlagType
--statusjson

foir apps

foir apps confirm-install

Confirm an app installation that is waiting on a person to authorise it.

FlagType
--install-ticketstringrequired
--source-mappingsjsonrepeatable
--sink-mappingsjsonrepeatable
--settingsjson
--placement-field-choicesjsonrepeatable
--update-push-snapshotbooleanrequired
--user-sign-instringrequired

foir apps confirm-update

Apply an app update that was reviewed, accepting what the app gains.

FlagType
--idstringone of ref
--namestringone of ref
--new-manifest-hashstringrequired
--forcebooleanrequired
--user-sign-instring
--accept-gainsstringrequired

foir apps discard-draft

Throw away an install’s unpublished settings and mappings, so it is again what production is served.

FlagType
--idstringone of ref
--namestringone of ref

foir apps discard-placement-draft

Throw away a placement’s unpublished changes, so it is again what production is served.

FlagType
--idstringrequired

foir apps get

Fetch an app by id.

FlagType
--idstringone of ref
--namestringone of ref

foir apps get-console-settings

Read the settings an app’s console may change.

Takes no flags.

foir apps get-install-ticket

Read an app install’s ticket: how far the install has got, and whether you may confirm it.

FlagType
--idstringrequired

foir apps install

Start installing an app: fetch and check its manifest, and issue the ticket a person confirms.

FlagType
--manifest-urlstringrequired

foir apps list

List apps.

FlagType
--firstnumber
--afterstring
--lastnumber
--beforestring
--wherejson
--every-levelbooleanrequired

foir apps list-placements

List placements.

FlagType
--wherejson
--firstnumber
--afterstring
--lastnumber
--beforestring
--modelstring

foir apps mint-placement-token

Issue the short-lived token an app’s full-page placement acts with, for the user viewing it.

FlagType
--app-namestringrequired
--placement-idstringone of placement
--placement-keystringone of placement

foir apps preview-update

Review an app update: what it changes, what may stop working, and what the app gains. Nothing is applied.

FlagType
--idstringone of ref
--namestringone of ref
--user-sign-instring

foir apps set-console-settings

Change the settings an app’s console may change.

FlagType
--settingsjson

foir apps set-enabled

Hold an installed app quiet, or let it run again.

FlagType
--namestringrequired
--enabledboolean
--reasonstring

foir apps set-mapping

Set an app mapping.

FlagType
--namestringrequired
--source-mappingsjsonrepeatable
--sink-mappingsjsonrepeatable
--placement-field-choicesjsonrepeatable
--update-push-snapshotbooleanrequired
--snapshot-onlybooleanrequired
--user-sign-instring

foir apps set-settings

Replace an installed app’s settings.

FlagType
--namestringrequired
--settingsjson

foir apps uninstall

Uninstall an app: its credentials are revoked and what it declared is removed. force skips the app’s own uninstall call.

FlagType
--idstringone of ref
--namestringone of ref
--forcebooleanrequired

foir apps unpublish

Withdraw an install’s settings and mappings from what production is served now, as a release that can be rolled back. They stay withdrawn until a release names them.

FlagType
--idstringone of ref
--namestringone of ref

foir apps unpublish-placement

Withdraw a placement from what production is served now, as a release that can be rolled back. It stays withdrawn until a release names it.

FlagType
--idstringrequired

foir apps validate-manifest

Validate an app manifest against the platform’s rules, as a dry run.

FlagType
--manifest-urlstringone of source
--manifest-jsonstringone of source

foir billing

foir billing assign-custom-package

Assign a custom package.

FlagType
--package-idstringrequired

foir billing assign-plan

Assign a plan.

FlagType
--plan-slugstringrequired
--plan-idstringrequired

foir billing change-plan

Move the workspace to another plan.

FlagType
--plan-slugstringrequired
--billing-intervalstringrequired; one of BILLING_INTERVAL_UNSPECIFIED, BILLING_INTERVAL_MONTH, BILLING_INTERVAL_YEAR
--accept-caps-narrowedbooleanrequired
--prorated-atjson
--custom-package-idstringrequired

foir billing clear-project-limit

Clear a project limit.

FlagType
--metricstringrequired

foir billing create-checkout-session

Open a checkout for a catalogue plan or the workspace’s own package.

FlagType
--plan-slugstringrequired
--success-urlstringrequired
--cancel-urlstringrequired
--billing-intervalstringrequired; one of BILLING_INTERVAL_UNSPECIFIED, BILLING_INTERVAL_MONTH, BILLING_INTERVAL_YEAR
--packagejson

foir billing create-custom-package

Create a custom package.

FlagType
--inputjson
--idempotency-keystringrequired

foir billing create-plan

Create a billing plan.

FlagType
--slugstringrequired
--namestringrequired
--descriptionstring
--price-centsnumberrequired
--billing-intervalstringrequired; one of BILLING_INTERVAL_UNSPECIFIED, BILLING_INTERVAL_MONTH, BILLING_INTERVAL_YEAR
--currencystring
--is-activebooleanrequired
--sort-ordernumberrequired
--annual-price-centsnumber
--trialjson
--takes-no-cardbooleanrequired
--is-default-offerbooleanrequired
--is-lapse-landingbooleanrequired
--history-daysnumber
--ai-credits-daily-capnumber
--limitsjsonrepeatable
--entitlementsjsonrepeatable
--stripe-product-idstring
--stripe-price-idstring

foir billing create-portal-session

Create a billing portal session.

FlagType
--return-urlstringrequired

foir billing create-top-up-checkout-session

Buy a pack of AI credits: open a checkout for it.

FlagType
--idstringrequired
--success-urlstringrequired
--cancel-urlstringrequired

foir billing create-workspace-checkout-session

Take card details for founding a workspace.

FlagType
--namestringrequired
--project-namestring
--plan-slugstringrequired
--billing-intervalstringrequired; one of BILLING_INTERVAL_UNSPECIFIED, BILLING_INTERVAL_MONTH, BILLING_INTERVAL_YEAR
--success-urlstringrequired
--cancel-urlstringrequired

foir billing delete-custom-package

Delete a custom package.

FlagType
--idstringrequired

foir billing delete-feature-rollout-rule

Delete a feature rollout rule.

FlagType
--feature-keystringrequired

foir billing dismiss-usage-alert

Dismiss a usage alert.

FlagType
--idstringrequired

foir billing get-ai-credit-platform-stats

Report platform-wide AI credit spend and balances.

FlagType
--window-daysnumberrequired

foir billing get-ai-credit-spend-breakdown

Fetch an AI credit spend breakdown by id.

Takes no flags.

foir billing get-organization-allowance

The plan’s organisation allowance: the live count, the cap, whether the workspace is over it, and the organisations it holds suspended.

Takes no flags.

foir billing get-plan

Fetch a billing plan by its id or its slug.

FlagType
--idstringone of ref
--slugstringone of ref

foir billing get-plan-offer

Fetch the plan a buyer is offered, by its slug or the default.

FlagType
--plan-slugstring

foir billing get-project-usage

Fetch project usage.

Takes no flags.

foir billing get-subscription

Fetch a subscription by id.

Takes no flags.

foir billing get-tenant-cohorts

Fetch the tenant cohorts.

Takes no flags.

foir billing get-usage-history

Fetch usage history.

FlagType
--fromjson
--tojson

foir billing get-usage-summary

Fetch a usage summary by id.

Takes no flags.

foir billing list-ai-credit-spend-by-tenant

List AI credit spend by tenants.

FlagType
--window-daysnumberrequired
--afterstring
--beforestring
--firstnumber
--lastnumber

foir billing list-ai-top-up-packs

List the AI credit top-up packs on sale.

Takes no flags.

foir billing list-custom-packages

List custom packages.

FlagType
--firstnumber
--afterstring
--lastnumber
--beforestring
--wherejson

foir billing list-feature-rollout-rules

List feature rollout rules.

Takes no flags.

foir billing list-features

List features.

Takes no flags.

foir billing list-known-cohorts

List known cohorts.

Takes no flags.

foir billing list-plan-offers

List the plans a buyer can take up online, in the catalogue’s order.

Takes no flags.

foir billing list-plans

List billing plans.

FlagType
--wherejson
--firstnumber
--afterstring
--lastnumber
--beforestring

foir billing list-project-limits

List project limits.

Takes no flags.

foir billing list-project-usage

Report usage for many projects in one call.

FlagType
--project-idsstringrepeatable
--firstnumber
--afterstring
--lastnumber
--beforestring

foir billing list-stripe-products

List Stripe products.

FlagType
--firstnumber
--afterstring
--lastnumber
--beforestring

foir billing list-usage-alerts

List usage alerts.

FlagType
--firstnumber
--afterstring
--lastnumber
--beforestring
--wherejson

foir billing preview-plan-change

Say what moving the workspace to another plan would do, before it is done.

FlagType
--plan-slugstringrequired
--billing-intervalstringrequired; one of BILLING_INTERVAL_UNSPECIFIED, BILLING_INTERVAL_MONTH, BILLING_INTERVAL_YEAR
--custom-package-idstringrequired

foir billing set-feature-rollout-rule

Set a feature rollout rule.

FlagType
--feature-keystringrequired
--percentagenumberrequired
--cohortsstringrepeatable
--reasonstringrequired

foir billing set-project-limit

Set a project limit.

FlagType
--metricstringrequired
--valuenumberrequired

foir billing set-tenant-ai-credits-enabled

Set a tenant AI credits enabled.

FlagType
--enabledbooleanrequired

foir billing set-tenant-cohorts

Set the tenant cohorts.

FlagType
--cohortsstringrepeatable
--reasonstringrequired

foir billing update-custom-package

Update a custom package.

FlagType
--idstringrequired
--inputjson

foir billing update-plan

Update a billing plan.

FlagType
--idstringrequired
--slugstring
--namestring
--descriptionstring
--price-centsnumber
--billing-intervalstringone of BILLING_INTERVAL_UNSPECIFIED, BILLING_INTERVAL_MONTH, BILLING_INTERVAL_YEAR
--currencystring
--is-activeboolean
--sort-ordernumber
--annual-price-centsnumber
--trialjson
--takes-no-cardboolean
--is-default-offerboolean
--is-lapse-landingboolean
--history-daysnumber
--ai-credits-daily-capnumber
--limitsjsonrepeatable
--entitlementsjsonrepeatable
--stripe-product-idstring
--stripe-price-idstring

foir configs

foir configs apply-bundle

Store a manifest, resolve its plan against the project on the server, and apply it.

FlagType
--config-idstringone of config
--config-keystringone of config
--config-datajson
--optionsjson
--validate-onlybooleanrequired

foir configs apply-record-migration

Answer one held field’s decision from outside a push.

FlagType
--migrationjson

foir configs create

Create a config.

FlagType
--keystringrequired
--config-typestringrequired
--directionstringrequired; one of CONFIG_DIRECTION_UNSPECIFIED, CONFIG_DIRECTION_READ, CONFIG_DIRECTION_WRITE, CONFIG_DIRECTION_BIDIRECTIONAL
--namestringrequired
--descriptionstring
--configjson
--enabledboolean

foir configs delete

Delete a config. Released definitions it declared stay in production until a release carries their deletion.

FlagType
--idstringrequired

foir configs discard-record-migration

Write off a FAILED migration that will not be resolved.

FlagType
--idstringrequired
--reasonstringrequired

foir configs get

Fetch a config by id or by its key.

FlagType
--idstringone of ref
--keystringone of ref

foir configs list

List configs.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir configs list-history

List config history.

FlagType
--config-idstringrequired
--afterstring
--firstnumber

foir configs list-record-migrations

List record migrations.

FlagType
--limitnumber

foir configs update

Update a config.

FlagType
--idstringrequired
--namestring
--descriptionstring
--configjson
--enabledboolean
--webhooksjson
--hooksjson

foir configs write-credential

Write a config credential.

FlagType
--config-idstringone of config
--config-keystringone of config
--valuestringrequired

foir docs

Search Fóir’s documentation and answer with the passages that match, each with the page it comes from.

FlagType
--querystringrequired
--limitnumberrequired

foir email

foir email delete-copy-override

Delete a copy override.

FlagType
--idstringrequired

foir email discard-copy-override-draft

Throw away a project’s unreleased changes to a copy override, so it is again what production sends.

FlagType
--idstringrequired

foir email get-copy-override

Fetch a copy override by id.

FlagType
--idstringrequired

foir email list-actions

List the emails Fóir sends, each with the copy an override where the request stands falls back to.

FlagType
--audiencestringone of EMAIL_AUDIENCE_UNSPECIFIED, EMAIL_AUDIENCE_PLATFORM, EMAIL_AUDIENCE_PROJECT
--localestringrequired

foir email list-copy-overrides

List the copy overrides kept where the request stands, or, for staff sending it to no workspace, Fóir’s own.

FlagType
--afterstring
--beforestring
--firstnumber
--lastnumber
--wherejson

foir email render-preview

Render an email template with sample data, without sending it.

FlagType
--action-keystringrequired
--localestringrequired
--heading-overridestring
--body-overridestring
--footer-overridestring
--subject-overridestring
--ctas-overridejsonrepeatable
--samplestringrequired; one of SAMPLE_PRESET_UNSPECIFIED, SAMPLE_PRESET_DEFAULT

foir email send-test

Send a test email through the sender of the project the request stands in, to prove its key and from address end to end.

FlagType
--tostringrequired
--idempotency-keystringrequired

foir email unpublish-copy-override

Withdraw a project’s copy override from what production sends now, as a release that can be rolled back, so its email falls back to the copy beneath it. It stays withdrawn until a release names it.

FlagType
--idstringrequired

foir email upsert-copy-override

Change a copy override, by id or by its action and locale where the request stands, making it when there is none.

FlagType
--idstringrequired
--action-keystringrequired
--localestringrequired
--headingstring
--bodystring
--footerstring
--subjectstring
--ctasjsonrepeatable

foir events

foir events list

Page the project’s event history forward by seq, or one model’s changes.

FlagType
--afternumberrequired
--limitnumberrequired
--eventsstringrepeatable
--record-model-keystringrequired
--record-model-idstringrequired

foir export

foir export start

Begins an export and streams its progress, then the bundle itself as chunks, ending with the report.

FlagType
--postgisbooleanrequired
--include-rawbooleanrequired
--formatstringrequired; one of EXPORT_FORMAT_UNSPECIFIED, EXPORT_FORMAT_BUNDLE
--include-credentialsbooleanrequired
--reauth-passwordstringrequired

foir hooks

foir hooks backfill

Replay recorded history to a hook that calls an operation, bounded by a start time and a delivery limit.

FlagType
--idstringrequired
--sincejson
--limitnumberrequired
--idempotency-keystringrequired

foir hooks create

Create a hook where the request stands: in a project or one of its organizations, or at the workspace. A project’s hook waits for a release; a workspace’s is served at once.

FlagType
--keystringrequired
--namestringrequired
--descriptionstring
--eventstringrequired
--target-typestringrequired
--operation-idstringone of operation
--operation-keystringone of operation
--filterjson
--config-idstring
--platform-effect-configjson
--is-activeboolean

foir hooks delete

Delete a hook. A released one stays in production until a release carries the deletion; a workspace’s goes now.

FlagType
--idstringrequired

foir hooks discard-draft

Throw away a project’s hook’s unpublished changes, so it is again what production is served.

FlagType
--idstringrequired

foir hooks get

Fetch a hook by id or by its key, where the request stands.

FlagType
--idstringone of ref
--keystringone of ref

foir hooks list

List the hooks where the request stands: a project’s, an organization’s, or the workspace’s own.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir hooks list-deliveries

List the deliveries of the hooks where the request stands.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir hooks retry-delivery

Retry a hook delivery.

FlagType
--idstringrequired
--idempotency-keystringrequired

foir hooks test

Send a test delivery to a hook.

FlagType
--idstringrequired
--test-payloadjson
--idempotency-keystringrequired

foir hooks unpublish

Withdraw a project’s hook from what production is served now, as a release that can be rolled back. It stays withdrawn until a release names it.

FlagType
--idstringrequired

foir hooks update

Update a hook.

FlagType
--idstringrequired
--namestring
--descriptionstring
--operation-idstringone of operation
--operation-keystringone of operation
--filterjson
--is-activeboolean
--platform-effect-configjson

foir identity

foir identity accept-invitation

Accept an invitation: stand at its place, made in its pool where nobody holds the address.

FlagType
--tokenstringrequired
--passwordstring
--first-namestring
--last-namestring

foir identity activate-tenant

Put the workspace the request stands in back in use: out of setup, out of a scheduled cancellation, or for staff out of a suspension.

Takes no flags.

foir identity add-my-address

Send a code to an email address the signed-in user is adding to their account, and answer the step the code is brought back to.

FlagType
--emailstringrequired
--passwordstring

foir identity add-organization-member

Add an organization member.

FlagType
--user-idstringrequired
--role-idstring

foir identity add-verified-domain

Add a domain to verify through a DNS TXT record.

FlagType
--domainstringrequired

foir identity approve-impersonation

Approve an impersonation.

FlagType
--idstringrequired
--codestringrequired

foir identity approve-join-request

Approve a request to join an organization: the person becomes a member, and is told.

FlagType
--idstringrequired
--role-idstring

foir identity approve-waitlist-entry

Approve a waitlist entry.

FlagType
--idstringrequired

foir identity assign-role

Assign a role.

FlagType
--principal-idstringrequired
--role-idstringrequired

foir identity begin-mfa-enrollment

Begin adding a second factor to the signed-in user’s account, and answer the step it is finished on.

FlagType
--methodstringrequired

foir identity bulk-apply-workspace-creation

Let every active account that has never held it found a workspace, as the installation default’s grant. An account whose grant was taken back stays without.

Takes no flags.

foir identity bulk-revoke-workspace-creation

Take back every grant to found a workspace that the installation default gave. Grants staff made and grants an approved request wrote stand.

Takes no flags.

foir identity check-verified-domain

Look for a domain’s TXT record now, and verify it when found.

FlagType
--idstringrequired

foir identity create-api-key

Create an API key.

FlagType
--namestringrequired
--key-typestringrequired; one of API_KEY_TYPE_UNSPECIFIED, API_KEY_TYPE_PUBLIC, API_KEY_TYPE_SECRET, API_KEY_TYPE_CONTROL, API_KEY_TYPE_PUBLISHABLE, API_KEY_TYPE_SERVER, API_KEY_TYPE_ADMIN
--expires-atjson
--allowed-modelsstringrepeatable
--allowed-file-typesstringrepeatable
--config-idstring
--grantsstringrepeatable
--baseline-grantsstringrepeatable
--levelstringrequired; one of API_KEY_LEVEL_UNSPECIFIED, API_KEY_LEVEL_PROJECT, API_KEY_LEVEL_WORKSPACE
--all-modelsbooleanrequired
--idempotency-keystringrequired

foir identity create-auth-client

Create an auth client.

FlagType
--pool-idstringrequired
--client-idstringrequired
--namestringrequired
--redirect-urisstringrepeatable
--is-first-partybooleanrequired
--requires-mfabooleanrequired
--login-methodsjson
--post-login-urlstring
--allowed-originsstringrepeatable
--grantsstringrepeatable
--initiate-login-uristring
--prompts-for-organizationbooleanrequired
--logojson
--homepage-urlstring
--confidentialbooleanrequired
--idempotency-keystringrequired

foir identity create-auth-client-secret

Make a secret for a confidential auth client.

FlagType
--pool-idstringrequired
--client-idstringrequired
--auth-client-idstringrequired
--idempotency-keystringrequired

foir identity create-auth-provider

Create an auth provider.

FlagType
--keystringrequired
--namestringrequired
--typestringrequired
--configjson
--enabledboolean
--is-defaultboolean
--prioritynumber
--config-idstring

foir identity create-invitation

Invite a person into a pool at a place.

FlagType
--emailstringrequired
--project-idsstringrepeatable
--invite-typestringrequired; one of INVITE_TYPE_UNSPECIFIED, INVITE_TYPE_WORKSPACE_OWNER, INVITE_TYPE_TEAM_MEMBER
--messagestring
--role-idstringrequired
--send-emailboolean
--accept-url-overridestring
--pool-idstring
--client-idstring
--return-tostring

foir identity create-organization

Create an organization.

FlagType
--namestringrequired
--parent-idstring
--own-poolboolean
--usersstringone of ORGANIZATION_USERS_UNSPECIFIED, ORGANIZATION_USERS_JOINED, ORGANIZATION_USERS_EVERYONE
--joiningstringone of ORGANIZATION_JOINING_UNSPECIFIED, ORGANIZATION_JOINING_INVITATION_ONLY, ORGANIZATION_JOINING_OPEN, ORGANIZATION_JOINING_REQUEST
--idempotency-keystringrequired
--founderstringrequired
--app-base-urlstring

foir identity create-personal-access-token

Make a personal access token. Its value is shown once.

FlagType
--namestringrequired
--expires-in-daysnumberrequired
--user-idstring
--idempotency-keystringrequired

foir identity create-project

Create a project.

FlagType
--namestringrequired
--descriptionstring
--default-locale-codestring
--default-locale-display-namestring
--default-locale-native-namestring
--default-locale-is-rtlboolean
--display-namestring
--logo-urlstring
--primary-colorstring
--from-namestring
--reply-tostring
--support-emailstring
--app-base-urlstring
--terms-urlstring
--privacy-urlstring
--welcome-email-enabledboolean
--password-enabledboolean
--otp-enabledboolean
--organization-signup-enabledboolean
--organization-usersstringone of ORGANIZATION_USERS_UNSPECIFIED, ORGANIZATION_USERS_JOINED, ORGANIZATION_USERS_EVERYONE
--organization-own-poolboolean
--organization-joiningstringone of ORGANIZATION_JOINING_UNSPECIFIED, ORGANIZATION_JOINING_INVITATION_ONLY, ORGANIZATION_JOINING_OPEN, ORGANIZATION_JOINING_REQUEST
--signup-modestringone of SIGNUP_MODE_UNSPECIFIED, SIGNUP_MODE_PUBLIC, SIGNUP_MODE_RESTRICTED, SIGNUP_MODE_WAITLIST, SIGNUP_MODE_CLOSED
--signup-restrictionsjson
--note-screenshots-enabledboolean
--anonymous-notes-enabledboolean
--locks-accounts-after-failed-sign-insboolean
--idempotency-keystringrequired

foir identity create-role

Create a role.

FlagType
--keystringrequired
--namestringrequired
--is-defaultbooleanrequired
--grantsstringrepeatable

foir identity create-user

Create a user in a pool, and give them a role where the request stands.

FlagType
--emailstringrequired
--passwordstring
--return-existingboolean
--first-namestring
--last-namestring
--pool-idstring
--role-idstring

foir identity create-workspace

Found a workspace: the caller’s own, or, for staff, one for the owner they name.

FlagType
--namestringrequired
--owner-user-idstringrequired
--project-namestring
--checkout-session-idstringrequired
--plan-slugstringrequired
--idempotency-keystringrequired

foir identity decline-join-request

Decline a request to join an organization: the person is told, and may ask again.

FlagType
--idstringrequired

foir identity delete-auth-client

Delete an auth client, ending the consents, sessions and refresh tokens it leaves behind. A released app is deleted by the next release.

FlagType
--pool-idstringrequired
--client-idstringrequired
--idstringrequired

foir identity delete-auth-provider

Delete an auth provider. A released one stays in production until a release carries the deletion.

FlagType
--idstringrequired

foir identity delete-custom-domain

Delete a custom domain.

FlagType
--idstringrequired

foir identity delete-organization-limit

Delete an organization limit.

FlagType
--metricstringrequired

foir identity delete-project

Delete a project. Its keys, its sessions, its files and its schedules stop within a minute, and its data is destroyed after the retention window unless it is reactivated first.

FlagType
--idstringrequired

foir identity delete-tenant

Delete a workspace that holds no project, now.

FlagType
--idstringrequired

foir identity delete-user

Delete a user’s account. A person deletes their own as me, in every pool, after proving again who they are.

FlagType
--idstringrequired
--confirm-emailstringrequired
--passwordstring
--confirmbooleanrequired

foir identity deny-impersonation

Refuse an impersonation.

FlagType
--idstringrequired
--codestringrequired

foir identity deny-waitlist-entry

Refuse a waitlist entry.

FlagType
--idstringrequired

foir identity disable-auth-client

Disable an auth client: it signs nobody in from then on, and what it issued ends.

FlagType
--pool-idstringrequired
--client-idstringrequired
--idstringrequired

foir identity disable-role

Disable a role: nobody holds it from then on, and it is assigned to nobody new.

FlagType
--idstringrequired

foir identity discard-auth-provider-draft

Throw away a sign-in provider’s unpublished changes, so its definition is the one production is served again.

FlagType
--idstringrequired

foir identity drop-organization-pool

Drop an organization’s own pool, so it signs its people in to the pool above it.

Takes no flags.

foir identity enabled-o-auth-providers

List the OAuth providers a sign-in page should offer for this project.

FlagType
--platform-laneboolean

foir identity enter-tenant

Enter a workspace as staff, taking its standing for the session.

FlagType
--idstringrequired

foir identity export-my-data

Export a copy of the signed-in user’s own data: their account, and everything deleting it would erase.

Takes no flags.

foir identity get-account-lockouts

Report console accounts locked out after repeated failures.

FlagType
--afterstring
--beforestring
--firstnumber
--lastnumber

foir identity get-api-key

Fetch an API key by id.

FlagType
--idstringrequired

foir identity get-auth-client

Fetch an auth client by id.

FlagType
--pool-idstringrequired
--client-idstringrequired
--idstringrequired

foir identity get-auth-provider

Fetch a sign-in provider by id, with whether its definition is published and what a release would change.

FlagType
--idstringrequired

foir identity get-auth-provider-version

Fetch an auth provider version by id.

FlagType
--idstringrequired

foir identity get-failed-logins

Report failed sign-in attempts where the request stands: a workspace’s, or every workspace’s for staff sending it to none.

FlagType
--bystring
--afterstring
--beforestring
--firstnumber
--lastnumber

foir identity get-invitation

Fetch an invitation.

FlagType
--idstringrequired

foir identity get-organization

Fetch an organization by id.

FlagType
--idstring

foir identity get-organization-cap-usage

Read what the caps that bind an organization allow, and how much of each is used.

Takes no flags.

foir identity get-organization-pool

Say which pool an organization’s people sign in to: its own, an organization’s above it, or the project’s.

Takes no flags.

foir identity get-organization-provision

Where an organisation provision stands, by provision id or by the organisation it created.

FlagType
--idstringone of lookup

foir identity get-project

Fetch a project by id.

FlagType
--idstringrequired

foir identity get-provider-token

Fetch the token of the provider a person signed in through, for the sign-in the request belongs to.

FlagType
--user-idstringrequired
--provider-keystringrequired
--provider-idstringrequired
--force-refreshbooleanrequired

foir identity get-role

Fetch a role by id.

FlagType
--idstringrequired

foir identity get-security-summary

Fetch the sign-in security summary where the request stands: a workspace’s, or every workspace’s for staff sending it to none.

FlagType
--fromjson
--tojson

foir identity get-session-context

Fetch a session context by id.

Takes no flags.

foir identity get-signup-config

Read the sign-up settings where the request stands: how somebody new joins its pool, and whether a new account may found a workspace.

Takes no flags.

foir identity get-suspicious-logins

Report sign-ins flagged as suspicious where the request stands: a workspace’s, or every workspace’s for staff sending it to none.

FlagType
--afterstring
--beforestring
--firstnumber
--lastnumber

foir identity get-tenant

Read a workspace (a tenant) by id: its name, status and how long it keeps deleted content.

FlagType
--idstringrequired

foir identity get-user

Fetch a user by id, or by their exact email address in a pool. A person reads their own account as me, in any pool.

FlagType
--idstringone of ref
--emailstringone of ref
--pool-idstring

foir identity get-user-management-status

Say whether the project’s people are managed here or by an outside provider, and where.

Takes no flags.

foir identity grant-auth-client

Let an auth client sign users in against this project.

FlagType
--user-idstringrequired
--client-idstringrequired
--grantsstringrepeatable

foir identity import-users

Import people from another sign-in provider with the password hashes they had, so they sign in with the passwords they know.

FlagType
--usersjsonrepeatable
--validate-onlybooleanrequired
--idempotency-keystringrequired

foir identity join-waitlist

Join the waitlist of where the request stands: a project’s, or the platform’s with none.

FlagType
--emailstringrequired

foir identity leave-membership

End your own membership where the request stands, or at the organisation named, with every role you hold there.

Takes no flags.

foir identity list-api-keys

List API keys.

FlagType
--afterstring
--beforestring
--firstnumber
--lastnumber
--wherejson
--include-descendantsboolean

foir identity list-auth-client-grants

List the apps the signed-in user has authorised to act for them.

FlagType
--user-idstring

foir identity list-auth-client-secrets

List an auth client’s secrets.

FlagType
--pool-idstringrequired
--client-idstringrequired
--auth-client-idstringrequired

foir identity list-auth-clients

List auth clients.

FlagType
--pool-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber
--include-descendantsboolean

foir identity list-auth-provider-versions

List auth provider versions.

FlagType
--auth-provider-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber

foir identity list-auth-providers

List auth providers.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir identity list-capability-requests

List the capability requests the caller’s standing reaches: every account’s for staff, the caller’s own otherwise.

FlagType
--statusstringone of CAPABILITY_REQUEST_STATUS_UNSPECIFIED, CAPABILITY_REQUEST_STATUS_PENDING, CAPABILITY_REQUEST_STATUS_APPROVED, CAPABILITY_REQUEST_STATUS_DENIED
--afterstring
--beforestring
--firstnumber
--lastnumber

foir identity list-custom-domains

List custom domains.

FlagType
--auth-client-idstringrequired
--include-descendantsboolean

foir identity list-impersonation-grants

List impersonation grants.

FlagType
--grantee-idstring
--active-onlybooleanrequired
--afterstring
--beforestring
--firstnumber
--lastnumber

foir identity list-invitations

List the invitations of a pool.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber
--pool-idstring

foir identity list-join-requests

List the requests to join organizations.

FlagType
--statusstringone of JOIN_REQUEST_STATUS_UNSPECIFIED, JOIN_REQUEST_STATUS_PENDING, JOIN_REQUEST_STATUS_APPROVED, JOIN_REQUEST_STATUS_DECLINED
--afterstring
--firstnumber

foir identity list-members

List the people who stand where the request stands, or at the organisation named: a workspace’s people with the roles they hold there, or an organisation’s members.

FlagType
--afterstring
--beforestring
--firstnumber
--lastnumber
--searchstring

foir identity list-my-addresses

List the email addresses the signed-in user is known by, and which one their account uses.

Takes no flags.

foir identity list-my-factors

List the second factors, passkeys and recovery codes the signed-in user holds.

Takes no flags.

foir identity list-my-invitations

List the pending invitations addressed to the signed-in person, in their pool.

Takes no flags.

foir identity list-my-o-auth-connections

List the sign-in methods connected to the signed-in user’s own account.

FlagType
--firstnumber
--afterstring
--lastnumber
--beforestring
--wherejson

foir identity list-my-organizations

List the organisations the signed-in person can enter: those they are a member of, are invited to, may join, or asked to join.

Takes no flags.

foir identity list-organization-limits

List organization limits.

Takes no flags.

foir identity list-organization-usage

List organization usage.

FlagType
--afterstring
--beforestring
--firstnumber
--lastnumber

foir identity list-organizations

List the organizations the caller can stand in.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber
--parent-idstring
--include-descendantsboolean

foir identity list-projects

List projects.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir identity list-role-assignments

List role assignments.

FlagType
--wherejson
--firstnumber
--afterstring
--lastnumber
--beforestring

foir identity list-roles

List the roles at the request’s level.

FlagType
--wherejson
--firstnumber
--afterstring
--lastnumber
--beforestring

foir identity list-sessions

List the sessions an auth client signed people in to. A person lists their own, and the personal access tokens they hold, as me, in any pool.

FlagType
--auth-client-idstringrequired
--user-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber

foir identity list-tenant-entitlements

Read the features a workspace is given or refused in place of what its plan says.

Takes no flags.

foir identity list-tenants

List every workspace.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir identity list-users

List the users of a pool: the one serving where the request stands, or the one named.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber
--include-descendantsboolean
--pool-idstring

foir identity list-verified-domains

List the domains verified, or waiting to be, where the request stands.

Takes no flags.

foir identity list-waitlist-entries

List waitlist entries.

FlagType
--statusstringone of WAITLIST_STATUS_UNSPECIFIED, WAITLIST_STATUS_PENDING, WAITLIST_STATUS_APPROVED, WAITLIST_STATUS_DENIED
--pool-idstring
--firstnumber
--afterstring
--lastnumber
--beforestring

foir identity make-my-address-primary

Make one of the signed-in user’s proven addresses the one their account uses.

FlagType
--idstringrequired
--emailstringrequired

foir identity make-recovery-codes

Make new recovery codes for the signed-in user. They are shown once.

FlagType
--idempotency-keystringrequired

foir identity make-scim-token

Make a SAML connection’s SCIM bearer, replacing the one it held. It is shown once.

FlagType
--provider-idstringrequired
--idempotency-keystringrequired

foir identity mark-user-email-verified

Mark the address of an account nobody has signed in to as verified.

FlagType
--idstringrequired

foir identity merge-users

Fold one user account into another, moving its sign-in methods and its records.

FlagType
--survivor-idstringrequired
--duplicate-idstringrequired
--validate-onlybooleanrequired

foir identity mint-mcp-working-token

Exchange the caller’s console session for a short-lived MCP working token for one project, so the console’s assistant acts as them there.

FlagType
--read-onlyboolean
--surfacestring

foir identity mint-service-token

Hand the caller’s session a short-lived token for one of Fóir’s own services: the data API, collaboration, storage, or the manifest a project serves.

FlagType
--purposestringrequired
--scope-narrowingjson
--manifest-subjectjson

foir identity move-organization

Re-parent an organization, taking its whole subtree with it.

FlagType
--idstringrequired
--parent-idstring

foir identity provision-organization

Provision an organisation in one resumable call, idempotent by the caller’s provision id.

FlagType
--provision-idstringrequired
--namestringrequired
--parent-idstring
--brandjson
--settingsjson
--first-memberjson
--credentialjson
--own-poolboolean
--usersstringone of ORGANIZATION_USERS_UNSPECIFIED, ORGANIZATION_USERS_JOINED, ORGANIZATION_USERS_EVERYONE
--joiningstringone of ORGANIZATION_JOINING_UNSPECIFIED, ORGANIZATION_JOINING_INVITATION_ONLY, ORGANIZATION_JOINING_OPEN, ORGANIZATION_JOINING_REQUEST

foir identity purge-project

Destroy a deleted project and its data now. It cannot be undone, and a live project is refused.

FlagType
--idstringrequired
--reasonstringrequired

foir identity reactivate-project

Reactivate a deleted project while its data is still kept. It is charged the permission that deletes one.

FlagType
--idstringrequired

foir identity rebind-auth-client

Bind an auth client to another place: an app of a project’s pool to an organization of its project or to the whole project, an app of the console’s pool to a project of its workspace or to the whole workspace. What its old binding issued ends and is counted.

FlagType
--pool-idstringrequired
--client-idstringrequired
--idstringrequired
--bound-project-idstring

foir identity refresh-token

Exchange a refresh token for a new pair.

FlagType
--refresh-tokenstringrequired

foir identity register

Start an account through an app’s own sign-up form: a code goes to the address, and signing in with it finishes the account.

FlagType
--emailstringrequired
--passwordstringrequired
--first-namestring
--last-namestring

foir identity register-custom-domain

Register a custom login domain, so sign-in is served on your own hostname.

FlagType
--auth-client-idstringrequired
--hostnamestringrequired
--kindstringrequired
--app-targetstringrequired

foir identity remove-member

End a person’s membership where the request stands, or at the organisation named, with every role they hold there.

FlagType
--idstringrequired

foir identity remove-my-address

Remove an email address from the signed-in user’s account. The one it uses stays.

FlagType
--idstringrequired
--emailstringrequired

foir identity remove-my-factor

Remove one of the signed-in user’s second factors.

FlagType
--kindstringrequired
--idstringrequired

foir identity remove-verified-domain

Remove a domain. Addresses at it are no longer vouched for by the project’s own issuer.

FlagType
--idstringrequired

foir identity rename-my-factor

Rename one of the signed-in user’s security keys or passkeys.

FlagType
--kindstringrequired
--idstringrequired
--namestringrequired

foir identity request-capability

Ask for a capability the account does not hold.

FlagType
--capabilitystringrequired
--notestring
--idempotency-keystringrequired

foir identity request-impersonation

Ask a workspace’s managers to let staff in, for a reason they read before approving. For an incident with nobody to ask, it takes the grant at once, as a break-glass event.

FlagType
--reasonstringrequired
--break-glass-justificationstringrequired
--idempotency-keystringrequired

foir identity request-password-reset

Mail a link to reset the password of the account an address belongs to. The link carries the token that redeems it, and nothing else does.

FlagType
--emailstringrequired
--client-idstring

foir identity request-tenant-deletion

Ask for the workspace the request stands in to be deleted: its use ends with what it has paid for, and its data is destroyed after the retention window unless it is activated again first.

Takes no flags.

foir identity resend-account-access

Send a user a new link to choose a password: the account-ready mail where they have never set one, a reset where they have.

FlagType
--idstringrequired

foir identity resend-invitation

Send an invitation again, with a new token.

FlagType
--idstringrequired
--send-emailboolean
--accept-url-overridestring

foir identity resolve-actors

Name the actors rows refer to, many at once: who did something, as a label to show beside it.

FlagType
--idsstringrepeatable

foir identity resolve-capability-request

Approve a capability request, granting what it asks for, or deny it.

FlagType
--idstringrequired
--approvebooleanrequired

foir identity resolve-organization-address

Resolve a page URL to the organization whose registered address it falls under.

FlagType
--urlstringrequired

foir identity restore-auth-provider-version

Restore an auth provider version.

FlagType
--version-idstringrequired
--change-descriptionstring

foir identity revoke-api-key

Revoke an API key, or every live key confined to an organization and the organizations beneath it, at once.

FlagType
--idstringrequired

foir identity revoke-auth-client-grant

Take back an app’s authority to act for the signed-in user.

FlagType
--idstringrequired

foir identity revoke-auth-client-secret

Revoke an auth client’s secret.

FlagType
--pool-idstringrequired
--client-idstringrequired
--auth-client-idstringrequired
--idstringrequired

foir identity revoke-impersonation

Revoke an impersonation.

FlagType
--idstringrequired

foir identity revoke-invitation

Revoke an invitation.

FlagType
--idstringrequired

foir identity revoke-previous-api-key-secret

Retire the value a rotation left valid, so only the new one authenticates.

FlagType
--idstringrequired

foir identity revoke-role-assignment

Revoke a role assignment.

FlagType
--idstringrequired

foir identity revoke-session

End a session or revoke a personal access token. A person ends their own as me, one or every sign-in at once.

FlagType
--idstringrequired
--user-idstringrequired
--everywherebooleanrequired
--keep-thisbooleanrequired

foir identity rotate-api-key

Rotate an API key, leaving the previous value valid until it is retired.

FlagType
--idstringrequired
--idempotency-keystringrequired

foir identity set-organization-limit

Set an organization limit.

FlagType
--metricstringrequired
--valuenumberrequired

foir identity set-organization-status

Move an organization through its lifecycle: suspend, resume, or schedule deletion.

FlagType
--idstringrequired
--statusstringrequired

foir identity set-tenant-entitlement

Give a workspace a feature, refuse it one, or let its plan decide again.

FlagType
--feature-keystringrequired
--statestringrequired; one of TENANT_ENTITLEMENT_STATE_UNSPECIFIED, TENANT_ENTITLEMENT_STATE_GRANT, TENANT_ENTITLEMENT_STATE_DENY
--reasonstringrequired

foir identity set-user-first-password

Set the first password of an account nobody has signed in to.

FlagType
--idstringrequired
--passwordstringrequired

foir identity set-verified-domain-joining

Set what a verified address at an organisation’s domain gets: to join it, or to ask to.

FlagType
--idstringrequired
--joiningstringrequired; one of ORGANIZATION_JOINING_UNSPECIFIED, ORGANIZATION_JOINING_INVITATION_ONLY, ORGANIZATION_JOINING_OPEN, ORGANIZATION_JOINING_REQUEST

foir identity sign-in

Sign in with an email address and a password, or send the address a one-time code to sign in with. The code is brought back on the step’s own route.

FlagType
--emailstringrequired
--passwordstringrequired
--send-codebooleanrequired

foir identity sign-out

Sign out of the session making the request. It ends, and so do the provider tokens kept for it.

Takes no flags.

foir identity start-connect-provider

Start connecting a provider to the signed-in user’s own account.

FlagType
--provider-keystringrequired
--provider-idstringrequired
--statestringrequired
--return-tostring

foir identity start-organization-pool

Start an organization’s own pool, which it and everything beneath it sign their people in to.

FlagType
--move-peoplebooleanrequired
--validate-onlybooleanrequired

foir identity start-provider-sign-in

Start a provider sign-in: answers where the person signs in at the provider, and the step its finish is brought back to.

FlagType
--provider-keystringrequired
--provider-idstringrequired
--return-tostring
--redirect-uristring

foir identity start-step-up

Begin proving the signed-in session again: answers the hosted page the person proves it on.

Takes no flags.

Disconnect a provider from the signed-in user’s own account.

FlagType
--idstringrequired
--providerstringrequired

foir identity unpublish-auth-provider

Withdraw an auth provider from the published surface now, as a release that can be rolled back. It stays withdrawn until a release names it.

FlagType
--idstringrequired

foir identity update-api-key

Update an API key.

FlagType
--idstringrequired
--namestring
--is-activeboolean
--allowed-modelsstringrepeatable
--update-allowed-modelsbooleanrequired
--allowed-file-typesstringrepeatable
--update-allowed-file-typesbooleanrequired
--grantsstringrepeatable
--update-grantsbooleanrequired
--baseline-grantsstringrepeatable
--update-baseline-grantsbooleanrequired
--expires-atjson
--all-modelsboolean

foir identity update-auth-client

Update an auth client.

FlagType
--pool-idstringrequired
--client-idstringrequired
--idstringrequired
--namestring
--redirect-urisstringrepeatable
--requires-mfaboolean
--login-methodsjson
--post-login-urlstring
--allowed-originsjson
--grantsstringrepeatable
--update-grantsbooleanrequired
--is-first-partyboolean
--initiate-login-uristring
--prompts-for-organizationboolean
--logojson
--homepage-urlstring
--confidentialboolean

foir identity update-auth-provider

Update an auth provider.

FlagType
--idstringrequired
--namestring
--configjson
--enabledboolean
--is-defaultboolean
--prioritynumber

foir identity update-organization

Update an organization.

FlagType
--idstringrequired
--namestringrequired
--display-namestring
--logo-urlstring
--primary-colorstring
--from-namestring
--reply-tostring
--support-emailstring
--app-base-urlstring
--terms-urlstring
--privacy-urlstring
--usersstringone of ORGANIZATION_USERS_UNSPECIFIED, ORGANIZATION_USERS_JOINED, ORGANIZATION_USERS_EVERYONE
--joiningstringone of ORGANIZATION_JOINING_UNSPECIFIED, ORGANIZATION_JOINING_INVITATION_ONLY, ORGANIZATION_JOINING_OPEN, ORGANIZATION_JOINING_REQUEST
--joining-role-idstring
--sign-in-methodsjson
--requires-second-factorboolean
--locks-accounts-after-failed-sign-insstringone of ORGANIZATION_ACCOUNT_LOCKING_UNSPECIFIED, ORGANIZATION_ACCOUNT_LOCKING_LOCKS, ORGANIZATION_ACCOUNT_LOCKING_DOES_NOT_LOCK

foir identity update-password

Update a password.

FlagType
--current-passwordstringrequired
--new-passwordstringrequired

foir identity update-project

Change a project, or make it the workspace’s default.

FlagType
--idstringrequired
--namestring
--descriptionstring
--display-namestring
--logo-urlstring
--primary-colorstring
--from-namestring
--reply-tostring
--support-emailstring
--app-base-urlstring
--terms-urlstring
--privacy-urlstring
--from-emailstring
--resend-key-secret-refstring
--welcome-email-enabledboolean
--password-enabledboolean
--otp-enabledboolean
--session-idle-daysnumber
--session-absolute-daysnumber
--organization-signup-enabledboolean
--organization-signup-role-keystring
--organization-signup-role-idstring
--organization-usersstringone of ORGANIZATION_USERS_UNSPECIFIED, ORGANIZATION_USERS_JOINED, ORGANIZATION_USERS_EVERYONE
--organization-own-poolboolean
--organization-joiningstringone of ORGANIZATION_JOINING_UNSPECIFIED, ORGANIZATION_JOINING_INVITATION_ONLY, ORGANIZATION_JOINING_OPEN, ORGANIZATION_JOINING_REQUEST
--signup-modestringone of SIGNUP_MODE_UNSPECIFIED, SIGNUP_MODE_PUBLIC, SIGNUP_MODE_RESTRICTED, SIGNUP_MODE_WAITLIST, SIGNUP_MODE_CLOSED
--signup-restrictionsjson
--note-screenshots-enabledboolean
--anonymous-notes-enabledboolean
--organization-assignable-rolesjson
--sitesjson
--is-defaultboolean
--locks-accounts-after-failed-sign-insboolean

foir identity update-role

Update a role.

FlagType
--idstringrequired
--namestring
--is-defaultboolean
--grantsstringrepeatable
--update-grantsbooleanrequired

foir identity update-tenant

Change a workspace: its name, and for staff its status, its project limit and whether its projects take anonymous notes.

FlagType
--idstringrequired
--namestring
--statusstringone of TENANT_STATUS_UNSPECIFIED, TENANT_STATUS_PENDING_SETUP, TENANT_STATUS_ACTIVE, TENANT_STATUS_PAST_DUE, TENANT_STATUS_SUSPENDED, TENANT_STATUS_CANCELLED, TENANT_STATUS_CHURNED
--project-limitjson
--anonymous-notes-enabledboolean

foir identity update-user

Update a user. A person changes their own name, picture and language as me; their address changes through their addresses, and their status is not theirs to change.

FlagType
--idstringrequired
--emailstring
--statusstringone of USER_STATUS_UNSPECIFIED, USER_STATUS_ACTIVE, USER_STATUS_PENDING, USER_STATUS_SUSPENDED, USER_STATUS_DELETED
--preferred-localestring
--first-namestring
--last-namestring
--avatar-urlstring

foir identity validate-api-key

Say what the API key the request carries is and may do.

FlagType
--api-keystringrequired

foir identity validate-invitation

Read the invitation a token names, before accepting it.

FlagType
--tokenstringrequired

foir identity verify-custom-domain

Check a custom domain’s DNS record, and serve sign-in on it once it is proven.

FlagType
--idstringrequired

foir marketplace

foir marketplace create-listing

Create a listing.

FlagType
--slugstringrequired
--display-namestringrequired
--summarystringrequired
--long-descriptionstringrequired
--categorystringrequired
--publisherstringrequired
--icon-urlstring
--screenshot-urlsstringrepeatable
--support-urlstring
--manifest-urlstringrequired
--sort-ordernumber

foir marketplace get-listing

Fetch a published marketplace listing by slug or id, with the manifest it serves now.

FlagType
--slugstringone of selector
--idstringone of selector

foir marketplace list-listings

List the published marketplace listings. Public content: any credential may read it.

FlagType
--categorystring
--firstnumber
--afterstring
--lastnumber
--beforestring
--include-unpublishedboolean

foir marketplace reorder-listings

Reorder listings.

FlagType
--idsstringrepeatable

foir marketplace set-listing-published

Publish or withdraw a marketplace listing.

FlagType
--idstringrequired
--publishedbooleanrequired

foir marketplace update-listing

Update a listing.

FlagType
--idstringrequired
--display-namestring
--summarystring
--long-descriptionstring
--categorystring
--publisherstring
--icon-urlstring
--support-urlstring
--manifest-urlstring
--sort-ordernumber
--screenshot-urlsjson

foir marketplace upload-listing-image

Upload an image for a marketplace listing.

FlagType
--datastringrequired
--idempotency-keystringrequired

foir models

foir models create

Create a model.

FlagType
--keystringrequired
--namestringrequired
--fieldsjsonrepeatable
--configjson
--config-idstring
--update-push-snapshotbooleanrequired

foir models delete

Delete a model. A released one stays in production, records included, until a release carries the deletion.

FlagType
--idstringrequired

foir models discard-draft

Discards unpublished draft edits: reverts the live schema (fields + config) back to published_snapshot and points current_version_id at published_version_id, returning the model to a clean “no pending changes” state.

FlagType
--idstringrequired

foir models duplicate

Copy a model into a new one.

FlagType
--idstringrequired
--new-keystringrequired
--new-namestringrequired
--idempotency-keystringrequired

foir models get

Fetch a model by id or by its key. The full view adds whether its definition is published, what a release would change and which records it would strand.

FlagType
--idstringone of ref
--keystringone of ref
--viewstringrequired; one of MODEL_VIEW_UNSPECIFIED, MODEL_VIEW_BASIC, MODEL_VIEW_FULL

foir models get-version

Fetch a model version by id.

FlagType
--model-idstringrequired
--idstringrequired

foir models list

List models.

FlagType
--afterstring
--beforestring
--firstnumber
--lastnumber
--wherejson

foir models list-versions

List model versions.

FlagType
--model-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber

foir models restore-version

Restore a model version.

FlagType
--model-idstringrequired
--version-idstringrequired

foir models unpublish

Withdraw a model from the published surface.

FlagType
--idstringrequired

foir models update

Update a model.

FlagType
--idstringrequired
--namestring
--fieldsjsonrepeatable
--configjson
--change-descriptionstring
--update-fieldsbooleanrequired
--update-push-snapshotbooleanrequired
--snapshot-onlybooleanrequired
--allow-lookup-rebuildbooleanrequired
--expected-version-idstring
--drop-removed-fieldsbooleanrequired

foir notifications

foir notifications delete

Delete a notification.

FlagType
--idstringrequired

foir notifications delete-push-credential

Delete a push credential.

FlagType
--idstringrequired

foir notifications get-preferences

Fetch the notification preferences.

FlagType
--user-idstringrequired

foir notifications get-web-push-config

Fetch the project’s VAPID public key, for a web client to subscribe to push.

Takes no flags.

foir notifications list

List notifications.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir notifications list-announcement-history

List announcement history.

FlagType
--afterstring
--beforestring
--firstnumber
--lastnumber

foir notifications list-platform-categories

List the categories of notification the platform itself sends.

Takes no flags.

foir notifications list-push-credentials

List push credentials.

Takes no flags.

foir notifications list-sent

List the notifications this project sent.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir notifications mark-read

Mark a notification as read, many, or every unread one.

FlagType
--idstringrequired
--idsstringrepeatable
--all-unreadjson

foir notifications register-device-token

Register a device to receive push notifications.

FlagType
--user-idstringrequired
--tokenstringrequired
--platformstringrequired
--device-namestring

foir notifications send

Send a notification to a person, or to many.

FlagType
--user-idstringrequired
--user-idsstringrepeatable
--titlestringrequired
--messagestring
--categorystring
--action-urlstring
--metadatajson
--image-urlstring
--expires-atjson
--channelsjsonrepeatable
--copy-action-keystring
--rich-bodystring
--validate-onlybooleanrequired
--idempotency-keystring

foir notifications send-announcement

Send an announcement.

FlagType
--titlestringrequired
--messagestring
--action-urlstring
--target-typestring
--target-idsstringrepeatable
--categorystring
--validate-onlybooleanrequired
--idempotency-keystringrequired

foir notifications unregister-device-token

Stop sending push notifications to a device.

FlagType
--idstringone of device
--tokenstringone of device

foir notifications update-preference

Update a notification preference.

FlagType
--user-idstringrequired
--categorystringrequired
--email-enabledboolean
--push-enabledboolean
--in-app-enabledboolean
--source-modified-atjson
--given-elsewhereboolean
--localestring
--emailstring

foir notifications upload-push-credential

Upload a push credential.

FlagType
--platformstringrequired
--apns-p-8-keystring
--bundle-idstring
--apns-team-idstring
--apns-key-idstring
--apns-productionboolean
--fcm-service-account-jsonstring

foir operations

foir operations create

Create an operation.

FlagType
--keystringrequired
--namestringrequired
--descriptionstring
--iconstring
--categorystring
--endpointstringrequired
--endpoint-authstring
--timeout-msnumber
--input-schemajson
--output-schemajson
--uijson
--quotasjson
--allowed-permissionsstringrepeatable
--retry-policyjson
--preconditionjson
--second-factorjson
--is-activeboolean
--supports-asyncboolean
--callback-ttl-secondsnumber
--callback-timeout-retry-policyjson
--grantsstringrepeatable
--read-onlybooleanrequired
--kindstringrequired; one of OPERATION_KIND_UNSPECIFIED, OPERATION_KIND_MUTATION, OPERATION_KIND_QUERY, OPERATION_KIND_FIELD
--attached-to-modelstring
--parent-fieldsstringrepeatable
--cache-controljson
--secret-bindingsjsonrepeatable
--request-templatejson
--response-transformstring
--config-idstringone of config
--config-keystringone of config

foir operations delete

Delete an operation. A released one stays in production until a release carries the deletion.

FlagType
--idstringrequired

foir operations discard-draft

Throw away an operation’s unpublished changes, so its definition is the one production is served again.

FlagType
--idstringrequired

foir operations dismiss-dead-letter-entry

Dismiss a dead letter entry, many, or every pending one.

FlagType
--idstringrequired
--idsstringrepeatable
--all-pendingjson

foir operations get

Fetch an operation by id, with whether its definition is published and what a release would change.

FlagType
--idstringrequired
--keystring

foir operations get-dead-letter-stats

Fetch the dead letter stats.

Takes no flags.

foir operations get-quota-usage

Fetch operation quota usage.

FlagType
--operation-idstringone of operation
--operation-keystringone of operation
--user-idstring
--actor-idstring

foir operations get-signing-secret

Fetch the project’s signing secret, which signs every delivery between the platform and an app.

Takes no flags.

foir operations get-version

Fetch an operation version by id.

FlagType
--idstringrequired

foir operations list

List operations.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber
--applies-to-model-idstringone of applies_to
--applies-to-model-keystringone of applies_to

foir operations list-circuit-states

List circuit states.

FlagType
--firstnumber
--afterstring
--lastnumber
--beforestring

foir operations list-dead-letter-entries

List dead letter entries.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber
--with-operation-keysbooleanrequired

foir operations list-versions

List operation versions.

FlagType
--operation-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber

foir operations regenerate-signing-secret

Issue a new signing secret for operation callbacks, invalidating the old one.

FlagType
--idempotency-keystringrequired

foir operations reset-circuit

Reset circuit.

FlagType
--idstringone of circuit
--operation-keystringone of circuit

foir operations restore-version

Restore an operation version.

FlagType
--version-idstringrequired
--change-descriptionstring

foir operations retry-dead-letter-entry

Retry a dead letter entry, or many.

FlagType
--idstringrequired
--idsstringrepeatable
--idempotency-keystringrequired

foir operations stream-dev-dispatches

Hold a LOCAL DEVELOPMENT session: dispatches for this project arrive down the stream instead of being POSTed to a public endpoint.

FlagType
--operation-keysstringrepeatable
--operation-idsstringrepeatable
--forward-tostringrequired

foir operations unpublish

Withdraw an operation from the published surface now, as a release that can be rolled back. It stays withdrawn until a release names it.

FlagType
--idstringrequired

foir operations update

Update an operation.

FlagType
--idstringrequired
--namestring
--descriptionstring
--endpointstring
--endpoint-authstring
--timeout-msnumber
--input-schemajson
--output-schemajson
--uijson
--is-activeboolean
--quotasjson
--retry-policyjson
--preconditionjson
--allowed-permissionsstringrepeatable
--second-factorjson
--supports-asyncboolean
--callback-ttl-secondsnumber
--callback-timeout-retry-policyjson
--grantsstringrepeatable
--update-grantsbooleanrequired
--read-onlyboolean
--kindstringone of OPERATION_KIND_UNSPECIFIED, OPERATION_KIND_MUTATION, OPERATION_KIND_QUERY, OPERATION_KIND_FIELD
--attached-to-modelstring
--parent-fieldsstringrepeatable
--cache-controljson
--secret-bindingsjsonrepeatable
--request-templatejson
--response-transformstring
--config-idstringone of config
--config-keystringone of config

foir platform-settings

foir platform-settings get-model-setup

Read the models Fóir runs, their confirmed prices, and the model and fallback of each job.

Takes no flags.

foir platform-settings get-platform-settings

Returns every platform setting as a key/value list.

Takes no flags.

foir platform-settings get-response-cache-stats

Returns fleet-wide approximate key counts for the api-public GraphQL response cache.

Takes no flags.

foir platform-settings list-foir-model-catalogue

List a provider’s models as Fóir’s own key reads them, with their lifecycle where the provider states it.

FlagType
--providerstringrequired

foir platform-settings remove-ai-model

Remove a model no job uses.

FlagType
--providerstringrequired
--modelstringrequired

foir platform-settings save-ai-model

Add a model Fóir runs, or change its confirmed price and what it can do.

FlagType
--modeljson

foir platform-settings set-ai-job

Give one of Fóir’s jobs its model and its fallback on the other provider.

FlagType
--jobstringrequired
--modeljson
--fallbackjson

foir platform-settings update-platform-setting

Upserts a single setting by key.

FlagType
--keystringrequired
--valuestringrequired

foir queue

foir queue get-all-status

Report the depth and health of every queue.

Takes no flags.

foir queue get-job-details

Fetch one queued job, with its payload and attempts.

FlagType
--queuestringrequired
--idstringrequired

foir queue get-repeatable-jobs

List the jobs the queue re-runs on a schedule.

Takes no flags.

foir queue list-jobs

List queue jobs.

FlagType
--queuestringrequired
--statestringrequired; one of JOB_STATE_UNSPECIFIED, JOB_STATE_PENDING, JOB_STATE_ACTIVE, JOB_STATE_SCHEDULED, JOB_STATE_RETRY, JOB_STATE_ARCHIVED, JOB_STATE_COMPLETED, JOB_STATE_AGGREGATING
--pagenumberrequired
--page-sizenumberrequired

foir queue retry-job

Retry a job.

FlagType
--queuestringrequired
--idstringrequired
--idempotency-keystringrequired

foir records

foir records aggregate

Count, group and total records without pulling them.

FlagType
--model-keystringrequired
--model-idstringrequired
--wherejson
--group-bystring
--aggregatesjsonrepeatable
--limitnumber

foir records backfill-geometry

Backfill a record geometry over existing rows.

FlagType
--model-keystringrequired
--model-idstringrequired

foir records backfill-model-indexes

Rebuild the queryable indexes for a model’s existing records.

FlagType
--model-keystringrequired
--model-idstringrequired

foir records backfill-queryable-index

Backfill a queryable index over existing rows.

FlagType
--model-keystringrequired
--model-idstringrequired

foir records batch-operations

Apply record operations in one call.

FlagType
--operationsjsonrepeatable
--maintenancebooleanrequired
--validatebooleanrequired
--atomicbooleanrequired
--idempotency-keystring

foir records bulk-update

Update records for many rows in one call.

FlagType
--model-keystringrequired
--model-idstringrequired
--wherejson
--updatejson
--maintenancebooleanrequired
--idempotency-keystring

foir records capture-default-as-variant

Preserves the record’s current default content as a named, inactive variant, creating its catalogue entry in the same transaction.

FlagType
--record-idstringrequired
--namestringrequired
--keystring
--idempotency-keystringrequired

foir records check-lookup-availability

Check whether a lookup value is still free before writing it.

FlagType
--model-keystringrequired
--model-idstringrequired
--lookup-namestringrequired
--key-hashstringrequired
--channelstringrequired
--variant-idstring
--localestring
--exclude-record-idstring

foir records clear-slow-query-advisor-entry

Clear a slow query advisor entry.

FlagType
--resource-keystring
--resource-idstringrequired
--field-pathstringrequired
--operatorstringrequired

foir records create

Create a record.

FlagType
--model-keystringrequired
--model-idstringrequired
--keystring
--datajson
--owner-idstring
--metadatajson
--writejson

foir records create-variant

Create a variant.

FlagType
--record-idstringrequired
--keystringrequired
--datajson
--idempotency-keystringrequired

foir records delete

Delete a record.

FlagType
--idstringrequired

foir records delete-embeddings

Remove stored embeddings for records.

FlagType
--record-idstringrequired

foir records delete-variant

Delete a variant.

FlagType
--variant-idstringrequired

foir records duplicate

Copy records, each under a new id and its own key or none, in one transaction.

FlagType
--itemsjsonrepeatable
--model-keystring
--model-idstringrequired
--idempotency-keystringrequired

foir records embedding-digests

Report the stored content digest behind each record embedding, for deciding what needs re-embedding.

FlagType
--record-idsstringrepeatable
--keystring
--model-keystring
--model-idstringrequired

foir records enqueue-generate-embedding

Queue a background job to generate an embedding for a record.

FlagType
--record-idstringrequired
--model-keystringrequired
--model-idstringrequired
--sourcestring
--idempotency-keystringrequired

foir records erase-user

Erase what an app holds for a user it names by identity.

FlagType
--userjson

foir records find-nearest

Find nearest records.

FlagType
--record-idstringrequired
--radius-metersnumber
--model-keystring
--model-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber

foir records find-similar

Find similar records.

FlagType
--record-idstringrequired
--model-keystring
--model-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber
--user-idstring
--contextjson

foir records get

Fetch a record by its id, or by its model and its own key.

FlagType
--idstringone of ref
--keyjsonone of ref

foir records get-counts

Count the records in each of several models.

FlagType
--model-keysstringrepeatable

foir records get-embedding-stats

Fetch the embedding stats.

FlagType
--model-keystring
--model-idstringrequired

foir records get-embeddings

Fetch a record’s stored embeddings.

FlagType
--record-idstringrequired

foir records get-user

Read the record of a user an app names by identity.

FlagType
--userjson

foir records get-user-by-identity

Find the user who holds an identity an app names.

FlagType
--identitystringrequired

foir records get-user-identities

Read the identities of a user an app names by id.

FlagType
--user-idstringrequired

Search across every model in the project at once.

FlagType
--querystringrequired
--model-keysstringrepeatable
--afterstring
--beforestring
--firstnumber
--lastnumber
--cross-workspacebooleanrequired
--resolutionjson

foir records list

List records.

FlagType
--model-keystringrequired
--model-idstringrequired
--sortjsonrepeatable
--owner-idstring
--searchstring
--previewbooleanrequired
--wherejson
--include-descendantsboolean
--afterstring
--beforestring
--firstnumber
--lastnumber
--resolutionjson
--skip-totalbooleanrequired
--missing-embeddingstring
--missing-geometrystring
--missing-localestring

foir records list-draft-versions

List draft versions.

FlagType
--model-keystring
--model-idstringrequired
--searchstring
--afterstring
--beforestring
--firstnumber
--lastnumber
--dedupe-by-parentbooleanrequired

foir records list-lookup-conflicts

List lookup conflicts.

FlagType
--model-keystringrequired
--model-idstringrequired
--lookup-namestring
--channelstringrequired
--firstnumber
--afterstring
--lastnumber
--beforestring

foir records list-slow-query-advisor-entries

List the slow queries the advisor has recorded.

FlagType
--resource-keystring
--resource-idstringrequired
--row-limitnumber

foir records list-variants

List record variants.

FlagType
--record-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber

foir records list-versions

List a record’s versions. A caller without drafts:read is answered the versions that are or were published.

FlagType
--parent-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber
--only-publishedboolean

foir records lookup-models

Resolve record ids to their model keys, for polymorphic references that stored no model hint.

FlagType
--record-idsstringrepeatable

foir records patch-fields

Apply typed operations to a record’s fields.

FlagType
--idstringrequired
--updatejson
--writejson
--keyjson
--matchjson

foir records publish-version

Publish a version, or many.

FlagType
--version-idstringrequired
--version-idsstringrepeatable
--maintenancebooleanrequired

foir records purge-response-cache

Clear cached responses for a record, a model or the project.

FlagType
--model-keystringrequired
--model-idstringrequired
--record-idstringrequired
--record-keystringrequired
--allbooleanrequired

foir records rebuild-model-lookups

Rebuild the model lookups.

FlagType
--model-keystringrequired
--model-idstringrequired

foir records records-locale-coverage

Report how much of the project is translated, per locale.

Takes no flags.

foir records records-using-variant-catalog

List the records that use a variant catalogue entry.

FlagType
--catalog-idstringrequired
--model-keystring
--model-idstringrequired
--afterstring
--firstnumber

foir records rename

Change the key a record is addressed by.

FlagType
--idstringrequired
--new-keystringrequired
--writejson
--keyjson
--matchjson

foir records resolve

Resolve records as a reader is served them, named by id, by key or by lookup: variant selection, version data, media and system fields.

FlagType
--refsjsonrepeatable
--audiencejson
--unresolvedbooleanrequired

foir records revert-to-version

Revert a record to an earlier version, by appending that version’s content as a new one.

FlagType
--version-idstringrequired
--validate-onlybooleanrequired
--model-keystring
--model-idstringrequired
--idempotency-keystringrequired

foir records save-content

Save a record’s content.

FlagType
--idstringone of target
--keyjsonone of target
--ownjsonone of target
--userjsonone of target
--contentjson
--basejson
--autosavebooleanrequired
--writejson
--owner-idstring
--source-modified-atjson

foir records search-by-location

Search by locations.

FlagType
--latnumberrequired
--lngnumberrequired
--radius-metersnumber
--model-keystring
--model-idstringrequired
--keystring
--afterstring
--beforestring
--firstnumber
--lastnumber

foir records search-embeddings

Search embeddings.

FlagType
--query-vectornumberrepeatable
--model-keystring
--model-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber
--query-textstring
--user-idstring
--contextjson

foir records set-default-variant

Set a default variant.

FlagType
--record-idstringrequired
--variant-idstringrequired

foir records set-field-locale

Write translations of a record’s fields: one field in one locale, or several as one change.

FlagType
--idstringrequired
--field-pathstringrequired
--localestringrequired
--valuejson
--overwritebooleanrequired
--writejson
--segmentsstringrepeatable
--translationsjsonrepeatable

foir records set-metadata

Set a record’s display metadata.

FlagType
--idstringrequired
--metadatajson
--writejson

foir records set-owner

Reassign who a record belongs to.

FlagType
--record-idstringrequired
--owner-idstring
--owner-kindstring

foir records slow-query-advisor-summary

Summarise the slow-query advisor: how many slow queries, and against which models.

Takes no flags.

foir records start-embedding-backfill

Start an embedding backfill.

FlagType
--model-keystringrequired
--model-idstringrequired
--idempotency-keystringrequired
--validate-onlybooleanrequired

foir records unpublish

Withdraw a record from the published surface.

FlagType
--record-idstringrequired

foir records update-variant

Update a variant.

FlagType
--variant-idstringrequired
--datajson
--metadata-patchjson

foir records write-embeddings

Store embeddings for records.

FlagType
--entriesjsonrepeatable

foir resource-access

foir resource-access expand-resource-access

Expand: enumerate EVERY accessor the compiled RLS predicate admits (owner + grants + role plane), each tagged with its source, plus a public flag.

FlagType
--resource-typestringrequired; one of RESOURCE_TYPE_UNSPECIFIED, RESOURCE_TYPE_RECORD, RESOURCE_TYPE_FILE, RESOURCE_TYPE_NOTE
--resource-idstringrequired
--principalstring
--afterstring
--beforestring
--firstnumber
--lastnumber

foir resource-access grant-resource-access

Grant a principal access to a resource (INSERT into the descriptor’s ACL edge).

FlagType
--resource-typestringrequired; one of RESOURCE_TYPE_UNSPECIFIED, RESOURCE_TYPE_RECORD, RESOURCE_TYPE_FILE, RESOURCE_TYPE_NOTE
--resource-idstringrequired
--granteejson
--accessstringrequired; one of ACCESS_UNSPECIFIED, ACCESS_READ, ACCESS_WRITE, ACCESS_DELETE

foir resource-access list-resource-grants

List the visibility + per-principal grants on a resource (for those who can edit it).

FlagType
--resource-typestringrequired; one of RESOURCE_TYPE_UNSPECIFIED, RESOURCE_TYPE_RECORD, RESOURCE_TYPE_FILE, RESOURCE_TYPE_NOTE
--resource-idstringrequired

foir resource-access revoke-resource-access

Revoke a principal’s access (DELETE from the ACL edge).

FlagType
--resource-typestringrequired; one of RESOURCE_TYPE_UNSPECIFIED, RESOURCE_TYPE_RECORD, RESOURCE_TYPE_FILE, RESOURCE_TYPE_NOTE
--resource-idstringrequired
--granteejson
--accessstringrequired; one of ACCESS_UNSPECIFIED, ACCESS_READ, ACCESS_WRITE, ACCESS_DELETE

foir resource-access set-resource-visibility

Set a resource’s visibility mode (rides the resource’s own edit RLS).

FlagType
--resource-typestringrequired; one of RESOURCE_TYPE_UNSPECIFIED, RESOURCE_TYPE_RECORD, RESOURCE_TYPE_FILE, RESOURCE_TYPE_NOTE
--resource-idstringrequired
--visibilitystringrequired; one of VISIBILITY_UNSPECIFIED, VISIBILITY_PRIVATE, VISIBILITY_PUBLIC

foir runs

foir runs cancel

Cancel a run of an operation or an agent, or every run of one operation still going. What a run already did is not undone.

FlagType
--idstringrequired
--visitor-tokenstringrequired
--of-operationjson

foir runs decide-approval

Approve or deny an act held for a decision, and on approve, carry it out.

FlagType
--idstringrequired
--approvebooleanrequired
--reasonstringrequired

foir runs get

Fetch a run with its nodes: an operation’s step, or an agent’s tool calls, model turns, checks and held acts.

FlagType
--idstringrequired
--visitor-tokenstringrequired

foir runs list

List runs of operations and agents, newest first.

FlagType
--wherejson
--afterstring
--firstnumber
--beforestring
--lastnumber

foir runs list-approvals

List the acts held for a decision, from any run and on any note.

FlagType
--include-decidedbooleanrequired
--note-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber

foir runs resolve

Answer a query operation inline, for one item or many.

FlagType
--operationstringrequired
--itemsjsonrepeatable
--user-idstringrequired

foir runs start

Start a run of an operation or an agent.

FlagType
--operationjsonone of target
--agentjsonone of target
--idempotency-keystringrequired

foir runs summarize

Count how the runs of each operation and agent have gone.

FlagType
--target-idstringone of only
--targetstringone of only

foir runs watch

Follow a run as it happens: an operation’s progress and outcome, or an agent’s answer as it is written, its tool calls and its held acts.

FlagType
--idstringrequired
--afterstringrequired
--visitor-tokenstringrequired

foir schedules

foir schedules create-cron

Create a cron schedule.

FlagType
--keystringrequired
--namestringrequired
--descriptionstring
--cronstringrequired
--timezonestring
--operation-idstringone of operation
--operation-keystringone of operation
--config-idstring
--eachstring
--idempotency-keystringrequired

foir schedules delete-cron

Delete a cron schedule. A released one stays in production until a release carries the deletion.

FlagType
--idstringrequired
--keystring

foir schedules discard-cron-draft

Throw away a cron schedule’s unpublished changes, so it is again what production fires.

FlagType
--idstringrequired

foir schedules get-cron

Fetch a cron schedule by id or by its key.

FlagType
--idstringone of ref
--keystringone of ref

foir schedules list-cron

List cron schedules.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir schedules pause-cron

Stop a cron schedule firing, without deleting it.

FlagType
--idstringrequired
--keystring

foir schedules resume-cron

Resume a cron schedule.

FlagType
--idstringrequired
--keystring

foir schedules trigger-cron

Trigger a cron schedule.

FlagType
--idstringrequired
--keystring
--idempotency-keystringrequired

foir schedules unpublish-cron

Withdraw a cron schedule from production now, so it stops firing, as a release that can be rolled back. It stays withdrawn until a release names it.

FlagType
--idstringrequired

foir schedules update-cron

Update a cron schedule.

FlagType
--idstringrequired
--namestring
--descriptionstring
--cronstring
--timezonestring
--operation-idstringone of operation
--operation-keystringone of operation
--keystring
--eachstring

foir secrets

foir secrets delete

Delete a secret. It is kept for a while, and can be brought back until it is purged.

FlagType
--idstringrequired

foir secrets get

Fetch a secret by id.

FlagType
--idstringrequired
--purposestringrequired

foir secrets list

List the secrets of the project the request stands in, never their values. Staff sending it to no workspace list the vault across every workspace, to watch deletions drain and rotations finish.

FlagType
--owner-kindstringrequired; one of OWNER_KIND_UNSPECIFIED, OWNER_KIND_PROJECT, OWNER_KIND_APP, OWNER_KIND_USER
--owner-idstringrequired
--include-soft-deletedbooleanrequired
--firstnumber
--afterstring
--lastnumber
--beforestring
--wherejson

foir secrets purge-soft-deleted

Permanently remove soft-deleted secrets. The values go, and this cannot be undone.

Takes no flags.

foir secrets put

Store a secret and return the reference other configuration uses to name it.

FlagType
--owner-kindstringrequired; one of OWNER_KIND_UNSPECIFIED, OWNER_KIND_PROJECT, OWNER_KIND_APP, OWNER_KIND_USER
--owner-idstringrequired
--labelstringrequired
--plaintextstringrequired
--expires-atjson

foir secrets restore

Bring back a deleted secret before it is purged.

FlagType
--idstringrequired

foir secrets rotate

Rotate a secret, leaving the previous value valid until it is retired.

FlagType
--idstringrequired
--plaintextstringrequired
--expires-atjson
--idempotency-keystringrequired

foir settings

foir settings cancel-pending-deletion

Keep a definition pending deletion: no release deletes it, and its draft is back.

FlagType
--itemjson

foir settings cancel-release

Cancel a release: one scheduled never goes out, and one running stops before its next record version.

FlagType
--idstringrequired

foir settings create-context-dimension

Create a context dimension.

FlagType
--keystringrequired
--namestringrequired
--descriptionstring
--source-typestringrequired
--source-model-idstringone of source_model
--source-model-keystringone of source_model
--default-record-idstringone of default_record
--default-record-keystringone of default_record
--evaluation-rulesjson
--config-idstring

foir settings create-locale

Create a locale.

FlagType
--localestringrequired
--display-namestringrequired
--native-namestring
--is-defaultboolean
--is-rtlboolean
--fallback-localestring

foir settings create-note

Create a note.

FlagType
--contentjson
--parent-note-idstring
--subject-typestringrequired
--subject-idstringrequired
--reply-to-userboolean
--assignee-idstring
--attachment-file-idsstringrepeatable
--due-datejson
--anonymous-contact-emailstring
--anchor-fieldstring
--anchor-node-idstring
--anchor-snippetstring
--idempotency-keystringrequired

foir settings create-note-approval

Create a note approval.

FlagType
--note-idstringrequired
--tool-namestringrequired
--tool-argsjson
--summarystringrequired
--required-verbstringrequired
--execution-idstring
--idempotency-keystringrequired

foir settings create-notification-category

Create a notification category.

FlagType
--keystringrequired
--display-namestringrequired
--descriptionstring
--email-policystringone of CHANNEL_POLICY_UNSPECIFIED, CHANNEL_POLICY_DEFAULT_ON, CHANNEL_POLICY_DEFAULT_OFF, CHANNEL_POLICY_REQUIRED
--push-policystringone of CHANNEL_POLICY_UNSPECIFIED, CHANNEL_POLICY_DEFAULT_ON, CHANNEL_POLICY_DEFAULT_OFF, CHANNEL_POLICY_REQUIRED
--in-app-policystringone of CHANNEL_POLICY_UNSPECIFIED, CHANNEL_POLICY_DEFAULT_ON, CHANNEL_POLICY_DEFAULT_OFF, CHANNEL_POLICY_REQUIRED
--opt-in-confirmationstringone of OPT_IN_CONFIRMATION_UNSPECIFIED, OPT_IN_CONFIRMATION_NONE, OPT_IN_CONFIRMATION_EMAIL

foir settings create-variant-catalog-entry

Create a variant catalog entry.

FlagType
--keystringrequired
--namestringrequired
--descriptionstring
--targeting-rulesjson
--prioritynumber
--is-defaultboolean
--is-activeboolean

foir settings delete-context-dimension

Delete a context dimension. A released one stays in production until a release carries the deletion.

FlagType
--idstringrequired

foir settings delete-locale

Delete a locale. A released one stays in production until a release carries the deletion.

FlagType
--idstringrequired

foir settings delete-note

Delete a note.

FlagType
--idstringrequired

foir settings delete-notification-category

Delete a notification category.

FlagType
--idstringrequired

foir settings delete-variant-catalog-entry

Delete a variant catalog entry. A released one stays in production until a release carries the deletion.

FlagType
--idstringrequired

foir settings discard-context-dimension-draft

Throw away a context dimension’s unpublished changes, so its definition is the one production is served again.

FlagType
--idstringrequired

foir settings discard-design-tokens-draft

Throw away the draft design tokens of the level the request stands in, so the draft is the published document again.

Takes no flags.

foir settings discard-locale-draft

Throw away a locale’s unpublished changes, so it is again what production is served.

FlagType
--idstringrequired

foir settings discard-login-page-draft

Throw away a sign-in page’s unpublished changes, so its draft is again what production is served.

FlagType
--relying-party-idstringrequired

foir settings discard-notification-category-draft

Throw away a notification category’s unpublished changes, so it is again what production is served.

FlagType
--idstringrequired

foir settings discard-variant-catalog-entry-draft

Throw away a variant catalogue entry’s unpublished changes, so it is again what production is served.

FlagType
--idstringrequired

foir settings get-context-dimension

Fetch a context dimension by id, with whether its definition is published and what a release would change.

FlagType
--idstringrequired

foir settings get-context-dimension-version

Fetch one revision of a context dimension, with the definition it held.

FlagType
--idstringrequired

foir settings get-design-token-version

Fetch one revision of the design tokens the request is served, with the document it held.

FlagType
--idstringrequired

foir settings get-design-tokens

Fetch the design tokens of the level the request stands in, with whether the draft is published and what a release would change.

FlagType
--channelstringrequired; one of SCHEMA_CHANNEL_UNSPECIFIED, SCHEMA_CHANNEL_PUBLISHED, SCHEMA_CHANNEL_DRAFT

foir settings get-locale

Fetch a locale by id, by its code, or the default where the request stands.

FlagType
--idstringone of ref
--codestringone of ref
--default-localebooleanone of ref

foir settings get-locale-chains

Report how the resolver will route each locale, so a console does not have to work it out.

FlagType
--localesstringrepeatable
--draftsjsonrepeatable

foir settings get-login-page

Read a sign-in page: what a level or an app sets, what is in force there, where each field comes from, and the page as the sign-in shows it.

FlagType
--relying-party-idstringrequired
--channelstringrequired; one of SCHEMA_CHANNEL_UNSPECIFIED, SCHEMA_CHANNEL_PUBLISHED, SCHEMA_CHANNEL_DRAFT

foir settings get-login-page-version

Fetch one saved version of a sign-in page, with the page it held.

FlagType
--relying-party-idstringrequired
--idstringrequired

foir settings get-nav-preferences

Fetch the nav preferences.

Takes no flags.

foir settings get-note

Fetch a note by id.

FlagType
--idstringrequired

foir settings get-notification-category

Fetch a notification category by id.

FlagType
--idstringrequired

foir settings get-project-schema

Fetch the whole project schema in one call, for building the GraphQL surface.

FlagType
--channelstringrequired; one of SCHEMA_CHANNEL_UNSPECIFIED, SCHEMA_CHANNEL_PUBLISHED, SCHEMA_CHANNEL_DRAFT

foir settings get-release

Fetch one release: what it carries, where it has got to, and each record version’s outcome.

FlagType
--idstringrequired

foir settings get-resolution-stats

Fetch the resolution stats.

FlagType
--record-idstringrequired
--window-daysnumberrequired

foir settings get-variant-catalog-entry

Fetch a variant catalog entry by id.

FlagType
--idstringrequired

foir settings list-audit-logs

List audit logs.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber
--platformbooleanrequired

foir settings list-context-dimension-values

List the values a context dimension can take.

FlagType
--dimension-idstringone of dimension
--dimension-keystringone of dimension
--searchstring
--afterstring
--beforestring
--firstnumber
--lastnumber

foir settings list-context-dimension-versions

List context dimension versions.

FlagType
--context-dimension-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber

foir settings list-context-dimensions

List context dimensions.

FlagType
--searchstring
--afterstring
--beforestring
--firstnumber
--lastnumber

foir settings list-design-token-versions

List the revisions of the design tokens the request is served, newest first.

FlagType
--afterstring
--beforestring
--firstnumber
--lastnumber

foir settings list-editor-configs

List the editor configurations that place an app’s editor on a model’s fields.

FlagType
--model-idstringone of model
--model-keystringone of model

foir settings list-locales

List locales.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir settings list-login-page-versions

List the saved versions of a sign-in page, newest first.

FlagType
--relying-party-idstringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber

foir settings list-my-mentions

List the caller’s own mentions.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir settings list-notes

List notes.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber
--order-bystring

foir settings list-notification-categories

List notification categories.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir settings list-recently-opened

List what the caller opened recently.

FlagType
--afterstring
--beforestring
--firstnumber
--lastnumber

foir settings list-releases

List the project’s releases, scheduled ones included, newest first.

FlagType
--limitnumber
--statestringone of RELEASE_STATE_UNSPECIFIED, RELEASE_STATE_SCHEDULED, RELEASE_STATE_RELEASED, RELEASE_STATE_CANCELLED, RELEASE_STATE_FAILED, RELEASE_STATE_RUNNING, RELEASE_STATE_PAUSED
--record-idstring
--with-contentbooleanrequired

foir settings list-variant-catalog

List variant catalogue entries.

FlagType
--wherejson
--afterstring
--beforestring
--firstnumber
--lastnumber

foir settings pause-release

Hold a scheduled or running release where it is. What has gone out stays out.

FlagType
--idstringrequired

foir settings publish-release

Release pending drafts and record versions to production, now or at a time, or roll a release back. With validate_only it answers what the release would carry and changes nothing.

FlagType
--itemsjsonrepeatable
--rollback-ofstring
--atjson
--release-idstring
--namestring
--descriptionstring
--validate-onlybooleanrequired

foir settings remove-recently-opened

Take one entry out of the recently-opened list, or empty it.

FlagType
--typestringrequired
--idstringrequired
--allbooleanrequired

foir settings restore-context-dimension-version

Restore a context dimension version.

FlagType
--version-idstringrequired
--change-descriptionstring

foir settings restore-design-token-version

Roll the draft design tokens back to an earlier revision, as a new revision.

FlagType
--version-idstringrequired
--change-descriptionstring

foir settings restore-login-page-version

Make a saved version of a sign-in page its draft again. A release publishes it.

FlagType
--relying-party-idstringrequired
--version-idstringrequired

foir settings resume-release

Let a paused release go on: at its time if that is still to come, and now if it has passed.

FlagType
--idstringrequired

foir settings retry-release

Try again the record versions a release failed to put out or take out.

FlagType
--idstringrequired

foir settings search-notes

Search notes.

FlagType
--querystringrequired
--afterstring
--beforestring
--firstnumber
--lastnumber
--subject-typestring
--subject-model-idstringone of subject_model
--subject-model-keystringone of subject_model
--modestring

foir settings track-recently-opened

Record that the caller opened something, for the recently-opened list.

FlagType
--typestringrequired
--idstringrequired
--labelstringrequired
--pathstringrequired

foir settings unpublish-context-dimension

Withdraw a context dimension from the published surface now, as a release that can be rolled back. It stays withdrawn until a release names it.

FlagType
--idstringrequired

foir settings unpublish-design-tokens

Withdraw the project’s design token set from the published surface now, as a release that can be rolled back. It stays withdrawn until a release names it.

Takes no flags.

foir settings unpublish-locale

Withdraw a locale from the published surface now, as a release that can be rolled back. It stays withdrawn until a release names it.

FlagType
--idstringrequired

foir settings unpublish-login-page

Withdraw a sign-in page from what production is served now, as a release that can be rolled back. The sign-in shows the page above it until a release names it again.

FlagType
--relying-party-idstringrequired

foir settings unpublish-notification-category

Withdraw a notification category from the published surface now, as a release that can be rolled back. It stays withdrawn until a release names it.

FlagType
--idstringrequired

foir settings unpublish-variant-catalog-entry

Withdraw a variant catalogue entry from the published surface now, as a release that can be rolled back. It stays withdrawn until a release names it.

FlagType
--idstringrequired

foir settings update-context-dimension

Update a context dimension.

FlagType
--idstringrequired
--namestring
--descriptionstring
--source-model-idstringone of source_model
--source-model-keystringone of source_model
--default-record-idstringone of default_record
--default-record-keystringone of default_record
--evaluation-rulesjson

foir settings update-design-tokens

Replace the draft design tokens, answering with the content each removed typography token is still used in. With validate_only, check the document and answer that without saving.

FlagType
--documentjson
--validate-onlybooleanrequired

foir settings update-locale

Update a locale.

FlagType
--idstringrequired
--display-namestring
--native-namestring
--is-defaultboolean
--is-activeboolean
--is-rtlboolean
--fallback-localestring

foir settings update-login-page

Save a sign-in page’s draft, for the level the request stands in or for one app. A release publishes it.

FlagType
--relying-party-idstringrequired
--pagejsonone of body
--configjsonone of body
--snapshot-onlybooleanrequired

foir settings update-mention

Update a mention: its status, when it is owed, or both.

FlagType
--idstringrequired
--statusstring
--completed-notestring
--dismiss-reasonstring
--due-datejson
--clear-due-datebooleanrequired

foir settings update-nav-preferences

Update the nav preferences.

FlagType
--preferencesjson
--toggle-project-idstring
--toggle-nav-itemstring
--toggle-sectionstring

foir settings update-note

Update a note.

FlagType
--idstringrequired
--contentjson
--is-resolvedboolean
--resolution-notestring
--assignee-idstring
--due-datejson
--clear-due-dateboolean

foir settings update-notification-category

Update a notification category.

FlagType
--idstringrequired
--display-namestring
--descriptionstring
--is-activeboolean
--email-policystringone of CHANNEL_POLICY_UNSPECIFIED, CHANNEL_POLICY_DEFAULT_ON, CHANNEL_POLICY_DEFAULT_OFF, CHANNEL_POLICY_REQUIRED
--push-policystringone of CHANNEL_POLICY_UNSPECIFIED, CHANNEL_POLICY_DEFAULT_ON, CHANNEL_POLICY_DEFAULT_OFF, CHANNEL_POLICY_REQUIRED
--in-app-policystringone of CHANNEL_POLICY_UNSPECIFIED, CHANNEL_POLICY_DEFAULT_ON, CHANNEL_POLICY_DEFAULT_OFF, CHANNEL_POLICY_REQUIRED
--opt-in-confirmationstringone of OPT_IN_CONFIRMATION_UNSPECIFIED, OPT_IN_CONFIRMATION_NONE, OPT_IN_CONFIRMATION_EMAIL

foir settings update-release

Change a scheduled release: its name, its time, or what it carries. A time now carries it out now.

FlagType
--idstringrequired
--namestring
--descriptionstring
--atjson
--itemsjsonrepeatable
--update-itemsbooleanrequired

foir settings update-variant-catalog-entry

Update a variant catalog entry.

FlagType
--idstringrequired
--namestring
--descriptionstring
--targeting-rulesjson
--prioritynumber
--is-defaultboolean
--is-activeboolean

foir storage

foir storage cleanup-orphaned-files

Remove uploaded files no record references any more.

FlagType
--orphan-threshold-daysnumberrequired
--validate-onlybooleanrequired
--limitnumberrequired
--trash-retention-daysnumberrequired

foir storage delete-file

Delete a file.

FlagType
--idstringrequired

foir storage get-file

Fetch a file by id.

FlagType
--idstringrequired

foir storage get-usage

Report how much storage the project is using.

Takes no flags.

foir storage list-files

List files.

FlagType
--wherejson
--include-deletedbooleanrequired
--afterstring
--beforestring
--firstnumber
--lastnumber
--only-deletedbooleanrequired

foir storage purge-file

Purge one file from the trash, or everything in it. The bytes go, and this cannot be undone.

FlagType
--idstringrequired
--everything-in-trashbooleanrequired

foir storage retry-file-generation

Re-enqueue generation of a single derived asset for a video file.

FlagType
--file-idstringrequired
--assetstringrequired; one of FILE_ASSET_KIND_UNSPECIFIED, FILE_ASSET_KIND_THUMBNAIL, FILE_ASSET_KIND_PREVIEW, FILE_ASSET_KIND_HLS
--idempotency-keystringrequired

foir storage undelete-file

Bring a deleted file back from the trash.

FlagType
--idstringrequired

foir storage update-file

Update a file.

FlagType
--idstringrequired
--filenamestring
--folderstring
--tagsstringrepeatable
--statusstringone of FILE_STATUS_UNSPECIFIED, FILE_STATUS_PENDING, FILE_STATUS_PROCESSING, FILE_STATUS_READY, FILE_STATUS_FAILED, FILE_STATUS_SKIPPED, FILE_STATUS_NOT_ENTITLED
--metadatajson
--alt-textstring
--captionstring
--descriptionstring

foir storage upload-file

Upload a file. The answer says where to send its bytes, and a door’s client sends them and waits for the file.

FlagType
--filenamestringrequired
--mime-typestringrequired
--sizenumberrequired
--folderstring
--metadatajson
--visibilitystringrequired; one of VISIBILITY_UNSPECIFIED, VISIBILITY_PRIVATE, VISIBILITY_PUBLIC
Last updated on