API キー管理 API
Roboflow REST API、roboflow api-key CLI、またはMCPサーバーを使って、ワークスペースAPIキーを作成、一覧表示、更新、保護、無効化、ロール、取り消しできます。
ワークスペースの API キーはコードで管理できます。キーの作成、一覧表示と確認、名前変更、メタデータの追加、ローテーション スケジュールの設定、無効化、保護、ロール、取り消しが可能です。ダッシュボードで同じ操作を行うには、次を参照してください。 ダッシュボードで API キーを管理する.
この roboflow api-key CLI および Roboflow MCP サーバー は同じエンドポイントを使用するため、誰かがダッシュボードからコピーしなくても、エージェントがアプリケーションに必要なキーを作成できます。
HTTP API
認証
他のすべてのエンドポイントと同様に(次を参照)、プライベート API キーを api_key クエリ パラメータまたは Authorization: Bearer ヘッダーとして送信します(次を参照: REST API で認証する)。キーはパス内のワークスペースに属している必要があります。以下の各エンドポイントには、必要な スコープ が記載されています。スコープなし(フルアクセス)のキーには、そのすべてがあります。
ユーザーとして動作する OAuth トークンでは、ユーザーのロールもその操作を許可している必要があります。デフォルトでは、ワークスペースの所有者と管理者のみが API キーを管理できます。スコープ付きキーまたは OAuth トークンは、呼び出し元がすでに持っている権限のみを付与できます(次を参照: 権限サブセット ルール).
API キーを一覧表示する
ワークスペースのマスクされたキーと、ワークスペースの公開可能キーを一覧表示します。 includeDisabled=true.
Lists the workspace's API keys with masked metadata, and returns the workspace publishable key. Requires api-key:read. With an OAuth token, the user's role must allow viewing workspace API keys (owners and admins by default).
Roboflow API key or OAuth access token.
Workspace URL slug.
Set to true to include disabled keys.
falseSet to true to add folder names (folders) to folder-scoped keys.
falseSuccessful response.
The workspace publishable key, rf_ followed by the workspace id.
The request is invalid.
Authentication is missing or invalid.
The OAuth user's role does not allow viewing API keys.
The credential lacks the route's scope or the workspace is not the credential's.
The request rate is too high.
GET /{workspace}/api-keys HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"apiKeys": [
{
"keyId": "9f8c1a2b3d4e5f60",
"name": "production-server",
"prefix": "abcd",
"scopes": [
"model:infer"
],
"folderIds": [],
"default": false,
"protected": true,
"disabled": false,
"created_on": "2026-06-19T18:24:01.000Z",
"rotationDueAt": "2027-06-19T12:00:00.000Z",
"owners": [
"user_abc123"
],
"created_by": "user_abc123",
"customMetadata": {
"env": "prod"
}
}
],
"publishableKey": "text"
}単一の API キーを取得する
1 つのキーについて、そのキーの keyId.
Returns masked metadata for one key. Requires api-key:read.
Roboflow API key or OAuth access token.
Workspace URL slug.
The key's keyId handle, from the list response. Never the secret key value.
9f8c1a2b3d4e5f60Successful response.
The request is invalid.
Authentication is missing or invalid.
The OAuth user's role does not allow reading API keys.
No active key with that keyId in the workspace (including one that was already rolled or revoked), or the credential lacks the route's scope, or the workspace is not the credential's. A folder-scoped caller also gets 404 for a key outside its folders.
The request rate is too high.
GET /{workspace}/api-keys/{keyId} HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"apiKey": {
"keyId": "9f8c1a2b3d4e5f60",
"name": "production-server",
"prefix": "abcd",
"scopes": [
"model:infer"
],
"folderIds": [],
"default": false,
"protected": true,
"disabled": false,
"created_on": "2026-06-19T18:24:01.000Z",
"rotationDueAt": "2027-06-19T12:00:00.000Z",
"owners": [
"user_abc123"
],
"created_by": "user_abc123",
"customMetadata": {
"env": "prod"
}
}
}API キーを作成する
次を省略すると、キーを作成します: scopes 。新しいキーには、エンドポイントを呼び出す認証情報と同じアクセス権が付与されます。これはすべてのプランで機能するため、ワークスペースに Advanced API Keys があるかどうかにかかわらず、スクリプトは同じように動作します。
Creates an API key and returns its secret once in key. Requires api-key:create. The new key can never have more scopes or folders than the caller. Sending a scopes array, folderIds, customMetadata, rotationDueAt or owners requires Advanced API Keys; omitting scopes or sending null does not.
Roboflow API key or OAuth access token.
Workspace URL slug.
Every field is optional. An empty body creates a key with the caller's own scopes and folders. Unknown fields return 400.
Display name for the key.
Limits the key to these scopes. Omitted: the key gets the calling credential's own scopes, on every plan. A full-access caller creates a full-access key. null: an unscoped (full-access) key. The caller must have full access itself. []: a valid key with no abilities, which you can grant scopes to later. A list: exactly those scopes. A section name (ex: model) grants all of that section's scopes. A role preset (ex: role:reviewer, or a custom role's name after role:) expands to that role's scopes, and role:owner means full access. Presets combine with explicit scopes. Sending an array (including []) requires Advanced API Keys.
["model:infer"]Limits the key to these project folders. Omitted, the key gets the caller's folders. A key for every folder needs a caller who can see every folder. A non-empty list requires Advanced API Keys.
Creates the key protected. See Protecting a Key.
Rotation due date as an ISO date or date-time (UTC), strictly in the future (ex: 2027-10-22). The owners get one reminder email in the 15 days before it. Requires Advanced API Keys.
2027-10-22Member ids to remind before rotationDueAt. Omitted while signed in with Advanced API Keys, you become the only owner if you can roll the key yourself from an enabled account with an email address. Omitted with an API key, the list stays empty. Each id must be a member who can roll the key (see List Owner Candidates). An empty list reminds everyone who can roll the key. Requires Advanced API Keys.
Created.
The new key's non-secret handle.
The secret key value. Returned only in this response. Store it now: no endpoint returns it again.
Display name.
Stored scopes, after role presets and sections expand. null for a full-access key.
Folders the key is limited to.
True when the key is protected.
Rotation due date, or null.
Member ids reminded before the due date.
The workspace publishable key.
The body is invalid (ex: an unknown scope or role, an unknown field, malformed metadata, a past due date).
Authentication is missing or invalid.
The request asks for scopes or folders the caller does not hold, the plan lacks Advanced API Keys for a field you sent, or an OAuth caller's role does not allow the action.
The credential lacks the route's scope or the workspace is not the credential's. Also returned when a folderIds entry does not exist.
The request rate is too high.
POST /{workspace}/api-keys HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"name": "production-server",
"scopes": [
"model:infer"
],
"rotationDueAt": "2027-10-22",
"owners": [
"user_abc123"
]
}{
"keyId": "9f8c1a2b3d4e5f60",
"key": "AbCdEf0123456789xyz",
"name": "production-server",
"scopes": [
"model:infer"
],
"folderIds": [],
"protected": false,
"rotationDueAt": "2027-10-22T00:00:00.000Z",
"owners": [
"user_abc123"
],
"publishableKey": "rf_5f3Tq8k2ZbW1aXyZ"
}API キーを更新する
キーの名前、スコープ、メタデータ、ローテーション スケジュールを変更し、保護したり、無効化または再有効化したりします。変更したいフィールドだけを送信してください。 scopes, customMetadata および owners は現在の値を置き換えます。
Updates a key's name, scopes, metadata or rotation schedule, protects it, or disables or re-enables it. Requires api-key:update. Changing scopes, metadata, disabled, rotationDueAt or owners requires Advanced API Keys.
Roboflow API key or OAuth access token.
Workspace URL slug.
The key's keyId handle, from the list response. Never the secret key value.
9f8c1a2b3d4e5f60Send only the fields you want to change. Omitted fields stay as they are. An empty body or an unknown field returns 400.
New display name. Renaming needs no plan feature.
Replaces the key's scopes. null makes the key full access (the caller must have full access). [] leaves a valid key with no abilities. A list sets exactly those scopes; section names and role: presets expand as on create. The new scopes must be a subset of the caller's. Refused with 409 on a protected key. Requires Advanced API Keys.
["model:infer","project:read"]Send true to protect the key. false returns 403: you can only unprotect a key in the dashboard.
true disables the key, false re-enables it. Disabling a protected key, or a key that backs a Dedicated Deployment, returns 409. Requires Advanced API Keys.
Rotation due date as an ISO date or date-time (UTC), strictly in the future (ex: 2027-10-22). The owners get one reminder email in the 15 days before it. null clears it. The key's current date is accepted even when it is already past. Requires Advanced API Keys.
Replaces the members reminded before the due date. Each id must be a member who can roll the key (see List Owner Candidates). An empty list reminds everyone who can roll the key. Requires Advanced API Keys.
Successful response.
The body is empty or invalid (ex: an unknown scope, an unknown field, a past due date).
Authentication is missing or invalid.
The body sends "protected": false, asks for scopes the caller cannot grant, needs Advanced API Keys, or an OAuth caller's role does not allow the action.
No active key with that keyId in the workspace (including one that was already rolled or revoked), or the credential lacks the route's scope, or the workspace is not the credential's. A folder-scoped caller also gets 404 for a key outside its folders.
The key is protected and cannot be disabled or given new scopes, or it backs a Dedicated Deployment and cannot be disabled.
The request rate is too high.
PATCH /{workspace}/api-keys/{keyId} HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"name": "renamed-key"
}{
"apiKey": {
"keyId": "9f8c1a2b3d4e5f60",
"name": "production-server",
"prefix": "abcd",
"scopes": [
"model:infer"
],
"folderIds": [],
"default": false,
"protected": true,
"disabled": false,
"created_on": "2026-06-19T18:24:01.000Z",
"rotationDueAt": "2027-06-19T12:00:00.000Z",
"owners": [
"user_abc123"
],
"created_by": "user_abc123",
"customMetadata": {
"env": "prod"
}
}
}API キーを取り消す
キーを完全に取り消します。それを使用するアプリケーションは直ちに認証に失敗します。
Dedicated Deployment を支えるキーは取り消せません。先にデプロイメントに別のキーを割り当てるか、代わりにキーをロールしてください。他にこの呼び出しを妨げるものはないため、ダッシュボードの 依存関係の警告 と独自のコンシューマーを先に確認してください。監査ログには、取り消し時点でキーが持っていた依存関係とともに取り消しが記録されます。キーの推論トラフィックや読み取りトラフィックは記録されないため、まだキーを使用しているユーザーを特定することはできません。
Revokes the key permanently. Anything that uses it fails to authenticate at once. Requires api-key:revoke.
Roboflow API key or OAuth access token.
Workspace URL slug.
The key's keyId handle, from the list response. Never the secret key value.
9f8c1a2b3d4e5f60Successful response.
The keyId you sent.
The request is invalid.
Authentication is missing or invalid.
The OAuth user's role does not allow revoking API keys.
No active key with that keyId in the workspace (including one that was already rolled or revoked), or the credential lacks the route's scope, or the workspace is not the credential's. A folder-scoped caller also gets 404 for a key outside its folders.
The key is protected, or it backs a Dedicated Deployment. Unprotect it in the dashboard, or give the deployment another key or roll the key instead.
The request rate is too high.
DELETE /{workspace}/api-keys/{keyId} HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"status": "revoked",
"keyId": "9f8c1a2b3d4e5f60"
}API キーをロールする
1 回の呼び出しでキーを取り消し、その置換キーを作成します。古いキーで実行されている Dedicated Deployment は新しいキーに移行します。 API キーをローテーションする を参照し、ロールするタイミングと事前に確認すべき項目を確認してください。
デプロイメントを移行できない場合、呼び出しは次のメッセージで失敗します: The API key was not rolled (409、423、または 502)。古いキーは有効なままです。同じ名前の置換キーが作成され、有効なままになっている可能性があるため、再試行する前にキーを一覧表示してください。
置換キーには新しい keyIdが付与され、その後は古いキーとの関連付けはありません。 keyId および revokedKeyId をレスポンスから保存しておくと、ローテーションを追跡できます。呼び出しが返るとすぐに古いキーは機能しなくなります。
Revokes the key and creates its replacement in one call, and returns the new secret once in key. The replacement keeps the key's name, scopes, folders, metadata and disabled state, and Dedicated Deployments on the key move to it. Requires both api-key:revoke and api-key:create, and the caller must hold at least the key's scopes and folders.
Roboflow API key or OAuth access token.
Workspace URL slug.
The key's keyId handle, from the list response. Never the secret key value.
9f8c1a2b3d4e5f60Optional rotation schedule for the replacement. Send no body to carry the old key's schedule over. Both fields require Advanced API Keys.
The replacement's rotation due date (ISO date or date-time, UTC, in the future), or null for none. Omitted, the replacement is due the same number of days after the roll as the old key was after its creation, up to one year. A key without a date stays without one.
The replacement's owners. Omitted, the old key's owners carry over. An empty list reminds everyone who can roll the key.
Successful response.
The replacement's new handle. Nothing links it to the old key afterwards, so store both ids if you need to trace the rotation.
The replacement's secret value. Returned only in this response.
Display name, kept from the old key.
Scopes, kept from the old key. null for full access.
Folders, kept from the old key.
Always false: a protected key cannot be rolled.
True when the old key was disabled. A disabled key rolls to a disabled key.
The replacement's rotation due date, or null.
The replacement's owners.
The keyId of the key that was revoked.
The body is invalid (ex: an unknown field or a past due date).
Authentication is missing or invalid.
The caller cannot grant the key's scopes or folders, the plan lacks Advanced API Keys for a field you sent, or an OAuth caller's role does not allow the action.
No active key with that keyId in the workspace (including one that was already rolled or revoked), or the credential lacks the route's scope, or the workspace is not the credential's. A folder-scoped caller also gets 404 for a key outside its folders. A second roll of the same keyId gets this once the first roll has finished.
The key is protected, another roll of it is in progress, it is disabled while it backs a Dedicated Deployment, or a Dedicated Deployment on it is still being created. The key was not rolled.
A Dedicated Deployment on the key belongs to a folder whose usage is paused, so it could not be moved. The key was not rolled.
The request rate is too high.
The deployment service failed while moving a Dedicated Deployment. The key was not rolled, but a replacement with the same name may exist. The error sets "retryable".
POST /{workspace}/api-keys/{keyId}/roll HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 55
{
"rotationDueAt": "2027-10-22",
"owners": [
"user_abc123"
]
}{
"keyId": "0a1b2c3d4e5f6071",
"key": "NewSecretValue0123456789",
"name": "production-server",
"scopes": [
"model:infer"
],
"folderIds": [],
"protected": false,
"disabled": false,
"rotationDueAt": "2027-10-22T12:00:00.000Z",
"owners": [
"user_abc123"
],
"revokedKeyId": "9f8c1a2b3d4e5f60"
}所有者候補を一覧表示する
キーをロールできるメンバーを一覧表示します。キーの owners になれるのはこれらのメンバーだけです。作成、更新、またはロール時に ownersを設定する前に呼び出してください。そうすることで、 ローテーション リマインダー が対応できる人に届きます。
Lists the members who can roll a key, which are the only members you can set as its owners. Requires api-key:create or api-key:update, and Advanced API Keys. You must be able to grant the key's folders.
Roboflow API key or OAuth access token.
Workspace URL slug.
The keyId of an existing key. Do not send with folderIds.
9f8c1a2b3d4e5f60Folder ids for a key you are about to create, comma-separated or repeated. Do not send with keyId. Send neither for a key that reaches every folder, which needs a caller who can see every folder.
folderA,folderBSuccessful response.
Both keyId and folderIds were sent.
Authentication is missing or invalid.
The plan lacks Advanced API Keys, the caller cannot grant the folders, or an OAuth caller's role does not allow the action.
No active key with that keyId in the workspace (including one that was already rolled or revoked), or the credential lacks the route's scope, or the workspace is not the credential's. A folder-scoped caller also gets 404 for a key outside its folders.
The request rate is too high.
GET /{workspace}/api-keys/owner-candidates HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"members": [
{
"uid": "user_abc123",
"email": "ada@example.com",
"name": "Ada"
}
]
}キーを保護する
保護されたキーは、誰かが保護を解除するまで、API、CLI、MCP サーバー、またはダッシュボードから無効化、取り消し、ロールできず、スコープも変更できません。自動エージェントが誤って本番キーを停止させないために使用します。
保護:
{ "protected": true }を次に送信します: API キーを更新する.保護解除: ダッシュボードでのみ可能です。API、CLI、MCP サーバーではキーの保護を解除できないため、侵害されたエージェントや不注意なエージェントが保護を解除してからキーを取り消すことはできません。
公開可能キー
すべてのワークスペースには、次の形式の公開可能キーがあります: rf_<workspaceId>。これは次のとおりです。
シークレットではない:ブラウザー コードに配置できます(例: inferencejs).
推論とモデルのダウンロードに限定される:データ管理、トレーニング、キー管理はできません。
永続的:ワークスペース ID から生成されるため、作成、ローテーション、取り消しはできません。
一覧および作成レスポンスには、これが publishableKeyとして含まれます。または、単独で読み取ることもできます:
Returns the workspace publishable key. Requires workspace:read. A folder-scoped key gets 404: read publishableKey from the list or create response instead.
Roboflow API key or OAuth access token.
Workspace URL slug.
Successful response.
rf_ followed by the workspace id. Not a secret: it can only run inference and download models.
The request is invalid.
Authentication is missing or invalid.
The credential does not have access to this resource.
The credential lacks the route's scope or the workspace is not the credential's. Also returned for a folder-scoped credential.
The request rate is too high.
GET /{workspace}/api-keys/publishable HTTP/1.1
Host: api.roboflow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"publishableKey": "rf_5f3Tq8k2ZbW1aXyZ"
}ブラウザーおよびエッジでの推論には公開可能キーを、サーバー処理にはスコープ付きプライベート キーを使用してください。公開可能キーを持つ人は誰でも、ワークスペースのモデルを使用した推論とダウンロードができます。これが意図されたトレードオフです。
権限サブセット ルール
作成または更新するキーは、それを作成する認証情報より多くの権限を持つことはできません:
スコープ付きプライベート キーでは、新しいキーの
scopesは呼び出し元キーのスコープのサブセットである必要があり、そのfolderIdsは呼び出し元キーのフォルダーのサブセットである必要があります。スコープなし(フルアクセス)のキーは、あらゆる権限を付与できます。ユーザーとして動作する OAuth トークンでは、要求されたスコープもそのユーザーのロールに照らして確認されます。自分のロールが許可する権限のみを付与できます。
すべてのフォルダーを対象とするキー(
folderIdsなし)には、すべてのフォルダーを閲覧できるユーザーが必要です。All Folder Access を持たないワークスペース所有者は、キーがアクセスできるフォルダーを一覧指定する必要があります。これは Web アプリでキーを作成する場合にも適用されます。
呼び出し元が付与できる範囲を超えるリクエストは、次を返します: 403.
エラー
上記の各エンドポイントにはエラー ステータスが記載されています。すべてに共通して次の 2 点が適用されます:
ルートのスコープを持たない認証情報は、
404を取得します。403ではありません。これは、リソースが存在するかどうかを Roboflow が明らかにしないためです。403は、呼び出し元がキーを管理できるものの持っている以上の権限を要求した、またはプランに Advanced API Keys がないことを意味します。エラー本文には 2 つの形式があります。ほとんどのエラーは文字列を返します:
{"error": "Some message"}。認証レイヤーは、オブジェクトを返します:{"error": {"message": "...", "type": "...", "hint": "..."}}。これはキーがないか無効な場合(401)と、スコープがないかワークスペースが間違っている場合(404)に返されます。両方を処理してください。
次を参照してください: エラーとステータス コード :一般的なエラー形式について。
CLI
この roboflow api-key コマンド グループを使用すると、ターミナルからワークスペースの API キーを管理できます。これは API キー REST エンドポイント をラップし、CLI 設定のワークスペースと認証情報を使用します(次を参照: CLI をインストールしてセットアップする).
list
ワークスペースの API キーを一覧表示します。
get
1 つのキーの詳細を表示します。
create
新しいキーを作成します(シークレットは一度だけ出力されます)。
update
キーの名前、スコープ、メタデータ、またはローテーション スケジュールを更新します。
protect
キーを保護済みとしてマークします。
disable
キーを無効化または再有効化します。
revoke
キーを完全に取り消します。
roll
キーを取り消し、その置換キーを作成します(新しいシークレットは一度だけ出力されます)。
publishable
ワークスペースの公開可能キーを出力します。
追加: --json (コマンドの前に指定するグローバル フラグ)を指定すると、スクリプト用の機械可読出力を取得できます。例: roboflow --json api-key list.
キーを一覧表示する
1 つのキーを取得する
キーは、その keyId (次に表示される非シークレット ハンドル)で指定します: list):
キーを作成する
シークレットは一度だけ出力されます。スクリプトで取得するには、 --json を使用し、次へパイプします: jq:
キーを更新する
--scope は、キーの既存スコープを指定したセットに完全に置き換え、 --metadata はキーのメタデータを置き換え、 --owner はその所有者を置き換えます。 --clear-owners を指定するとリストは空になり、キーをロールできる全員に通知されます。 --name だけを指定すると、残りに触れずに名前を変更できます。
キーを保護/保護解除する
保護されたキーは、CLI、API、または MCP 経由では無効化、取り消し、ロールできません。保護解除は ダッシュボードでのみ行えます。意図的に unprotect コマンドは存在しないため、自動ワークフローが安全措置を解除して、本番キーを一度に取り消すことはできません。
キーを無効化/再有効化する
無効化されたキーは API から拒否されますが、再有効化できます。保護されたキーは無効化できません。
キーを取り消す
取り消しは永続的です。保護されたキーは CLI から取り消せません。先にダッシュボードで保護を解除してください。Dedicated Deployment を支えるキーは、デプロイメントに別のキーが割り当てられるまで取り消せません。
キーをロールする
ロールでは、1 回の操作でキーを取り消し、その置換キーを作成します。置換キーは古いキーの名前、スコープ、フォルダー、メタデータを保持し、古い値は直ちに機能しなくなります。Dedicated Deployment を置換キーに移行できない場合、コマンドは "The API key was not rolled" で失敗し、古いキーは有効なままとなります。置換キーがすでに存在する可能性があるため、次を実行してください: list 。再試行する前に、 --rotation-due-at および --owner を省略すると古いキーのスケジュールを引き継ぎます。出力から、または次の方法で新しいシークレットを取得してください: --json:
保護されたキーは CLI からロールできません。先にダッシュボードで保護を解除してください。キーは一度ロールできます。その後、その keyId は見つからなくなり、置換キーの keyId には list へのリンクは一切ないため、ロール出力から両方の ID を記録してください。 API キーをローテーションする で完全な切り替え手順を確認してください。
公開可能キーを取得する
公開可能キー(rf_<workspaceId>)はシークレットではなく、ブラウザー/ inferencejs コードに埋め込んでも安全です。推論専用であり、作成または取り消しはできません。 公開可能キー で詳細を確認してください。
MCP サーバー
AI エージェントを MCP サーバー に接続すると、次のツールで API キーを管理できます:
api_keys_list
ワークスペースのすべての API キーを一覧表示します。
api_keys_get
単一のキーのメタデータを取得します。
api_keys_get_publishable
ワークスペースの公開可能キーを取得します。
api_keys_create
新しい API キーを作成します。
api_keys_update
キーの名前、スコープ、メタデータ、またはローテーション スケジュールを更新します。
api_keys_protect
キーを保護済みとしてマークします。
api_keys_disable
キーを取り消さずに無効化または再有効化します。
api_keys_revoke
キーを完全に取り消します。
api_keys_roll
1 回の操作でキーを取り消し、その置換キーを作成します。新しいシークレットを一度だけ返します。
api_keys_owner_candidates
キーをロールできるメンバーを一覧表示します。これにより、エージェントはリマインダーが届く所有者だけを設定します。
MCP サーバーではキーの保護を解除できません。保護されたキーは、担当者がダッシュボードで保護を解除するまで保護されたままです。
api_keys_create および api_keys_roll は新しいシークレットをエージェントに返すため、そのエージェントの会話とログに残ります。これらの記録は機密情報として扱うか、代わりにダッシュボードからキーを作成してください。
最終更新
役に立ちましたか?