1Password API guide

1password.com

Review accessible 1Password vaults, flag stale items, check policy for a secret reference, and plan least-privilege vault access.

Actions and inputs

access scope

Summarize accessible vaults and item counts by category without showing secret values.

audit stale

Flag potentially stale items using metadata.

Inputs Age threshold in days

policy check

Check a secret reference against applicable policy rules.

Inputs Secret reference, optional exact-reference requirement

agent grant-plan

Suggest the minimum vault permissions a service account needs for a task.

Inputs Task description

Vault inventory notes

Create

Create a Secure Note for non-secret inventory metadata in a vault you administer.

Inputs Vault, note title, ownership or review details, and optional tags

Read

Review the note's title, tags, and modification date without revealing secret values.

Inputs Vault and item name or ID

Update

Update the inventory note's title or tags without touching credentials or access grants.

Inputs Vault, item ID, and revised title or tags

Delete

Archive the obsolete inventory note without permanently deleting it.

Inputs Vault, item ID, and confirmation