メインコンテンツへスキップ

Documentation Index

Fetch the complete documentation index at: https://docs.llmgenerator.com/llms.txt

Use this file to discover all available pages before exploring further.

GET /api-keys/

1 つの API キーの詳細を返します。セキュリティのためキー値の全文は含みません。

パスパラメーター

keyId
string
必須
取得する API キーの ID。

レスポンス

id
string
API キーの一意な識別子。
name
string
ユーザーが付けたキーの名称。
keyPreview
string
マスクされたキーのプレビュー(例: llm_1234...abcd)。
isActive
boolean
キーが有効で使用可能かどうか。
lastUsedAt
string
最終利用日時の ISO 8601 タイムスタンプ。
createdAt
string
作成日時の ISO 8601 タイムスタンプ。
curl -X GET https://api.llmgenerator.com/api/v1/api-keys/llm_1706123456_abc123def456 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "llm_1706123456_abc123def456",
  "name": "Production Key",
  "keyPreview": "llm_1706...f456",
  "description": null,
  "permissions": [],
  "isActive": true,
  "lastUsedAt": "2026-01-20T15:30:00.000Z",
  "expiresAt": null,
  "createdAt": "2026-01-01T10:00:00.000Z"
}