> For the complete documentation index, see [llms.txt](https://manual.dxable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.dxable.com/1password/events-api.md).

# イベント API

#### **Subcommands** <a href="#atxw6lqayehw" id="atxw6lqayehw"></a>

* [events-api create](https://developer.1password.com/docs/cli/reference/management-commands/events-api/#events-api-create) : イベントAPIとの統合を設定する

### **events-api create** <a href="#uuuh4qtwd7ys" id="uuuh4qtwd7ys"></a>

Events API 統合トークンをCreateします。

op events-api create \<name> \[flags]

#### **Flags** <a href="#ba9ews15r9j8" id="ba9ews15r9j8"></a>

\--expires-in duration Set how the long the events-api token is valid for in

(s)econds, (m)inutes, (h)ours, (d)ays, and/or (w)eeks.

\--features features Set the comma-separated list of features the integration

token can be used for. Options: \`signinattempts\`,

\`itemusages\`, \`auditevents\`.

1Password CLI はCreate功するとトークンを出力します。

ビジネスアカウントが必要です。

#### [**例**](https://developer.1password.com/docs/cli/reference/management-commands/events-api/#events-api-create-examples) <a href="#b6cov7y9c0r9" id="b6cov7y9c0r9"></a>

1 時間で期限切れになるサインイン試行を報告するイベント API 統合をCreateします。

op events-api create SigninEvents --features signinattempts --expires-in 1h

期限切れにならないサポートされている全てのイベントを報告するイベント API 統合をCreateします。

op events-api create AllEvents
