Skip to main content
Open Workspace settings in the sidebar. It has three tabs: General, Agents and API keys. Everyone can open it; changing things is for owners and admins.

General

  • Workspace name, then Save name (owners and admins).
  • Delete workspace… (owner only; see Team and invites).

Agents

Every agent in the workspace, with a shortcut to create one. Agent settings are covered in Agents.

API keys

An automation needs two values: an agent ID (which queue to ask in) and a workspace API key (proof it’s yours). One key works for every agent in the workspace.

Create a key

1

Open API keys

Workspace settings → API keys, or API keys at the bottom of the sidebar. Owners and admins only; members see “API keys are managed by owners and admins”.
2

Label it

Enter a Key label you’ll recognise later (for example “n8n production”) and click Create key.
3

Copy it now

The full key (it starts with hitl_) is shown once. FinalSay stores only a hash, so it can’t show it again. Put it straight into your tool’s credential store, a password manager, or an environment variable such as FINALSAY_API_KEY.
The list shows each key’s prefix, when it was created and last used, and whether it’s Active or Revoked.

Revoke a key

Click Revoke. Requests with that key fail with 401 invalid_api_key immediately, so create and roll out the replacement first. Lost a key? Revoke it and create a new one.

Keep keys safe

  • Use one key per tool or environment, so you can revoke one without breaking the rest.
  • Never commit keys to source control, paste them into prompts, or put them in a URL.
  • The CLI has no flag for the key on purpose, so it stays out of shell history.

Using the key

Send both headers on every approval request:
GET /v1/agents needs only X-Api-Key and lists the agents the key can use. n8n, Zapier and the CLI use it to let you pick an agent from a list. The base URL is https://api.finalsay-hitl.com. The CLI, n8n and Zapier have it built in. See the API overview.